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
Initial iteration for storage the back references and making concealment only on...
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_SelectionMgr.h
diff --git
a/src/XGUI/XGUI_SelectionMgr.h
b/src/XGUI/XGUI_SelectionMgr.h
index 0519e29d019ef11b8f750ef3e6363b43de055e71..7a445878c73f037d2e1e54ddf63faf5dd83f610b 100644
(file)
--- a/
src/XGUI/XGUI_SelectionMgr.h
+++ b/
src/XGUI/XGUI_SelectionMgr.h
@@
-21,12
+21,15
@@
class XGUI_Selection;
*/
class XGUI_EXPORT XGUI_SelectionMgr : public QObject
{
*/
class XGUI_EXPORT XGUI_SelectionMgr : public QObject
{
-
Q_OBJECT
-public:
+Q_OBJECT
+
public:
XGUI_SelectionMgr(XGUI_Workshop* theParent);
virtual ~XGUI_SelectionMgr();
XGUI_SelectionMgr(XGUI_Workshop* theParent);
virtual ~XGUI_SelectionMgr();
- XGUI_Selection* selection() const { return mySelection; }
+ XGUI_Selection* selection() const
+ {
+ return mySelection;
+ }
//! Connects the manager to all viewers accessible by Workshop
void connectViewers();
//! Connects the manager to all viewers accessible by Workshop
void connectViewers();
@@
-35,11
+38,11
@@
signals:
//! Emited when selection in a one of viewers was changed
void selectionChanged();
//! Emited when selection in a one of viewers was changed
void selectionChanged();
-private slots:
+
private slots:
void onObjectBrowserSelection();
void onViewerSelection();
void onObjectBrowserSelection();
void onViewerSelection();
-private:
+
private:
XGUI_Workshop* myWorkshop;
XGUI_Selection* mySelection;
};
XGUI_Workshop* myWorkshop;
XGUI_Selection* mySelection;
};