ActFocusComboBox Class Reference

ActFocusComboBox is the combo-box of the solution number is ModelHelpDlg. More...

#include <ActFocusComboBox.h>

List of all members.

Public Member Functions

 ActFocusComboBox (QAction *act, QWidget *parent=NULL)
virtual ~ActFocusComboBox ()
void setDefaultAction (QAction *act)

Protected Member Functions

virtual void focusInEvent (QFocusEvent *event)
virtual void actionEvent (QActionEvent *event)

Private Slots

void setActIndex (int ind)

Private Member Functions

void updateList ()

Private Attributes

QAction * m_defaultAction


Detailed Description

ActFocusComboBox is the combo-box of the solution number is ModelHelpDlg.

It is special in that it only updates its content when it get the focus. This is an optimization that help avoid changing the content of the combo box every time a solution is found.


Constructor & Destructor Documentation

ActFocusComboBox::ActFocusComboBox ( QAction *  act,
QWidget *  parent = NULL 
) [inline]

virtual ActFocusComboBox::~ActFocusComboBox (  )  [inline, virtual]


Member Function Documentation

void ActFocusComboBox::setDefaultAction ( QAction *  act  ) 

virtual void ActFocusComboBox::focusInEvent ( QFocusEvent *  event  )  [inline, protected, virtual]

void ActFocusComboBox::actionEvent ( QActionEvent *  event  )  [protected, virtual]

void ActFocusComboBox::setActIndex ( int  ind  )  [private, slot]

void ActFocusComboBox::updateList (  )  [private]


Member Data Documentation


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