Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtxLogoMgr::LogoBox Class Reference

Logo images container. More...

Inheritance diagram for QtxLogoMgr::LogoBox:
Inheritance graph

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< QWidgetWidgetPtr
 

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...
 

Detailed Description

Member Typedef Documentation

typedef QPointer<QWidget> QtxLogoMgr::LogoBox::WidgetPtr
private

Constructor & Destructor Documentation

QtxLogoMgr::LogoBox::LogoBox ( QMenuBar *  mb)
Parameters
mbmenu bar

References myMB, and updateCorner().

Member Function Documentation

void QtxLogoMgr::LogoBox::customEvent ( QEvent )
protectedvirtual
Parameters
eevent (not used)
bool QtxLogoMgr::LogoBox::eventFilter ( QObject o,
QEvent e 
)
virtual
Parameters
oevent receiver object
eevent sent to object
Returns
true if further event processing should be stopped

References QtxLogoMgr::menuBar().

QMenuBar * QtxLogoMgr::LogoBox::menuBar ( ) const
Returns
menu bar
void QtxLogoMgr::LogoBox::setLabels ( const QList< QLabel * > &  labs)
Parameters
labslist of labels
void QtxLogoMgr::LogoBox::updateContents ( )
private
void QtxLogoMgr::LogoBox::updateCorner ( )
private

References QtxLogoMgr::menuBar().

Member Data Documentation

WidgetPtr QtxLogoMgr::LogoBox::myCornWid
private
QList<QLabel*> QtxLogoMgr::LogoBox::myLabels
private
QMenuBar* QtxLogoMgr::LogoBox::myMB
private

The documentation for this class was generated from the following file: