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

Internal class to represent combo box with the list of modules in the toolbar. More...

#include <LightApp_ModuleAction.h>

Inheritance diagram for LightApp_ModuleAction::ComboAction:
Inheritance graph

Signals

void activatedId (int)
 Emitted when the combo box item is activated. More...
 

Public Member Functions

 ComboAction (QObject *parent)
 Constructor. More...
 
QList< QtxComboBox * > widgets () const
 Get list of associated widgets. More...
 
- Public Member Functions inherited from QtxAction
 QtxAction (QObject *=0, bool=false, const QString &=QString())
 Constructor. More...
 
 QtxAction (const QString &, const QString &, int, QObject *, bool=false, const QString &=QString())
 Constructor. More...
 
 QtxAction (const QString &, const QString &, const QKeySequence &, QObject *, bool=false, const QString &=QString())
 Constructor. More...
 
 QtxAction (const QString &, const QIcon &, const QString &, int, QObject *, bool=false, const QString &=QString())
 Constructor. More...
 
 QtxAction (const QString &, const QIcon &, const QString &, const QKeySequence &, QObject *, bool=false, const QString &=QString())
 Constructor. More...
 
virtual ~QtxAction ()
 Destructor. More...
 
virtual bool eventFilter (QObject *, QEvent *)
 Customize action events. More...
 
QString shortcutActionName () const
 Return shortcut action name for the action. More...
 
void setShortcutActionName (const QString &)
 Set shortcut action name to the action. More...
 

Protected Member Functions

virtual QWidgetcreateWidget (QWidget *)
 Create combo box widget by request from the toolbar. More...
 
- Protected Member Functions inherited from QtxAction
virtual void addedTo (QWidget *)
 Called when the action is added to the widget. More...
 
virtual void removedFrom (QWidget *)
 Called when the action is removed from the widget. More...
 
virtual void customEvent (QEvent *)
 Process notification events. More...
 

Detailed Description

Constructor & Destructor Documentation

LightApp_ModuleAction::ComboAction::ComboAction ( QObject parent)
Parameters
parentparent object

Member Function Documentation

void LightApp_ModuleAction::ComboAction::activatedId ( int  id)
signal
Parameters
itemidentifier
QWidget * LightApp_ModuleAction::ComboAction::createWidget ( QWidget parent)
protectedvirtual
Parameters
parentparent widget (should be QToolBar or its successor)
Returns
new custom widget, containing combo box
QList< QtxComboBox * > LightApp_ModuleAction::ComboAction::widgets ( ) const
Returns
list of created widgets (QtxComboBox)

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