OSB_GUI::RecordStreamAdmin Class Reference

Inheritance diagram for OSB_GUI::RecordStreamAdmin:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Widget to maintain the record streams.

Definition at line 81 of file streamadmin.h.

Public Types

Public Slots

Public Member Functions

Static Public Attributes

Private Member Functions

Private Attributes


Member Enumeration Documentation

enum OSB_GUI::RecordStreamAdmin::MenuCmd

Id's of menu commands.

Enumerator:
cmdDetail  Show stream details.
cmdStatus  Change the stream status.
cmdFilter  Filter the streams.
cmdRefresh  Reread the streams from the database.
optAllStatus  Allow to set every stream status.
afReady  Auto refresh streams ready to process.
afProcessing  Auto refresh streams being processed.
afManual  Auto refresh streams with errors.

Definition at line 88 of file streamadmin.h.


Constructor & Destructor Documentation

OSB_GUI::RecordStreamAdmin::RecordStreamAdmin ( AdminType  type,
QWidget parent,
const char *  name = 0,
WFlags  flags = 0 
)

Constructor with type of administraction widget and Qt arguments.


Member Function Documentation

void OSB_GUI::RecordStreamAdmin::buildMenues (  )  [private]

Build the menues.

void OSB_GUI::RecordStreamAdmin::changeStatus ( bool  fromMenu = false  )  [slot]

Change the status of the current stream.

void OSB_GUI::RecordStreamAdmin::clearMenuAccels (  )  [virtual]

Clear any accelerators of the administration widget's popup menu.

This function is needed because any accelerators of the adminstratiion widget's menu are active even if the popup menu is not in the menu bar of the main window.

Implements OSB_GUI::AdminWidget.

void OSB_GUI::RecordStreamAdmin::languageChange (  )  [virtual, slot]

Process a language change.

Implements OSB_GUI::AdminWidget.

QPopupMenu* OSB_GUI::RecordStreamAdmin::menu (  )  [virtual]

The popup menu of the administration widget.

If the administration window does not use a menu the function returns 0.
Else the admin widget should install the accelerators for the popup menu.

See also:
clearMenuAccels()

Implements OSB_GUI::AdminWidget.

void OSB_GUI::RecordStreamAdmin::menuEvent ( int  cmd  )  [slot]

Handle commands from menu_.

std::string OSB_GUI::RecordStreamAdmin::menuTitle (  )  const [virtual]

Title of the administration wiget's menu.

The returned string is empty if does not support a menu, i.e., menu() returns 0.

Implements OSB_GUI::AdminWidget.

void OSB_GUI::RecordStreamAdmin::setPushButtons (  )  [slot]

Enable or disable the push buttons.

void OSB_GUI::RecordStreamAdmin::setRefreshTimer ( int  value  )  [slot]

Refresh interval changed.

void OSB_GUI::RecordStreamAdmin::timerEvent ( QTimerEvent *  event  )  [private]

Handle timer events.


Member Data Documentation

QPopupMenu* OSB_GUI::RecordStreamAdmin::afMenu_ [private]

The submenu for auto refresh.

Definition at line 155 of file streamadmin.h.

const int OSB_GUI::RecordStreamAdmin::afMenuId_ = 10 [static]

The id of the auto-refresh popup menu.

Definition at line 86 of file streamadmin.h.

std::set<OSB_LIB::RecordStream::Status> OSB_GUI::RecordStreamAdmin::afStatus_ [private]

Stream status to auto-refresh.

Definition at line 150 of file streamadmin.h.

QVBoxLayout* OSB_GUI::RecordStreamAdmin::layout_ [private]

Layout of the whole widget.

Definition at line 174 of file streamadmin.h.

QFrame* OSB_GUI::RecordStreamAdmin::linePb_ [private]

Line above push buttons.

Definition at line 159 of file streamadmin.h.

QHBoxLayout* OSB_GUI::RecordStreamAdmin::loPb_ [private]

Layout for the push buttons.

Definition at line 176 of file streamadmin.h.

LvRecordStream* OSB_GUI::RecordStreamAdmin::lvRs_ [private]

Record stream list view.

Definition at line 157 of file streamadmin.h.

QPopupMenu* OSB_GUI::RecordStreamAdmin::menu_ [private]

The popup menu for stream administration.

Definition at line 153 of file streamadmin.h.

QPushButton* OSB_GUI::RecordStreamAdmin::pbDetail_ [private]

Push button "Details".

Definition at line 161 of file streamadmin.h.

QPushButton* OSB_GUI::RecordStreamAdmin::pbFilter_ [private]

Push button to set the filter.

Definition at line 171 of file streamadmin.h.

QPushButton* OSB_GUI::RecordStreamAdmin::pbStatus_ [private]

Push button to change the status.

Definition at line 163 of file streamadmin.h.

int OSB_GUI::RecordStreamAdmin::refreshTimer_ [private]

The id of the refresh timer.

Definition at line 148 of file streamadmin.h.

QSpinBox* OSB_GUI::RecordStreamAdmin::sbRefresh_ [private]

Refresh spin box.

Definition at line 169 of file streamadmin.h.

QSpacerItem* OSB_GUI::RecordStreamAdmin::spPb_ [private]

Spacer right of PB "Status".

Definition at line 165 of file streamadmin.h.

QLabel* OSB_GUI::RecordStreamAdmin::tlRefresh_ [private]

Label "refresh".

Definition at line 167 of file streamadmin.h.


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