Logo images container. More...
Public Member Functions | |
LogoBox (QMenuBar *) | |
Constructor. More... | |
QMenuBar * | menuBar () const |
Get menu bar. More... | |
virtual bool | eventFilter (QObject *, QEvent *) |
Custom event filter. More... | |
void | setLabels (const QList< QLabel * > &) |
Set label widgets (logo containers). More... | |
Protected Member Functions | |
virtual void | customEvent (QEvent *) |
Custom event processing (update logo widget). More... | |
Private Types | |
typedef QPointer< QWidget > | WidgetPtr |
Private Member Functions | |
void | updateCorner () |
Update menu bar's corner widget. More... | |
void | updateContents () |
Update logo manager contents. More... | |
Private Attributes | |
QMenuBar * | myMB |
parent menu bar More... | |
QList< QLabel * > | myLabels |
list of labels containing logo images More... | |
WidgetPtr | myCornWid |
corner widget More... | |
|
private |
QtxLogoMgr::LogoBox::LogoBox | ( | QMenuBar * | mb | ) |
mb | menu bar |
References myMB, and updateCorner().
|
protectedvirtual |
e | event (not used) |
o | event receiver object |
e | event sent to object |
true
if further event processing should be stopped References QtxLogoMgr::menuBar().
QMenuBar * QtxLogoMgr::LogoBox::menuBar | ( | ) | const |
|
private |
|
private |
References QtxLogoMgr::menuBar().
|
private |
|
private |