Perspective Class Reference

#include <perspective.hh>

Inherits PyQt4::QtCore::QObject.

Public Slots

void StatusMessage (const String &m)

Public Member Functions

 Perspective (QMainWindow *parent)
 ~Perspective ()
QMenuBar * GetMenuBar ()
QMenu * GetMenu (const QString &name)
PanelManagerGetPanels ()
MainAreaGetMainArea ()
void HideAllBars ()
bool Restore ()
bool Save ()
void ChangeVerbositySlider (int value)

Detailed Description

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.


Constructor & Destructor Documentation

Perspective ( QMainWindow parent  ) 
~Perspective (  ) 

Member Function Documentation

void ChangeVerbositySlider ( int  value  ) 
MainArea* GetMainArea (  ) 

Returns the MainArea.

Returns:
The main area which is used in this perspective.
QMenu* GetMenu ( const QString &  name  ) 

get QMenu that corresponds to the given name

Returns:
The menu with the given name. If it does not exist, it will be created and returned.
QMenuBar* GetMenuBar (  ) 

Returns Menubar.

Returns:
The Menubar of the Application. Can be used to add some menupoints.
PanelManager* GetPanels (  ) 

The PanelManager class organizes all the widgets in the side panels.

Returns:
The PanelManager instance which is used in this perspective.
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

Returns:
Returns true if it was successful. Otherwise false
bool Save (  ) 

save settings (internal use)

Returns:
Returns true if it was successful. Otherwise false
void StatusMessage ( const String m  )  [slot]

set status message

Parameters:
m The message that will be displayed in the status bar.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1