X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Workshop.h;h=1d1fa3fee64bc14fcc6fd586c3a385d904fe9b65;hb=59a007784d1e103bcb352c515eb6feafa170f1ff;hp=5d03eefe5eaaf875deda18ab7b180f2218a1d4c9;hpb=983274afd0b92d3dc977f86b944a023f9a3f6f6b;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Workshop.h b/src/XGUI/XGUI_Workshop.h old mode 100644 new mode 100755 index 5d03eefe5..1d1fa3fee --- a/src/XGUI/XGUI_Workshop.h +++ b/src/XGUI/XGUI_Workshop.h @@ -47,6 +47,7 @@ class QMainWindow; class QAction; + /**\class XGUI_Workshop * \ingroup GUI * \brief Class which defines a configuration of the application (Workshop) and launches it. @@ -258,6 +259,10 @@ Q_OBJECT /// \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(); @@ -296,8 +301,12 @@ signals: /// 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(); @@ -339,6 +348,10 @@ signals: /// \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();