#include <settings.h>

Definition at line 356 of file 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) |
Protected Attributes | |
| QWidget * | bxwidget |
| MythListBox * | widget |
| MythListBox::SelectionMode | selectionMode |
| ListBoxSetting::ListBoxSetting | ( | Storage * | _storage | ) | [inline] |
Definition at line 359 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 889 of file settings.cpp.
Referenced by ProfileGroupEditor::exec().
| 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 941 of file settings.cpp.
| void ListBoxSetting::setFocus | ( | void | ) | [inline] |
Definition at line 367 of file settings.h.
Referenced by ChannelEditor::channelIconImport(), DeviceTree::del(), StorageGroupListEditor::doDelete(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), DeviceTree::edit(), ChannelEditor::edit(), ImportIconsWizard::enableControls(), TransportListEditor::Menu(), ChannelEditor::menu(), ImportIconsWizard::menuSelection(), ChannelEditor::scan(), and ChannelEditor::transportEditor().
| void ListBoxSetting::setSelectionMode | ( | MythListBox::SelectionMode | mode | ) |
| void ListBoxSetting::setCurrentItem | ( | int | i | ) | [inline] |
Definition at line 369 of file settings.h.
Referenced by configWidget(), ChannelListSetting::fillSelections(), RotorPosMap::PopulateList(), DeviceTree::PopulateTree(), and LogList::updateText().
| void ListBoxSetting::setCurrentItem | ( | const QString & | str | ) | [inline] |
Definition at line 370 of file settings.h.
| int ListBoxSetting::currentItem | ( | ) | [inline] |
| void ListBoxSetting::setEnabled | ( | bool | b | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 864 of file settings.cpp.
Referenced by ImportIconsWizard::enableControls().
| void ListBoxSetting::clearSelections | ( | void | ) | [virtual] |
Reimplemented from SelectSetting.
Definition at line 871 of file settings.cpp.
Referenced by ImportIconsWizard::enableControls(), TransportList::fillSelections(), ChannelListSetting::fillSelections(), CardInputEditor::load(), VideoSourceEditor::load(), CaptureCardEditor::load(), StorageGroupListEditor::load(), StorageGroupEditor::load(), ScheduledRecordingEditor::load(), RecordingProfileEditor::load(), ProfileGroupEditor::load(), PlayGroupEditor::load(), MythGamePlayerEditor::load(), RotorPosMap::PopulateList(), DeviceTree::PopulateTree(), and ImportIconsWizard::search().
| void ListBoxSetting::setHelpText | ( | const QString & | str | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 963 of file settings.cpp.
Referenced by TransportList::fillSelections(), and ImportIconsWizard::startDialog().
| 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 878 of file settings.cpp.
Referenced by ImportIconsWizard::enableControls(), TransportList::fillSelections(), ChannelListSetting::fillSelections(), CardInputEditor::load(), VideoSourceEditor::load(), CaptureCardEditor::load(), StorageGroupListEditor::load(), StorageGroupEditor::load(), RecordingProfileEditor::load(), ProfileGroupEditor::load(), PlayGroupEditor::load(), MythGamePlayerEditor::load(), SourceSetting::load(), ImportIconsWizard::menuSelection(), RotorPosMap::PopulateList(), DeviceTree::PopulateTree(), ImportIconsWizard::search(), SortMode::SortMode(), SourceSetting::SourceSetting(), ImportIconsWizard::submit(), and LogList::updateText().
| void ListBoxSetting::setValueByIndex | ( | int | index | ) | [slot] |
QWidget* ListBoxSetting::bxwidget [protected] |
MythListBox* ListBoxSetting::widget [protected] |
Definition at line 394 of file settings.h.
Referenced by addSelection(), clearSelections(), configWidget(), setEnabled(), setHelpText(), setSelectionMode(), and widgetInvalid().
MythListBox::SelectionMode ListBoxSetting::selectionMode [protected] |
1.5.5