OSB_GUI::FrmOa Class Reference

Inheritance diagram for OSB_GUI::FrmOa:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::FrmOa:

Collaboration graph
[legend]
List of all members.

Detailed Description

Main window for OSB administration.

Definition at line 61 of file frmoa.h.

Public Slots

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::FrmOa::FrmOa ( QWidget parent = 0,
const char *  name = "FrmOa",
WFlags  fl = WType_TopLevel 
) [explicit]

Constructor with OSB user and Qt arguments.


Member Function Documentation

void OSB_GUI::FrmOa::buildMenu ( AdminWidget adm  )  [private]

Build the main menu.

Parameters:
adm Pointer to active admin widget, it may be 0.

void OSB_GUI::FrmOa::cfgWindowMenu (  )  [private, slot]

Configure the windows menu.

void OSB_GUI::FrmOa::closeEvent ( QCloseEvent *  e  )  [private]

Handle close events.

The current implementation doesn't do anything.
Later we might consider to clean-up some global stuff.

AdminWidget* OSB_GUI::FrmOa::find ( AdminType  type  )  [private]

Find an administration widget by its type.

Parameters:
type Type of administration widget to search.
Returns:
The first (and usually the only) window who's type is type, 0 if no such window exists.

void OSB_GUI::FrmOa::languageChange (  )  [private, slot]

Process a language change.

bool OSB_GUI::FrmOa::showWindow ( AdminType  type  )  [private]

Show an existing configuration window.

void OSB_GUI::FrmOa::showWindow ( int  type  )  [private, slot]

Show an existing configuration window.

This slot is connected to the signal(s) of menuWindow_.

void OSB_GUI::FrmOa::showWindow ( QListBoxItem *  item  )  [private, slot]

Show or create a configuration window.

void OSB_GUI::FrmOa::statusMessage ( const QString &  msg = "",
int  ms = -1 
) [slot]

Display a status message.

Parameters:
msg Message to display:
if empty statusMsg_ is cleared.
ms Time in milliseconds to display msg:
if -1 the message is permanent, i.e., overwritten by the next call of the function.

void OSB_GUI::FrmOa::waitToggled ( bool   )  [private, slot]

Option wait for database locks toggled.

void OSB_GUI::FrmOa::windowActivated ( QWidget w  )  [private, slot]

Active window was changed.


Member Data Documentation

QDockWindow* OSB_GUI::FrmOa::admDock_ [private]

Dock window for list of administration windows.

Definition at line 140 of file frmoa.h.

QAction* OSB_GUI::FrmOa::adminExit_ [private]

Exit action in menuAdmin_.

Definition at line 155 of file frmoa.h.

QListBox* OSB_GUI::FrmOa::admList_ [private]

List of available administration windows.

Definition at line 138 of file frmoa.h.

AdminWidget* OSB_GUI::FrmOa::curAdmin_ [private]

The currently active administration console.

Definition at line 143 of file frmoa.h.

QPopupMenu* OSB_GUI::FrmOa::menuAdmin_ [private]

Main menu of OSB administration.

Definition at line 151 of file frmoa.h.

QPopupMenu* OSB_GUI::FrmOa::menuWindow_ [private]

Popup menu to manage the windows.

Definition at line 153 of file frmoa.h.

QAction* OSB_GUI::FrmOa::optWait_ [private]

Action to toggle "wait for database locks".

Definition at line 157 of file frmoa.h.

QLabel* OSB_GUI::FrmOa::statusMsg_ [private]

Label for status bar message.

Definition at line 146 of file frmoa.h.

QTimer* OSB_GUI::FrmOa::statusTimer_ [private]

Timer for the status bar.

Definition at line 148 of file frmoa.h.

QWorkspace* OSB_GUI::FrmOa::workspace_ [private]

The workspace of the administration windows.

Definition at line 136 of file frmoa.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:19:13 2006 for OSB Library by  doxygen 1.4.7