X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_StreamDlg.h;h=06ffcf1f008327845014cc69803b11ace03ef3d5;hb=a53349567d67f4df0ef737798a25c24d9dc8f08e;hp=425f869993a39c2016459a9ac215c8f6d9bab0ff;hpb=8c70d5cb1e04edf503afb50caf735fa1c4f45b25;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_StreamDlg.h b/src/HYDROGUI/HYDROGUI_StreamDlg.h index 425f8699..06ffcf1f 100644 --- a/src/HYDROGUI/HYDROGUI_StreamDlg.h +++ b/src/HYDROGUI/HYDROGUI_StreamDlg.h @@ -1,12 +1,8 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -29,6 +25,7 @@ class QComboBox; class QGroupBox; class QLineEdit; class QListWidget; +class QPushButton; class HYDROGUI_StreamDlg : public HYDROGUI_InputPanel { @@ -44,25 +41,28 @@ public: QString getObjectName() const; void setAxisNames( const QStringList& theAxises ); + void setAxisName( const QString& thePolyline ); QString getAxisName() const; - void setSelectedProfiles( const QStringList& theProfiles ); - QStringList getSelectedProfiles() const; + void setProfiles( const QStringList& theProfiles ); signals: - void CreatePreview(); + void AddProfiles(); + void RemoveProfiles( const QStringList& ); + void AxisChanged( const QString& ); private slots: - void onStreamDefChanged(); + void onRemoveProfiles(); private: - QGroupBox* myObjectNameGroup; QLineEdit* myObjectName; - QComboBox* myAxises; + QComboBox* myAxes; QListWidget* myProfiles; + QPushButton* myRemoveButton; + QPushButton* myAddButton; }; #endif