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

#include <SVTK_ComboAction.h>

Inheritance diagram for SVTK_ComboAction:
Inheritance graph

Signals

void triggered (int)
 

Public Member Functions

 SVTK_ComboAction (QObject *=0)
 
 SVTK_ComboAction (const QString &, QObject *=0)
 
virtual ~SVTK_ComboAction ()
 
void insertItem (const QIcon &, const int=-1)
 
void clear ()
 
void setCurrentIndex (const int)
 
int currentIndex () const
 

Protected Member Functions

virtual QWidgetcreateWidget (QWidget *)
 
virtual void update ()
 
virtual void updateCombo (QComboBox *)
 

Private Attributes

QList< QIcon > myIcons
 
int myCurId
 

Constructor & Destructor Documentation

SVTK_ComboAction::SVTK_ComboAction ( QObject parent = 0)

References myCurId.

SVTK_ComboAction::SVTK_ComboAction ( const QString &  text,
QObject parent = 0 
)

References myCurId.

SVTK_ComboAction::~SVTK_ComboAction ( )
virtual

References myIcons.

Member Function Documentation

void SVTK_ComboAction::clear ( )

References myIcons, and update().

QWidget * SVTK_ComboAction::createWidget ( QWidget parent)
protectedvirtual

References triggered(), and updateCombo().

int SVTK_ComboAction::currentIndex ( ) const

References myCurId.

void SVTK_ComboAction::insertItem ( const QIcon &  icon,
const int  index = -1 
)

References myIcons, and update().

void SVTK_ComboAction::setCurrentIndex ( const int  id)

References myCurId, and update().

void SVTK_ComboAction::triggered ( int  )
signal
void SVTK_ComboAction::update ( )
protectedvirtual

References updateCombo().

void SVTK_ComboAction::updateCombo ( QComboBox combo)
protectedvirtual

References myCurId, and myIcons.

Member Data Documentation

int SVTK_ComboAction::myCurId
private
QList<QIcon> SVTK_ComboAction::myIcons
private

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