OpenStructure
|
#include <perspective.hh>
Inherits QObject.
Public Slots | |
void | StatusMessage (const String &m) |
Public Member Functions | |
Perspective (QMainWindow *parent) | |
~Perspective () | |
QMenuBar * | GetMenuBar () |
QMenu * | GetMenu (const QString &name) |
PanelManager * | GetPanels () |
MainArea * | GetMainArea () |
void | HideAllBars () |
bool | Restore () |
bool | Save () |
void | ChangeVerbositySlider (int value) |
The perspective manages the layout of the widgets inside the main window. It contains important classes which itself manages again a sub part of the whole layout.
Definition at line 50 of file perspective.hh.
Perspective | ( | QMainWindow * | parent | ) |
~Perspective | ( | ) |
void ChangeVerbositySlider | ( | int | value | ) |
MainArea* GetMainArea | ( | ) |
Returns the MainArea.
QMenu* GetMenu | ( | const QString & | name | ) |
get QMenu that corresponds to the given name
QMenuBar* GetMenuBar | ( | ) |
Returns Menubar.
PanelManager* GetPanels | ( | ) |
The PanelManager class organizes all the widgets in the side panels.
void HideAllBars | ( | ) |
hide all bars Hides all side bars. Can be used if the MainArea should be expanded to full size.
bool Restore | ( | ) |
read last perspective from QSettings
bool Save | ( | ) |
save settings (internal use)
|
slot |
set status message
m | The message that will be displayed in the status bar. |