|
MythTV
0.26-pre
|
#include <mythwidgets.h>
Public Slots | |
| void | setCurrentItem (const QString &matchText, bool caseSensitive=true, bool partialMatch=false) |
Signals | |
| void | changeHelpText (QString) |
| void | accepted (int) |
| void | menuButtonPressed (int) |
| void | editButtonPressed (int) |
| void | deleteButtonPressed (int) |
| void | highlighted (int) |
Public Member Functions | |
| MythListBox (QWidget *parent, const QString &name=QString("MythListBox")) | |
| virtual void | keyPressEvent (QKeyEvent *e) |
| void | setCurrentRow (int row) |
| void | setCurrentRow (int row, QItemSelectionModel::SelectionFlags command) |
| QString | currentText (void) const |
| void | setTopRow (uint row) |
| void | insertItem (const QString &) |
| void | insertStringList (const QStringList &) |
| void | removeRow (uint row) |
| void | changeItem (const QString &, uint row) |
| int | getIndex (const QList< QListWidgetItem * > &) |
| QList< QListWidgetItem * > | findItems (const QString &text, Qt::MatchFlags flags=Qt::MatchStartsWith) const |
| void | setHelpText (const QString &) |
Protected Member Functions | |
| void | focusInEvent (QFocusEvent *e) |
| void | focusOutEvent (QFocusEvent *e) |
| virtual void | ensurePolished (void) const |
| bool | itemVisible (uint row) const |
| QString | text (uint row) const |
Private Slots | |
| void | HandleItemSelectionChanged (void) |
Private Attributes | |
| QString | helptext |
Definition at line 372 of file mythwidgets.h.
| MythListBox::MythListBox | ( | QWidget * | parent, |
| const QString & | name = QString("MythListBox") |
||
| ) |
Definition at line 1274 of file mythwidgets.cpp.
| void MythListBox::keyPressEvent | ( | QKeyEvent * | e | ) | [virtual] |
Definition at line 1351 of file mythwidgets.cpp.
| void MythListBox::setCurrentRow | ( | int | row | ) | [inline] |
Definition at line 383 of file mythwidgets.h.
Referenced by MythTerminal::AddText(), ListBoxSetting::configWidget(), keyPressEvent(), DeviceTree::RunTypeDialog(), and setCurrentItem().
| void MythListBox::setCurrentRow | ( | int | row, |
| QItemSelectionModel::SelectionFlags | command | ||
| ) | [inline] |
Definition at line 384 of file mythwidgets.h.
| QString MythListBox::currentText | ( | void | ) | const [inline] |
Definition at line 390 of file mythwidgets.h.
| void MythListBox::setTopRow | ( | uint | row | ) |
Definition at line 1491 of file mythwidgets.cpp.
Referenced by keyPressEvent().
| void MythListBox::insertItem | ( | const QString & | label | ) |
Definition at line 1498 of file mythwidgets.cpp.
Referenced by ListBoxSetting::addSelection(), ListBoxSetting::configWidget(), and DeviceTree::RunTypeDialog().
| void MythListBox::insertStringList | ( | const QStringList & | label_list | ) |
Definition at line 1503 of file mythwidgets.cpp.
| void MythListBox::removeRow | ( | uint | row | ) |
Definition at line 1508 of file mythwidgets.cpp.
| void MythListBox::changeItem | ( | const QString & | new_text, |
| uint | row | ||
| ) |
Definition at line 1515 of file mythwidgets.cpp.
Referenced by ListBoxSetting::ReplaceLabel().
| int MythListBox::getIndex | ( | const QList< QListWidgetItem * > & | list | ) |
Definition at line 1522 of file mythwidgets.cpp.
Referenced by HandleItemSelectionChanged().
| QList<QListWidgetItem*> MythListBox::findItems | ( | const QString & | text, |
| Qt::MatchFlags | flags = Qt::MatchStartsWith |
||
| ) | const [inline] |
Definition at line 398 of file mythwidgets.h.
| void MythListBox::setHelpText | ( | const QString & | help | ) |
Definition at line 1461 of file mythwidgets.cpp.
Referenced by ListBoxSetting::configWidget(), and ListBoxSetting::setHelpText().
| void MythListBox::focusInEvent | ( | QFocusEvent * | e | ) | [protected] |
Definition at line 1482 of file mythwidgets.cpp.
| void MythListBox::focusOutEvent | ( | QFocusEvent * | e | ) | [protected] |
Definition at line 1469 of file mythwidgets.cpp.
| void MythListBox::ensurePolished | ( | void | ) | const [protected, virtual] |
Definition at line 1282 of file mythwidgets.cpp.
| bool MythListBox::itemVisible | ( | uint | row | ) | const [protected] |
Definition at line 1533 of file mythwidgets.cpp.
Referenced by keyPressEvent().
| QString MythListBox::text | ( | uint | row | ) | const [protected] |
Definition at line 1527 of file mythwidgets.cpp.
Referenced by keyPressEvent(), and setCurrentItem().
| void MythListBox::setCurrentItem | ( | const QString & | matchText, |
| bool | caseSensitive = true, |
||
| bool | partialMatch = false |
||
| ) | [slot] |
Definition at line 1297 of file mythwidgets.cpp.
| void MythListBox::changeHelpText | ( | QString | ) | [signal] |
Referenced by focusInEvent(), and setHelpText().
| void MythListBox::accepted | ( | int | ) | [signal] |
Referenced by keyPressEvent().
| void MythListBox::menuButtonPressed | ( | int | ) | [signal] |
Referenced by keyPressEvent().
| void MythListBox::editButtonPressed | ( | int | ) | [signal] |
Referenced by keyPressEvent().
| void MythListBox::deleteButtonPressed | ( | int | ) | [signal] |
Referenced by keyPressEvent().
| void MythListBox::highlighted | ( | int | ) | [signal] |
Referenced by HandleItemSelectionChanged().
| void MythListBox::HandleItemSelectionChanged | ( | void | ) | [private, slot] |
Definition at line 1343 of file mythwidgets.cpp.
Referenced by MythListBox().
QString MythListBox::helptext [private] |
Definition at line 431 of file mythwidgets.h.
Referenced by focusInEvent(), and setHelpText().
1.7.6.1