ComboBoxSetting Class Reference

#include <settings.h>

Inheritance diagram for ComboBoxSetting:

SelectSetting Setting Configurable AudioCodecName AudioRateLimit CardType ChannelTVFormat CommMethod DataDirectLineupSelector DeviceTypeSetting DTVStandard DVBCardNum DVBForwardErrorCorrectionSelector DVBInput DVBInversion DVBSymbolRate DVBTBandwidth DVBTGuardInterval DVBTHierarchy DVBTTransmissionMode FirewireConnection FirewireGUID FirewireModel FirewireSpeed FreqTableSelector GameType GlobalComboBox GlobalTimeBox HardwareMJPEGHDecimation HardwareMJPEGVDecimation HDHomeRunTunerIndex HostComboBox HostTimeBox InputSelector LNBPresetSetting LNBTypeSetting Modulation MPEG2aspectRatio MPEG2audBitrateL1 MPEG2audBitrateL2 MPEG2audBitrateL3 MPEG2audType MPEG2Language MPEG2streamType MultiplexSetting PathSetting ProfileGroup::CardInfo ProfileGroup::HostName QuickTune RecordingType RotorSetting RotorTypeSetting SampleRate ScanATSCChannelFormat ScanATSCModulation ScanBandwidth ScanCountry ScanFecSetting ScanFrequencyTable ScanGuardInterval ScanHierarchy ScanInversion ScanModulationSetting ScanOldChannelTreatment ScanPolarity ScanSymbolRate ScanTransmissionMode ScanTypeSetting SignalPolarity SortMode Source SourceID SourceSetting StartingChannel SwitchSetting SwitchTypeSetting TransComboBoxSetting TransFreqTableSelector TunerCardInput VideoCodecName VideoSourceSelector XMLTVGrabber

List of all members.


Detailed Description

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
MythComboBoxwidget

Constructor & Destructor Documentation

ComboBoxSetting::ComboBoxSetting ( Storage _storage,
bool  _rw = false,
int  _step = 1 
) [inline, protected]

Definition at line 321 of file settings.h.


Member Function Documentation

void ComboBoxSetting::setValue ( QString  newValue  )  [virtual]

void ComboBoxSetting::setValue ( int  which  )  [virtual]

Reimplemented from SelectSetting.

Definition at line 658 of file settings.cpp.

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]

void ComboBoxSetting::setVisible ( bool  b  )  [virtual]

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().


Member Data Documentation

Definition at line 348 of file settings.h.

Referenced by configWidget(), and setValue().

QWidget* ComboBoxSetting::bxwidget [private]

Definition at line 349 of file settings.h.

Referenced by configWidget(), and widgetInvalid().

int ComboBoxSetting::step [protected]

Definition at line 353 of file settings.h.

Referenced by configWidget().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5