Q_OBJECT
public:
- HYDROGUI_TwoImagesOp( HYDROGUI_Module* theModule, const QString& theTitle );
+ enum OperationType { Fuse, Cut };
+
+public:
+ HYDROGUI_TwoImagesOp( HYDROGUI_Module* theModule, const int theType );
virtual ~HYDROGUI_TwoImagesOp();
protected:
+ virtual void startOperation();
+
virtual HYDROGUI_InputPanel* createInputPanel() const;
-protected slots:
- virtual void OnApply();
+ virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
private:
- QString myTitle;
+ int myType;
};
#endif