X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_TwoImagesDlg.h;h=92e1799d1540d112d2d88b2b3bb8d4fe1d72abe8;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=76dbe97c99f4950445095ab25571370ea8f77bed;hpb=58dcd27e75266f5734ce96619682d2a41fb520ad;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_TwoImagesDlg.h b/src/HYDROGUI/HYDROGUI_TwoImagesDlg.h index 76dbe97c..92e1799d 100644 --- a/src/HYDROGUI/HYDROGUI_TwoImagesDlg.h +++ b/src/HYDROGUI/HYDROGUI_TwoImagesDlg.h @@ -29,6 +29,7 @@ class QCheckBox; class QLabel; class QLineEdit; class QRadioButton; +class QFrame; class HYDROGUI_ColorWidget; class HYDROGUI_ObjSelector; @@ -38,7 +39,7 @@ class HYDROGUI_TwoImagesDlg : public HYDROGUI_InputPanel Q_OBJECT public: - enum Mode { TwoImages = 0, ImageAndPolyline }; + enum Mode { TwoFuseImage = 0, TwoCutImage, ImageAndPolyline }; public: HYDROGUI_TwoImagesDlg( HYDROGUI_Module* theModule, const QString& theTitle ); @@ -73,6 +74,12 @@ signals: protected slots: void onModifySelectedImage( bool theState ); +private: + /** + * Returns whether the mode is to select two images, that corresponds to cut or fuse mode + */ + bool isTwoImagesMode() const; + private: int myMode; bool myIsEdit; @@ -89,6 +96,7 @@ private: QLabel* myPolylineLabel; HYDROGUI_ObjSelector* myPolyline; + QFrame* myBackgroundFrame; QRadioButton* myTransparent; QRadioButton* myColor; HYDROGUI_ColorWidget* myColorBox;