Version: 9.12.0
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

Logo images container.

Member Typedef Documentation

◆ WidgetPtr

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

Constructor & Destructor Documentation

◆ LogoBox()

QtxLogoMgr::LogoBox::LogoBox ( QMenuBar *  mb)

Constructor.

Parameters
mbmenu bar

References myMB, and updateCorner().

Member Function Documentation

◆ customEvent()

void QtxLogoMgr::LogoBox::customEvent ( QEvent )
protectedvirtual

Custom event processing (update logo widget).

Parameters
eevent (not used)

◆ eventFilter()

bool QtxLogoMgr::LogoBox::eventFilter ( QObject o,
QEvent e 
)
virtual

Custom event filter.

Parameters
oevent receiver object
eevent sent to object
Returns
true if further event processing should be stopped

References QtxLogoMgr::menuBar().

◆ menuBar()

QMenuBar * QtxLogoMgr::LogoBox::menuBar ( ) const

Get menu bar.

Returns
menu bar

◆ setLabels()

void QtxLogoMgr::LogoBox::setLabels ( const QList< QLabel * > &  labs)

Set label widgets (logo containers).

Parameters
labslist of labels

◆ updateContents()

void QtxLogoMgr::LogoBox::updateContents ( )
private

Update logo manager contents.

◆ updateCorner()

void QtxLogoMgr::LogoBox::updateCorner ( )
private

Update menu bar's corner widget.

References QtxLogoMgr::menuBar().

Member Data Documentation

◆ myCornWid

WidgetPtr QtxLogoMgr::LogoBox::myCornWid
private

corner widget

◆ myLabels

QList<QLabel*> QtxLogoMgr::LogoBox::myLabels
private

list of labels containing logo images

◆ myMB

QMenuBar* QtxLogoMgr::LogoBox::myMB
private

parent menu bar


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