Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/origin/master'
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_OperationMgr.h
diff --git
a/src/XGUI/XGUI_OperationMgr.h
b/src/XGUI/XGUI_OperationMgr.h
index 82680fb56035ab4f072be9ef0db42b82c37c15b8..f6632c161631d3b04c8ea152d09c3632d6b71cd5 100644
(file)
--- a/
src/XGUI/XGUI_OperationMgr.h
+++ b/
src/XGUI/XGUI_OperationMgr.h
@@
-62,6
+62,9
@@
signals:
void operationStopped(ModuleBase_Operation* theOperation);
/// Signal about an operation is resumed. It is emitted after the resume() of operation is done.
void operationResumed();
void operationStopped(ModuleBase_Operation* theOperation);
/// Signal about an operation is resumed. It is emitted after the resume() of operation is done.
void operationResumed();
+ /// Signal about the necessety of the next widget activating
+ /// \param theWidget the model widget
+ void activateNextWidget(ModuleBase_ModelWidget* theWidget);
protected:
/// Sets the current operation or NULL
protected:
/// Sets the current operation or NULL
@@
-78,6
+81,9
@@
protected:
/// Returns whether the operation can be stopped.
bool canStopOperation();
/// Returns whether the operation can be stopped.
bool canStopOperation();
+ /// Returns true if the operation can be aborted
+ bool canAbortOperation();
+
protected slots:
/// Slot that commits the current operation.
void onCommitOperation();
protected slots:
/// Slot that commits the current operation.
void onCommitOperation();
@@
-93,6
+99,10
@@
protected slots:
/// \param theEvent the mouse event
void onKeyReleased(const std::string& theName, QKeyEvent* theEvent);
/// \param theEvent the mouse event
void onKeyReleased(const std::string& theName, QKeyEvent* theEvent);
+ /// SLOT, that reacts to the widget activation
+ /// \param theWidget an activated widget
+ void onWidgetActivated(ModuleBase_ModelWidget* theWidget);
+
private:
typedef QList<ModuleBase_Operation*> Operations; ///< definition for a list of operations
Operations myOperations; ///< a stack of started operations. The active operation is on top,
private:
typedef QList<ModuleBase_Operation*> Operations; ///< definition for a list of operations
Operations myOperations; ///< a stack of started operations. The active operation is on top,