#include <settings.h>

Definition at line 317 of file settings.h.
Public Slots | |
| void | addSelection (const QString &label, QString value=QString::null, bool select=false) |
| bool | removeSelection (const QString &label, QString value=QString::null) |
Public Member Functions | |
| virtual void | setValue (QString newValue) |
| virtual void | setValue (int which) |
| 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 () |
| virtual void | setEnabled (bool b) |
| virtual void | setVisible (bool b) |
| virtual void | setHelpText (const QString &str) |
Protected Member Functions | |
| ComboBoxSetting (Storage *_storage, bool _rw=false, int _step=1) | |
Protected Attributes | |
| int | step |
Private Attributes | |
| bool | rw |
| QWidget * | bxwidget |
| MythComboBox * | widget |
| ComboBoxSetting::ComboBoxSetting | ( | Storage * | _storage, | |
| bool | _rw = false, |
|||
| int | _step = 1 | |||
| ) | [inline, protected] |
Definition at line 321 of file settings.h.
| void ComboBoxSetting::setValue | ( | QString | newValue | ) | [virtual] |
Definition at line 639 of file settings.cpp.
Referenced by AutoExpireMethod(), HostRefreshRateComboBox::ChangeResolution(), ChannelEditor::ChannelEditor(), ChannelFormat(), ChapterMenuAspectRatio(), configWidget(), CardInput::CreateNewInputGroup(), DishNetEIT::DishNetEIT(), EITTimeOffset(), ExternalChannelCommand::ExternalChannelCommand(), FreeToAir::FreeToAir(), GuiVidModeResolution(), InputPriority::InputPriority(), InstanceCount::InstanceCount(), InputGroup::load(), TransFreqTableSelector::load(), VideoSourceSelector::load(), InputSelector::load(), PlaybackProfileItemConfig::load(), SwitchTypeSetting::load(), DeviceTypeSetting::load(), LongChannelFormat(), MainMenuAspectRatio(), MPEG2AudioBitrateSettings::MPEG2AudioBitrateSettings(), MythArchiveDefaultEncProfile(), PlayBoxOrdering(), PresetTuner::PresetTuner(), RadioServices::RadioServices(), DVBUtilsImportPane::SetDefaultATSCFormat(), STPane::SetDefaultATSCFormat(), ATSCPane::SetDefaultATSCFormat(), FirewireModel::SetGUID(), LNBConfig::SetPreset(), Visible::Visible(), and XineramaScreen().
| void ComboBoxSetting::setValue | ( | int | which | ) | [virtual] |
| QWidget * ComboBoxSetting::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 553 of file settings.cpp.
| void ComboBoxSetting::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 610 of file settings.cpp.
| void ComboBoxSetting::setFocus | ( | void | ) | [inline] |
Definition at line 333 of file settings.h.
| void ComboBoxSetting::setEnabled | ( | bool | b | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 619 of file settings.cpp.
Referenced by HostRefreshRateComboBox::ChangeResolution(), VideoSourceSelector::load(), LNBConfig::SetPreset(), and TVVidModeRefreshRate().
| void ComboBoxSetting::setVisible | ( | bool | b | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 626 of file settings.cpp.
Referenced by DVBConfigurationGroup::DVBConfigurationGroup(), Modulation::Modulation(), and SingleCardInput::SingleCardInput().
| void ComboBoxSetting::setHelpText | ( | const QString & | str | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 699 of file settings.cpp.
Referenced by AdjustFill(), AllowQuitShutdown(), ArtistTreeGroups(), AspectOverride(), AudioUpmixType(), AutoCommercialSkip(), AutoExpireMethod(), CaptureResolution(), CardType::CardType(), CDBlankType(), CDDiskSize(), CDWriteSpeed(), ChannelFormat(), ChannelTVFormat::ChannelTVFormat(), ChapterMenuAspectRatio(), CommercialSkipMethod(), CommMethod::CommMethod(), DailyWakeupEnd1(), DailyWakeupEnd2(), DailyWakeupStart1(), DailyWakeupStart2(), PlaybackProfileItemConfig::decoderChanged(), DefaultRipQuality(), DefaultTranscoder(), DefaultView(), PlaybackProfileItemConfig::deint0Changed(), PlaybackProfileItemConfig::deint1Changed(), DishNetEIT::DishNetEIT(), DisplayGroupTitleSort(), DisplayRecGroup(), DVBForwardErrorCorrection::DVBForwardErrorCorrection(), DVBInversion::DVBInversion(), DVBTBandwidth::DVBTBandwidth(), DVBTCoderateHP::DVBTCoderateHP(), DVBTCoderateLP::DVBTCoderateLP(), DVBTGuardInterval::DVBTGuardInterval(), DVBTHierarchy::DVBTHierarchy(), DVBTTransmissionMode::DVBTTransmissionMode(), EITTimeOffset(), EncoderType(), ExternalChannelCommand::ExternalChannelCommand(), Finetune::Finetune(), FirewireModel::FirewireModel(), FreeToAir::FreeToAir(), Freqid::Freqid(), FreqTable(), FreqTableSelector::FreqTableSelector(), GuiVidModeResolution(), Icon::Icon(), InputDisplayName::InputDisplayName(), InputGroup::InputGroup(), InputPriority::InputPriority(), InstanceCount::InstanceCount(), ISO639PreferredLanguage(), JobQueueCPU(), JobQueueWindowEnd(), JobQueueWindowStart(), LCDShowMusicItems(), LetterboxingColour(), PlaybackProfileItemConfig::load(), LogPrintLevel(), LongChannelFormat(), MainMenuAspectRatio(), MaxAudioChannels(), MicrophoneDevice(), MixerControl(), Modulation::Modulation(), MusicAudioDevice(), MythArchiveDateFormat(), MythArchiveDefaultEncProfile(), MythArchiveTimeFormat(), MythDateFormat(), MythGallerySortOrder(), MythLanguage(), MythShortDateFormat(), MythTimeFormat(), NatTraversalMethod(), OnAirGuide::OnAirGuide(), PlaybackProfileItemConfig::orenderChanged(), OSDCC708DefaultFontType(), OSDCC708Font(), OSDCCFont(), OSDThemeFontSizeType(), OutputFilters::OutputFilters(), OverrideExitMenu(), PALNTSC(), ParanoiaLevel(), PassThroughOutputDevice(), PIPLocationComboBox(), PlaybackExitPrompt(), PlayBoxEpisodeSort(), PlayBoxOrdering(), PlayBoxShading(), PlayMode(), PresetTuner::PresetTuner(), Priority::Priority(), QuickTune::QuickTune(), RadioServices::RadioServices(), ResumeMode(), ScanATSCChannelFormat::ScanATSCChannelFormat(), ScanATSCModulation::ScanATSCModulation(), ScanBandwidth::ScanBandwidth(), ScanCodeRateHP::ScanCodeRateHP(), ScanCodeRateLP::ScanCodeRateLP(), ScanConstellation::ScanConstellation(), ScanFec::ScanFec(), ScanFrequencyTable::ScanFrequencyTable(), ScanGuardInterval::ScanGuardInterval(), ScanHierarchy::ScanHierarchy(), ScanInversion::ScanInversion(), ScanModulation::ScanModulation(), ScanOldChannelTreatment::ScanOldChannelTreatment(), ScanPolarity::ScanPolarity(), ScanSymbolRate::ScanSymbolRate(), ScanTransmissionMode::ScanTransmissionMode(), SetOnInsertDVD(), SlideshowBackground(), SlideshowOpenGLTransition(), SlideshowTransition(), StartingChannel::StartingChannel(), SwitchTypeSetting::SwitchTypeSetting(), TagEncoding(), ThemeFontSizeType(), ThemePainter(), TimeOffset::TimeOffset(), TimeOffset(), TTSVoice(), TVFormat(), TVVidModeForceAspect(), TVVidModeRefreshRate(), TVVidModeResolution(), TxResolution(), UseEIT::UseEIT(), VbiFormat(), VideoDefaultParentalLevel(), VideoDefaultView(), VideoFilters::VideoFilters(), Visible::Visible(), PlaybackProfileItemConfig::vrenderChanged(), WakeupTimeFormat(), WebcamDevice(), XboxBlinkBIN(), XboxLEDDefault(), XboxLEDRecording(), XineramaMonitorAspectRatio(), XineramaScreen(), XmltvID::XmltvID(), ZMDateFormat(), and ZMTimeFormat().
| void ComboBoxSetting::addSelection | ( | const QString & | label, | |
| QString | value = QString::null, |
|||
| bool | select = false | |||
| ) | [virtual, slot] |
Reimplemented from SelectSetting.
Reimplemented in PathSetting, and SampleRate.
Definition at line 665 of file settings.cpp.
Referenced by PathSetting::addSelection(), SampleRate::addSelection(), AdjustFill(), AllowQuitShutdown(), ArtistTreeGroups(), AspectOverride(), AudioOutputDevice(), AudioUpmixType(), AutoCommercialSkip(), AutoExpireMethod(), PlaybackProfileConfigs::btnPress(), CaptureResolution(), CDBlankType(), CDDiskSize(), CDWriteSpeed(), HostRefreshRateComboBox::ChangeResolution(), ChannelFormat(), ChannelOrdering(), ChannelTVFormat::ChannelTVFormat(), ChapterMenuAspectRatio(), CommercialSkipMethod(), CommMethod::CommMethod(), PlaybackProfileItemConfig::decoderChanged(), DefaultRipQuality(), DefaultView(), DeviceTypeSetting::DeviceTypeSetting(), DisplayGroupTitleSort(), DisplayRecGroup(), DVBForwardErrorCorrectionSelector::DVBForwardErrorCorrectionSelector(), DVBInversion::DVBInversion(), DVBTBandwidth::DVBTBandwidth(), DVBTGuardInterval::DVBTGuardInterval(), DVBTHierarchy::DVBTHierarchy(), DVBTTransmissionMode::DVBTTransmissionMode(), EncoderType(), EPGFillType(), SingleCardInput::fillSelections(), TunerCardInput::fillSelections(), SourceID::fillSelections(), DataDirectLineupSelector::fillSelections(), ProfileGroup::HostName::fillSelections(), FirewireModel::FirewireModel(), FreqTable(), FreqTableSelector::FreqTableSelector(), GlobalTimeBox::GlobalTimeBox(), GuiVidModeResolution(), HostTimeBox::HostTimeBox(), init_time_offsets(), JobQueueCPU(), LCDShowMusicItems(), LetterboxingColour(), InputGroup::load(), VideoSourceSelector::load(), InputSelector::load(), MultiplexSetting::load(), PlaybackProfileItemConfig::load(), LogPrintLevel(), LongChannelFormat(), MainMenuAspectRatio(), MaxAudioChannels(), MenuTheme(), MicrophoneDevice(), MixerControl(), MixerDevice(), Modulation::Modulation(), MusicAudioDevice(), MythArchiveDateFormat(), MythArchiveDefaultEncProfile(), MythArchiveTimeFormat(), MythDateFormat(), MythGallerySortOrder(), MythShortDateFormat(), MythTimeFormat(), NatTraversalMethod(), OSDCC708DefaultFontType(), OSDThemeFontSizeType(), OverrideExitMenu(), PALNTSC(), ParanoiaLevel(), PassThroughOutputDevice(), PIPLocationComboBox(), PlaybackExitPrompt(), PlaybackProfileConfigs::PlaybackProfileConfigs(), PlayBoxEpisodeSort(), PlayBoxOrdering(), PlayBoxShading(), PlayMode(), QuickTune::QuickTune(), ResumeMode(), ScanATSCChannelFormat::ScanATSCChannelFormat(), ScanATSCModulation::ScanATSCModulation(), ScanBandwidth::ScanBandwidth(), ScanCountry::ScanCountry(), ScanFecSetting::ScanFecSetting(), ScanFrequencyTable::ScanFrequencyTable(), ScanGuardInterval::ScanGuardInterval(), ScanHierarchy::ScanHierarchy(), ScanInversion::ScanInversion(), ScanModulationSetting::ScanModulationSetting(), ScanOldChannelTreatment::ScanOldChannelTreatment(), ScanPolarity::ScanPolarity(), ScanSymbolRate::ScanSymbolRate(), ScanTransmissionMode::ScanTransmissionMode(), ScanTypeSetting::SetInput(), SetOnInsertDVD(), StartingChannel::SetSourceID(), SingleCardInput::SingleCardInput(), SlideshowBackground(), SlideshowOpenGLTransition(), SlideshowTransition(), SourceID::SourceID(), SwitchTypeSetting::SwitchTypeSetting(), TagEncoding(), ThemeFontSizeType(), ThemePainter(), TransFreqTableSelector::TransFreqTableSelector(), TVFormat(), TVVidModeForceAspect(), TVVidModeResolution(), TxResolution(), VbiFormat(), VideoDefaultParentalLevel(), VideoDefaultView(), PlaybackProfileItemConfig::vrenderChanged(), WakeupTimeFormat(), XboxBlinkBIN(), XboxLEDDefault(), XboxLEDRecording(), XineramaMonitorAspectRatio(), XineramaScreen(), XMLTVConfig::XMLTVConfig(), ZMDateFormat(), and ZMTimeFormat().
| bool ComboBoxSetting::removeSelection | ( | const QString & | label, | |
| QString | value = QString::null | |||
| ) | [virtual, slot] |
Reimplemented from SelectSetting.
Definition at line 679 of file settings.cpp.
Referenced by TriggeredConfigurationGroup::removeTarget().
bool ComboBoxSetting::rw [private] |
QWidget* ComboBoxSetting::bxwidget [private] |
MythComboBox* ComboBoxSetting::widget [private] |
Definition at line 350 of file settings.h.
Referenced by addSelection(), configWidget(), removeSelection(), setEnabled(), setHelpText(), setValue(), setVisible(), and widgetInvalid().
int ComboBoxSetting::step [protected] |
1.5.5