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
another z layer for hilight presentation
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_NewSectionDlg.h
diff --git
a/src/HYDROCurveCreator/CurveCreator_NewSectionDlg.h
b/src/HYDROCurveCreator/CurveCreator_NewSectionDlg.h
index 96af4385486635a64456846215f2ed5d0007d9ab..d37ed1176ccf79bb738a23e2a651438f26e621b4 100644
(file)
--- a/
src/HYDROCurveCreator/CurveCreator_NewSectionDlg.h
+++ b/
src/HYDROCurveCreator/CurveCreator_NewSectionDlg.h
@@
-39,7
+39,7
@@
class CurveCreator_NewSectionDlg : public QWidget
{
Q_OBJECT
public:
{
Q_OBJECT
public:
- explicit CurveCreator_NewSectionDlg(QWidget *parent = 0);
+ explicit CurveCreator_NewSectionDlg(QWidget *parent = 0
, bool enableClosed = true
);
QString getName() const;
bool isClosed() const;
QString getName() const;
bool isClosed() const;
@@
-49,6
+49,7
@@
public:
void setSectionName(const QString& theName );
void clear();
void setEditMode( bool isEdit );
void setSectionName(const QString& theName );
void clear();
void setEditMode( bool isEdit );
+ bool isEnableClosed() const { return myIsEnableClosed; }
signals:
void addSection();
signals:
void addSection();
@@
-64,6
+65,7
@@
private:
QComboBox* myLineType;
QCheckBox* myIsClosed;
bool myIsEdit;
QComboBox* myLineType;
QCheckBox* myIsClosed;
bool myIsEdit;
+ bool myIsEnableClosed;
QPushButton* myAddBtn;
QPushButton* myCancelBtn;
};
QPushButton* myAddBtn;
QPushButton* myCancelBtn;
};