OSB_GUI::RecCountsAdmin Class Reference

Inheritance diagram for OSB_GUI::RecCountsAdmin:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Adminstration widget for call accounting results.

Definition at line 96 of file reccnts.h.

Public Slots

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::RecCountsAdmin::RecCountsAdmin ( 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::RecCountsAdmin::activated ( bool  minimized  )  [virtual]

Window activated or show status changed.

Parameters:
minimized Flag if the window is minimized.
Just calls message().

Reimplemented from OSB_GUI::AdminWidget.

void OSB_GUI::RecCountsAdmin::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::RecCountsAdmin::keyPressEvent ( QKeyEvent *  event  )  [private]

Handle pressed keys.

Calls accept if Enter or Return was pressed,
otherwise closes the widget.

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

Process a language change.

Implements OSB_GUI::AdminWidget.

QPopupMenu* OSB_GUI::RecCountsAdmin::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.

std::string OSB_GUI::RecCountsAdmin::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::RecCountsAdmin::message (  )  [private]

Setup the status message.

Clears the status message if no record stream is displayed (RecCountView::empty()) or the window is minimized, otherwise sets the status message.

void OSB_GUI::RecCountsAdmin::readStreams (  )  [private, slot]

Read the record streams and populate widgets.

void OSB_GUI::RecCountsAdmin::showResult (  )  [private, slot]

Show the call accounting result.


Member Data Documentation

QCheckBox* OSB_GUI::RecCountsAdmin::cbByStream_ [private]

Show by stream or module?

Definition at line 170 of file reccnts.h.

DateEdit* OSB_GUI::RecCountsAdmin::from_ [private]

Widget for from-date.

Definition at line 164 of file reccnts.h.

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

Layout for the whole widget.

Definition at line 177 of file reccnts.h.

QFrame* OSB_GUI::RecCountsAdmin::lineCtl_ [private]

Line above configuration widgets.

Definition at line 158 of file reccnts.h.

QHBoxLayout* OSB_GUI::RecCountsAdmin::loCtl_ [private]

Layout for configuration widgets.

Definition at line 160 of file reccnts.h.

QPushButton* OSB_GUI::RecCountsAdmin::pbGo_ [private]

Push button "Go".

Definition at line 174 of file reccnts.h.

RecCountView* OSB_GUI::RecCountsAdmin::recCountView_ [private]

Widget to show the result for all record streams.

Definition at line 156 of file reccnts.h.

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

Spacer left of push-button "Go".

Definition at line 172 of file reccnts.h.

QLabel* OSB_GUI::RecCountsAdmin::tlFrom_ [private]

Label "From".

Definition at line 162 of file reccnts.h.

QLabel* OSB_GUI::RecCountsAdmin::tlTo_ [private]

Label "To".

Definition at line 166 of file reccnts.h.

DateEdit* OSB_GUI::RecCountsAdmin::to_ [private]

Widget for to-date.

Definition at line 168 of file reccnts.h.


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