#include <ActFocusComboBox.h>
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 |
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.
ActFocusComboBox::ActFocusComboBox | ( | QAction * | act, | |
QWidget * | parent = NULL | |||
) | [inline] |
virtual ActFocusComboBox::~ActFocusComboBox | ( | ) | [inline, virtual] |
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] |
QAction* ActFocusComboBox::m_defaultAction [private] |