|
MythTV
0.26-pre
|
#include <settings.h>
Public Slots | |
| void | addSelection (const QString &label, QString value=QString::null, bool select=false) |
| void | setValueByIndex (int index) |
Signals | |
| void | accepted (int) |
| void | menuButtonPressed (int) |
| void | editButtonPressed (int) |
| void | deleteButtonPressed (int) |
Public Member Functions | |
| ListBoxSetting (Storage *_storage) | |
| virtual QWidget * | configWidget (ConfigurationGroup *cg, QWidget *parent, const char *widgetName=0) |
| Create and return a QWidget for configuring this entity Note: Any class calling this should call widgetInvalid() before configWidget() is called on the class again, and before the class is deleted; just before removing the instance from a layout or scheduling the delete of a parent container is a good time. | |
| virtual void | widgetInvalid (QObject *obj) |
| Tell any Configurable keeping a pointer to a widget, that the pointer returned by an earlier configWidget call is invalid. | |
| void | setFocus () |
| void | setSelectionMode (MythListBox::SelectionMode mode) |
| void | setCurrentItem (int i) |
| void | setCurrentItem (const QString &str) |
| int | currentItem () |
| virtual void | setEnabled (bool b) |
| virtual void | clearSelections (void) |
| virtual void | setHelpText (const QString &str) |
| virtual void | SetEventFilter (QObject *filter) |
| virtual bool | ReplaceLabel (const QString &new_label, const QString &value) |
Protected Attributes | |
| QWidget * | bxwidget |
| MythListBox * | lbwidget |
| QObject * | eventFilter |
| MythListBox::SelectionMode | selectionMode |
Definition at line 357 of file settings.h.
| ListBoxSetting::ListBoxSetting | ( | Storage * | _storage | ) | [inline] |
Definition at line 360 of file settings.h.
| QWidget * ListBoxSetting::configWidget | ( | ConfigurationGroup * | cg, |
| QWidget * | parent, | ||
| const char * | widgetName = 0 |
||
| ) | [virtual] |
Create and return a QWidget for configuring this entity Note: Any class calling this should call widgetInvalid() before configWidget() is called on the class again, and before the class is deleted; just before removing the instance from a layout or scheduling the delete of a parent container is a good time.
Some UI classes depend on this for properly updating the UI.
Reimplemented from Configurable.
Definition at line 1027 of file settings.cpp.
| void ListBoxSetting::widgetInvalid | ( | QObject * | ) | [virtual] |
Tell any Configurable keeping a pointer to a widget, that the pointer returned by an earlier configWidget call is invalid.
Note: It is possible that this may be called after configWidget() has been called another time so you must check the pointer param.
Reimplemented from Configurable.
Definition at line 1090 of file settings.cpp.
| void ListBoxSetting::setFocus | ( | void | ) | [inline] |
Definition at line 369 of file settings.h.
Referenced by DeviceTree::del(), StorageGroupEditor::doDelete(), ChannelGroupEditor::doDelete(), PlayGroupEditor::doDelete(), StorageGroupListEditor::doDelete(), DeviceTree::edit(), and TransportListEditor::Menu().
| void ListBoxSetting::setSelectionMode | ( | MythListBox::SelectionMode | mode | ) |
Definition at line 1099 of file settings.cpp.
Referenced by LogList::LogList().
| void ListBoxSetting::setCurrentItem | ( | int | i | ) | [inline] |
Definition at line 371 of file settings.h.
Referenced by LogList::AppendLine(), configWidget(), RotorPosMap::PopulateList(), and DeviceTree::PopulateTree().
| void ListBoxSetting::setCurrentItem | ( | const QString & | str | ) | [inline] |
Definition at line 372 of file settings.h.
| int ListBoxSetting::currentItem | ( | ) | [inline] |
Definition at line 374 of file settings.h.
| void ListBoxSetting::setEnabled | ( | bool | b | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 988 of file settings.cpp.
Referenced by MythTerminal::ProcessFinished().
| void ListBoxSetting::clearSelections | ( | void | ) | [virtual] |
Reimplemented from SelectSetting.
Definition at line 995 of file settings.cpp.
Referenced by StorageGroupEditor::Load(), ChannelGroupEditor::Load(), PlayGroupEditor::Load(), StorageGroupListEditor::Load(), MythGamePlayerEditor::Load(), RecordingProfileEditor::Load(), CaptureCardEditor::Load(), VideoSourceEditor::Load(), CardInputEditor::Load(), RotorPosMap::PopulateList(), and DeviceTree::PopulateTree().
| void ListBoxSetting::setHelpText | ( | const QString & | str | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 1112 of file settings.cpp.
| virtual void ListBoxSetting::SetEventFilter | ( | QObject * | filter | ) | [inline, virtual] |
Definition at line 383 of file settings.h.
Referenced by MythTerminal::MythTerminal().
| bool ListBoxSetting::ReplaceLabel | ( | const QString & | new_label, |
| const QString & | value | ||
| ) | [virtual] |
Reimplemented from SelectSetting.
Definition at line 1013 of file settings.cpp.
Referenced by MythTerminal::AddText().
| void ListBoxSetting::accepted | ( | int | ) | [signal] |
Referenced by configWidget(), DeviceTree::DeviceTree(), RotorPosMap::RotorPosMap(), and DeviceTree::RunTypeDialog().
| void ListBoxSetting::menuButtonPressed | ( | int | ) | [signal] |
Referenced by configWidget().
| void ListBoxSetting::editButtonPressed | ( | int | ) | [signal] |
Referenced by configWidget(), DeviceTree::DeviceTree(), and RotorPosMap::RotorPosMap().
| void ListBoxSetting::deleteButtonPressed | ( | int | ) | [signal] |
Referenced by configWidget(), DeviceTree::DeviceTree(), and RotorPosMap::RotorPosMap().
| void ListBoxSetting::addSelection | ( | const QString & | label, |
| QString | value = QString::null, |
||
| bool | select = false |
||
| ) | [virtual, slot] |
Reimplemented from SelectSetting.
Definition at line 1002 of file settings.cpp.
Referenced by MythTerminal::AddText(), LogList::AppendLine(), StorageGroupEditor::Load(), ChannelGroupEditor::Load(), PlayGroupEditor::Load(), StorageGroupListEditor::Load(), MythGamePlayerEditor::Load(), RecordingProfileEditor::Load(), CaptureCardEditor::Load(), VideoSourceEditor::Load(), CardInputEditor::Load(), MythTerminal::MythTerminal(), RotorPosMap::PopulateList(), and DeviceTree::PopulateTree().
| void ListBoxSetting::setValueByIndex | ( | int | index | ) | [slot] |
Definition at line 1106 of file settings.cpp.
Referenced by configWidget().
QWidget* ListBoxSetting::bxwidget [protected] |
Definition at line 400 of file settings.h.
Referenced by configWidget(), and widgetInvalid().
MythListBox* ListBoxSetting::lbwidget [protected] |
Definition at line 401 of file settings.h.
Referenced by addSelection(), MythTerminal::AddText(), clearSelections(), configWidget(), ReplaceLabel(), setEnabled(), setHelpText(), setSelectionMode(), and widgetInvalid().
QObject* ListBoxSetting::eventFilter [protected] |
Definition at line 402 of file settings.h.
Referenced by configWidget().
MythListBox::SelectionMode ListBoxSetting::selectionMode [protected] |
Definition at line 403 of file settings.h.
Referenced by configWidget(), and setSelectionMode().
1.7.6.1