Definition at line 83 of file adminwidget.h.
OSB_GUI::AdminWidget::AdminWidget | ( | AdminType | type, | |
QWidget * | parent, | |||
const char * | name = 0 , |
|||
WFlags | flags = 0 | |||
) |
Constructor with type of administraction widget and Qt arguments.
virtual OSB_GUI::AdminWidget::~AdminWidget | ( | ) | [virtual] |
Empty virtual destructor.
virtual void OSB_GUI::AdminWidget::activated | ( | bool | minimized | ) | [virtual] |
Administration window activated or show status changed.
minimized | Flag if the window is minimized. |
This default implementation emits statusMessage() to clear the main window's status bar.
Reimplemented in OSB_GUI::RecCountsAdmin.
virtual void OSB_GUI::AdminWidget::clearMenuAccels | ( | ) | [pure 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.
Implemented in OSB_GUI::Asn1Browser, OSB_GUI::InvMgmtWidget, OSB_GUI::PrivAdminWidget, OSB_GUI::RatingCfgAdmin, OSB_GUI::RecCountsAdmin, and OSB_GUI::RecordStreamAdmin.
virtual bool OSB_GUI::AdminWidget::eventFilter | ( | QObject * | o, | |
QEvent * | e | |||
) | [protected, virtual] |
Set margin of layout.
virtual void OSB_GUI::AdminWidget::languageChange | ( | ) | [pure virtual, slot] |
Process a language change.
Implemented in OSB_GUI::Asn1Browser, OSB_GUI::InvMgmtWidget, OSB_GUI::PrivAdminWidget, OSB_GUI::RatingCfgAdmin, OSB_GUI::RecCountsAdmin, and OSB_GUI::RecordStreamAdmin.
virtual QPopupMenu* OSB_GUI::AdminWidget::menu | ( | ) | [pure 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.
Implemented in OSB_GUI::Asn1Browser, OSB_GUI::InvMgmtWidget, OSB_GUI::PrivAdminWidget, OSB_GUI::RatingCfgAdmin, OSB_GUI::RecCountsAdmin, and OSB_GUI::RecordStreamAdmin.
virtual std::string OSB_GUI::AdminWidget::menuTitle | ( | ) | const [pure virtual] |
Title of the administration wiget's menu.
The returned string is empty if does not support a menu, i.e., menu() returns 0.
Implemented in OSB_GUI::Asn1Browser, OSB_GUI::InvMgmtWidget, OSB_GUI::PrivAdminWidget, OSB_GUI::RatingCfgAdmin, OSB_GUI::RecCountsAdmin, and OSB_GUI::RecordStreamAdmin.
virtual void OSB_GUI::AdminWidget::resizeEvent | ( | QResizeEvent * | ) | [protected, virtual] |
Set position of size grip.
void OSB_GUI::AdminWidget::statusMessage | ( | const QString & | msg = "" , |
|
int | ms = -1 | |||
) | [signal] |
Request to set the status bar message.
AdminType OSB_GUI::AdminWidget::type | ( | ) | const |
Get the type of the administration widget.
QSizeGrip* OSB_GUI::AdminWidget::sizeGrip_ [private] |
AdminType OSB_GUI::AdminWidget::type_ [private] |