Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #550: fix crash when myObject is NULL
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_StreamDlg.h
diff --git
a/src/HYDROGUI/HYDROGUI_StreamDlg.h
b/src/HYDROGUI/HYDROGUI_StreamDlg.h
index 425f869993a39c2016459a9ac215c8f6d9bab0ff..06ffcf1f008327845014cc69803b11ace03ef3d5 100644
(file)
--- 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
// 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
//
// 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 QGroupBox;
class QLineEdit;
class QListWidget;
+class QPushButton;
class HYDROGUI_StreamDlg : public HYDROGUI_InputPanel
{
class HYDROGUI_StreamDlg : public HYDROGUI_InputPanel
{
@@
-44,25
+41,28
@@
public:
QString getObjectName() const;
void setAxisNames( const QStringList& theAxises );
QString getObjectName() const;
void setAxisNames( const QStringList& theAxises );
+
void setAxisName( const QString& thePolyline );
QString getAxisName() const;
void setAxisName( const QString& thePolyline );
QString getAxisName() const;
- void setSelectedProfiles( const QStringList& theProfiles );
- QStringList getSelectedProfiles() const;
+ void setProfiles( const QStringList& theProfiles );
signals:
signals:
- void CreatePreview();
+ void AddProfiles();
+ void RemoveProfiles( const QStringList& );
+ void AxisChanged( const QString& );
private slots:
private slots:
- void on
StreamDefChanged
();
+ void on
RemoveProfiles
();
private:
private:
-
QGroupBox* myObjectNameGroup;
QLineEdit* myObjectName;
QGroupBox* myObjectNameGroup;
QLineEdit* myObjectName;
- QComboBox* myAx
is
es;
+ QComboBox* myAxes;
QListWidget* myProfiles;
QListWidget* myProfiles;
+ QPushButton* myRemoveButton;
+ QPushButton* myAddButton;
};
#endif
};
#endif