keduca
KTagComboBox Class Reference
#include <ktagcombobox.h>

Signals | |
void | activated (int index) |
void | highlighted (int index) |
Public Member Functions | |
void | changeItem (const QString &text, int index) |
void | clear () |
bool | containsTag (const QString &str) const |
int | count () const |
int | currentItem () const |
QString | currentTag () const |
void | insertItem (const QString &text, const QString &tag, const QString &submenu=QString::null, int index=-1) |
void | insertItem (const QIconSet &icon, const QString &text, const QString &tag, const QString &submenu=QString::null, int index=-1) |
void | insertSeparator (const QString &submenu=QString::null, int index=-1) |
void | insertSubmenu (const QString &text, const QString &tag, const QString &submenu=QString::null, int index=-1) |
KTagComboBox (QWidget *parent=0, const char *name=0) | |
void | setCurrentItem (const QString &code) |
void | setCurrentItem (int i) |
virtual void | setFont (const QFont &) |
QString | tag (int i) const |
~KTagComboBox () | |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *e) |
void | mousePressEvent (QMouseEvent *) |
void | paintEvent (QPaintEvent *) |
void | popupMenu () |
Detailed Description
Definition at line 39 of file ktagcombobox.h.
Constructor & Destructor Documentation
KTagComboBox::KTagComboBox | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Definition at line 39 of file ktagcombobox.cpp.
KTagComboBox::~KTagComboBox | ( | ) |
Definition at line 33 of file ktagcombobox.cpp.
Member Function Documentation
void KTagComboBox::activated | ( | int | index | ) | [signal] |
Reimplemented from QComboBox.
void KTagComboBox::changeItem | ( | const QString & | text, | |
int | index | |||
) |
void KTagComboBox::clear | ( | ) |
bool KTagComboBox::containsTag | ( | const QString & | str | ) | const |
Definition at line 184 of file ktagcombobox.cpp.
int KTagComboBox::count | ( | ) | const |
int KTagComboBox::currentItem | ( | ) | const |
QString KTagComboBox::currentTag | ( | ) | const |
Definition at line 189 of file ktagcombobox.cpp.
void KTagComboBox::highlighted | ( | int | index | ) | [signal] |
Reimplemented from QComboBox.
void KTagComboBox::insertItem | ( | const QString & | text, | |
const QString & | tag, | |||
const QString & | submenu = QString::null , |
|||
int | index = -1 | |||
) |
Definition at line 131 of file ktagcombobox.cpp.
void KTagComboBox::insertItem | ( | const QIconSet & | icon, | |
const QString & | text, | |||
const QString & | tag, | |||
const QString & | submenu = QString::null , |
|||
int | index = -1 | |||
) |
Definition at line 124 of file ktagcombobox.cpp.
void KTagComboBox::insertSeparator | ( | const QString & | submenu = QString::null , |
|
int | index = -1 | |||
) |
Definition at line 138 of file ktagcombobox.cpp.
void KTagComboBox::insertSubmenu | ( | const QString & | text, | |
const QString & | tag, | |||
const QString & | submenu = QString::null , |
|||
int | index = -1 | |||
) |
Definition at line 145 of file ktagcombobox.cpp.
void KTagComboBox::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
Definition at line 55 of file ktagcombobox.cpp.
void KTagComboBox::mousePressEvent | ( | QMouseEvent * | ) | [protected] |
Definition at line 77 of file ktagcombobox.cpp.
void KTagComboBox::paintEvent | ( | QPaintEvent * | ev | ) | [protected] |
Definition at line 164 of file ktagcombobox.cpp.
void KTagComboBox::popupMenu | ( | ) | [protected] |
Definition at line 50 of file ktagcombobox.cpp.
void KTagComboBox::setCurrentItem | ( | const QString & | code | ) |
Definition at line 216 of file ktagcombobox.cpp.
void KTagComboBox::setCurrentItem | ( | int | i | ) |
void KTagComboBox::setFont | ( | const QFont & | font | ) | [virtual] |
QString KTagComboBox::tag | ( | int | i | ) | const |
Definition at line 194 of file ktagcombobox.cpp.
The documentation for this class was generated from the following files: