class QAction;
+
/**\class XGUI_Workshop
* \ingroup GUI
* \brief Class which defines a configuration of the application (Workshop) and launches it.
/// \param theUpdateViewer update viewer flag
void synchronizeGroupInViewer(const DocumentPtr& theDoc, const std::string& theGroup, bool theUpdateViewer);
+ /// A constant string used for "Move to end" command definition
+ /// It is used for specific processing of Undo/Redo for this command.
+ static QString MOVE_TO_END_COMMAND;
+
signals:
/// Emitted when selection happens in Salome viewer
void salomeViewerSelection();
/// Redo previous command
void onRedo(int times = 1);
- /// Rebuild data tree
- void onRebuild();
+ // Rebuild data tree
+ //void onRebuild();
+
+ /// Validates the operation to change the "Apply" button state.
+ /// \param thePreviousState the previous state of the widget
+ void onWidgetStateChanged(int thePreviousState);
/// Show property panel
void showPropertyPanel();
/// \param theOperation an operation
void setPropertyPanel(ModuleBase_Operation* theOperation);
+ /// Connects or disconnects to the value changed signal of the property panel widgets
+ /// \param isToConnect a boolean value whether connect or disconnect
+ void connectToPropertyPanel(const bool isToConnect);
+
private:
/// Display all results
//void displayAllResults();