35 #ifndef ANA_CONTROL_WCONTROL_H 36 #define ANA_CONTROL_WCONTROL_H 40 #include <qmainwindow.h> 50 class AControlMenuHandler;
77 std::set<anatomist::AObject *> selectedObjects();
78 std::set<anatomist::AWindow*> selectedWindows();
79 std::set<int> SelectedWinGroups()
const;
81 void UnselectAllObjects();
82 void UnselectAllWindows();
85 void BuildObjectMenu();
86 void UpdateToggleMenus();
87 void UpdateObjectMenu();
88 void UpdateWindowMenu();
91 bool ViewingRefColors()
const;
92 void ToggleRefColorsView();
93 void enableRefWinMenu(
bool );
94 void enableLoadRefMenu(
bool );
95 void enablePreferencesMenu(
bool );
96 void enableFusionMenu(
bool );
97 void enableGroupMenu(
bool );
98 bool logoEnabled()
const;
99 void loadObject(
const std::string& filter,
const std::string& caption );
105 void enableClose(
bool );
106 bool closeEnabled()
const;
107 void setWindowTypeVisible(
int type,
bool visible=
true );
116 void saveWindowsConfig();
117 void replayScenario();
119 void openWindow(
int type );
120 void openWindow( QAction* ac );
122 void dropOnWindowIcon(
int type, QDropEvent* ev );
123 void dragEnterOnWindowIcon(
int type, QDragEnterEvent* ev );
124 void dragMoveOnWindowIcon(
int type, QDragMoveEvent* ev );
132 void iconifyWindows();
133 void restoreWindows();
136 void addObjectsInWindows();
137 void removeObjects();
138 void deleteObjects();
142 void chooseWinReferential();
143 void chooseReferential();
144 void openConstraintEditor();
145 void fusionObjects();
146 void openPreferencesWin();
147 void viewRefColors();
152 void languageEnglish();
153 void languageFrench();
154 void enableLogo(
bool );
155 void objectTreeClick();
156 void objectTreeDblClick();
157 void windowTreeClick();
159 void reloadPalettes();
162 void openThreeViews();
163 void openBlockView();
168 void closeEvent(QCloseEvent *event);
169 virtual void createMenu();
170 virtual void createIcons();
171 virtual void drawContents();
172 virtual void createTitle();
173 void setLanguage(
const std::string & poFilename );
anatomist::AControlMenuHandler * _menu
Base Anatomist object (abstract)
Multi-object : base abstract class for objects that contain others.
Abstract base class Anatomist window.
anatomist::AControlMenuHandler * menuHandler()
static ControlWindow * _theControlWindow
static ControlWindow * theControlWindow()
The ControlWindow class is the Anatomist control window.
Referential: marker for transformations, with an associated color.
static std::string _baseTitle