Definition at line 96 of file reccnts.h.
OSB_GUI::RecCountsAdmin::RecCountsAdmin | ( | AdminType | type, | |
QWidget * | parent, | |||
const char * | name = 0 , |
|||
WFlags | flags = 0 | |||
) |
Constructor with type of administraction widget and Qt arguments.
void OSB_GUI::RecCountsAdmin::activated | ( | bool | minimized | ) | [virtual] |
Window activated or show status changed.
minimized | Flag if the window is minimized. |
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] |
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.
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.
QCheckBox* OSB_GUI::RecCountsAdmin::cbByStream_ [private] |
DateEdit* OSB_GUI::RecCountsAdmin::from_ [private] |
QVBoxLayout* OSB_GUI::RecCountsAdmin::layout_ [private] |
QFrame* OSB_GUI::RecCountsAdmin::lineCtl_ [private] |
QHBoxLayout* OSB_GUI::RecCountsAdmin::loCtl_ [private] |
QPushButton* OSB_GUI::RecCountsAdmin::pbGo_ [private] |
QSpacerItem* OSB_GUI::RecCountsAdmin::spPb_ [private] |
QLabel* OSB_GUI::RecCountsAdmin::tlFrom_ [private] |
QLabel* OSB_GUI::RecCountsAdmin::tlTo_ [private] |
DateEdit* OSB_GUI::RecCountsAdmin::to_ [private] |