Perspective Class Reference

#include <perspective.hh>


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 ()


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 49 of file perspective.hh.


Constructor & Destructor Documentation

Perspective ( QMainWindow parent  ) 

~Perspective (  ) 


Member Function Documentation

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:

Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8