Configurable Class Reference

#include <settings.h>

Inheritance diagram for Configurable:

Setting BooleanSetting ButtonSetting ConfigurationGroup DateSetting HostnameSetting IntegerSetting LabelSetting LineEditSetting ManagedListSetting SelectSetting TimeSetting

List of all members.


Detailed Description

Configurable is the root of all the database aware widgets.

This is an abstract class and some methods must be implemented in children. byName(const &QString) is abstract. While configWidget(ConfigurationGroup *, QWidget*, const char*) has an implementation, all it does is print an error message and return a NULL pointer.

Definition at line 33 of file settings.h.


Public Slots

virtual void enableOnSet (const QString &val)
 This slot allows you to enable this configurable when a binary configurable is set to true.
virtual void enableOnUnset (const QString &val)
 This slot allows you to enable this configurable when a binary configurable is set to false.
virtual void widgetDeleted (QObject *obj)
 This slot calls the virtual widgetInvalid(QObject*) method.

Public Member Functions

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 *)
 Tell any Configurable keeping a pointer to a widget, that the pointer returned by an earlier configWidget call is invalid.
void setName (QString str)
QString getName (void) const
virtual SettingbyName (const QString &name)=0
void setLabel (QString str)
QString getLabel (void) const
void setLabelAboveWidget (bool l=true)
virtual void setHelpText (const QString &str)
QString getHelpText (void) const
void setVisible (bool b)
bool isVisible (void) const
virtual void setEnabled (bool b)
bool isEnabled ()
StorageGetStorage (void)

Protected Member Functions

 Configurable (Storage *_storage)
virtual ~Configurable ()

Protected Attributes

bool labelAboveWidget
bool enabled
Storagestorage
QString configName
QString label
QString helptext
bool visible

Constructor & Destructor Documentation

Configurable::Configurable ( Storage _storage  )  [inline, protected]

Definition at line 87 of file settings.h.

virtual Configurable::~Configurable (  )  [inline, protected, virtual]

Definition at line 90 of file settings.h.


Member Function Documentation

QWidget * Configurable::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 in VerticalConfigurationGroup, HorizontalConfigurationGroup, GridConfigurationGroup, StackedConfigurationGroup, TriggeredConfigurationGroup, TabbedConfigurationGroup, LabelSetting, LineEditSetting, SliderSetting, SpinBoxSetting, SelectLabelSetting, ComboBoxSetting, ListBoxSetting, RadioSetting, ImageSelectSetting, CheckBoxSetting, ButtonSetting, ProgressSetting, ChannelID, and RecordingProfile::ID.

Definition at line 43 of file settings.cpp.

Referenced by TriggeredConfigurationGroup::configWidget(), and VerticalConfigurationGroup::replaceChild().

virtual void Configurable::widgetInvalid ( QObject *   )  [inline, 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 in VerticalConfigurationGroup, StackedConfigurationGroup, TriggeredConfigurationGroup, LineEditSetting, SpinBoxSetting, ComboBoxSetting, ListBoxSetting, ImageSelectSetting, CheckBoxSetting, and ButtonSetting.

Definition at line 53 of file settings.h.

Referenced by StackedConfigurationGroup::removeChild(), VerticalConfigurationGroup::replaceChild(), and widgetDeleted().

void Configurable::setName ( QString  str  )  [inline]

QString Configurable::getName ( void   )  const [inline]

virtual Setting* Configurable::byName ( const QString &  name  )  [pure virtual]

void Configurable::setLabel ( QString  str  )  [inline]

Reimplemented in ConfigurationPopupDialog.

Definition at line 65 of file settings.h.

Referenced by AC3PassThrough(), AdjustFill(), AggressiveBuffer(), AggressiveCommDetect(), AllowQuitShutdown(), AllRecGroupPassword(), AltClearSavedPosition(), AlwaysStreamFiles(), AppearanceSettings::AppearanceSettings(), ArchiveSettings::ArchiveSettings(), ArtistTreeGroups(), AspectOverride(), AudioCompressionSettings::AudioCompressionSettings(), AudioLocalPort(), AudioNagSetting(), AudioOutputDevice(), AudioSettings::AudioSettings(), AudioUpmixType(), AutoCommercialFlag(), AutoCommercialSkip(), AutoCommflagWhileRecording(), AutoExpireDayPriority(), AutoExpireDefault(), AutoExpireExtraSpace(), AutoExpireInsteadOfDelete(), AutoExpireLiveTVMaxAge(), AutoExpireMethod(), AutoExpireWatchedPriority(), AutoLookupCD(), AutomaticSetWatched(), AutoPlayCD(), AutoRunUserJob(), AutoStartFrontend(), AutoTranscode(), AutoTranscodeBeforeAutoCommflag(), BackendSettings::BackendSettings(), BlankSetting::BlankSetting(), blockSDWUwithoutClient(), Brightness::Brightness(), CaptureCardEditor::CaptureCardEditor(), CaptureCardGroup::CaptureCardGroup(), CaptureResolution(), CardID::CardID(), ProfileGroup::CardInfo::CardInfo(), CardInput::CardInput(), CardInputEditor::CardInputEditor(), CardType::CardType(), CategoryOverTime(), CategoryOverTimeSettings(), CCBackground(), CDBlankType(), CDCreateDir(), CDDevice(), CDDiskSize(), CDWriterDevice(), CDWriterEnabled(), CDWriteSpeed(), ChannelEditor::ChannelEditor(), ChannelFormat(), ChannelOptionsCommon::ChannelOptionsCommon(), ChannelOptionsFilters::ChannelOptionsFilters(), ChannelOptionsV4L::ChannelOptionsV4L(), ChannelOrdering(), ChannelSetting::ChannelSetting(), ChannelTVFormat::ChannelTVFormat(), ChapterMenuAspectRatio(), ClearSavedPosition(), CodecPriorityList(), Colour::Colour(), CommercialSkipMethod(), CommMethod::CommMethod(), CommNotifyAmount(), CommRewindAmount(), CommSkipAllBlanks(), ContinueEmbeddedTVPlay(), Contrast::Contrast(), Country::Country(), DailyWakeupEnd1(), DailyWakeupEnd2(), DailyWakeupStart1(), DailyWakeupStart2(), DataDirectButton::DataDirectButton(), DataDirectLineupSelector::DataDirectLineupSelector(), DataDirectPassword::DataDirectPassword(), DataDirectUserID::DataDirectUserID(), DBOX2Host::DBOX2Host(), DBOX2HttpPort::DBOX2HttpPort(), DBOX2Port::DBOX2Port(), DecodeExtraAudio(), DefaultCCMode(), DefaultRipQuality(), DefaultTranscoder(), DefaultTVChannel(), DefaultView(), DefaultVoicemailPrompt(), DefaultVxmlUrl(), DeferAutoTranscodeDays(), DeletedExpireOptions::DeletedExpireOptions(), DeletedFifoOrder(), DeletedMaxAge(), DeletesFollowLinks(), DeviceDescrSetting::DeviceDescrSetting(), DeviceRepeatSetting::DeviceRepeatSetting(), DeviceTypeSetting::DeviceTypeSetting(), DisableFirewireReset(), DiSEqCLatitude(), DiSEqCLongitude(), DishNetEIT::DishNetEIT(), DisplayGroupTitleSort(), DisplayRecGroup(), DisplaySizeHeight(), DisplaySizeWidth(), DTSPassThrough(), DTVDeviceConfigGroup::DTVDeviceConfigGroup(), DVBConfigurationGroup::DVBConfigurationGroup(), DVBForwardErrorCorrection::DVBForwardErrorCorrection(), DVBInversion::DVBInversion(), DVBTBandwidth::DVBTBandwidth(), DVBTCoderateHP::DVBTCoderateHP(), DVBTCoderateLP::DVBTCoderateLP(), DVBTGuardInterval::DVBTGuardInterval(), DVBTHierarchy::DVBTHierarchy(), DVBTTransmissionMode::DVBTTransmissionMode(), DVBUtilsImportPane::DVBUtilsImportPane(), DVDBookmarkDays(), DVDBookmarkPrompt(), DVDRipperSettings::DVDRipperSettings(), EditVisualizationModes(), EITCrawIdleStart(), EITIgnoresSource(), EITTimeOffset(), EITTransportTimeout(), EjectCD(), EnableDVDBookmark(), EnableMediaEvents(), EnableMediaMon(), EnableMHEG(), EnableXbox(), EncoderType(), EndOfRecordingExitPrompt(), EPGChanDisplay(), EPGEnableJumpToChannel(), EPGFillType(), EPGRecThreshold(), EPGScrollType(), EPGSettings::EPGSettings(), EPGShowCategoryColors(), EPGShowCategoryText(), EPGShowChannelIcon(), EPGShowFavorites(), EPGTimeDisplay(), ExactSeeking(), ExternalChannelCommand::ExternalChannelCommand(), Favourite::Favourite(), FFRewReposTime(), FFRewReverse(), FilenameTemplate(), Finetune::Finetune(), FirewireConnection::FirewireConnection(), FirewireModel::FirewireModel(), FirewireSpeed::FirewireSpeed(), FreeToAir::FreeToAir(), Freqid::Freqid(), FreqTable(), FreqTableSelector::FreqTableSelector(), GalleryConfigurationGroup::GalleryConfigurationGroup(), GallerySettings::GallerySettings(), GameAllTreeLevels(), GameDeepScan(), GameEditDialog::GameEditDialog(), GameFavTreeLevels(), Gamename::Gamename(), GameRemovalPrompt(), GameShowFileNames(), GameTreeView(), GeneralRecPrioritiesSettings::GeneralRecPrioritiesSettings(), GeneralSettings::GeneralSettings(), GeneratePreviewPixmaps(), Genre::Genre(), GetDataCommand(), GetPostersCommand(), Grabber(), GRAllRecordRecPriority(), GRChannelRecordRecPriority(), GRComplexPriority(), GRDefaultEndOffset(), GRDefaultStartOffset(), GRFindOneRecordRecPriority(), GRHDTVRecPriority(), GROverrideRecordRecPriority(), GRPrefInputRecPriority(), GRSchedMoveHigher(), GRSchedOpenEnd(), GRSingleRecordRecPriority(), GRTimeslotRecordRecPriority(), GRWeekslotRecordRecPriority(), GuiHeight(), GuiOffsetX(), GuiOffsetY(), GuiSizeForTV(), GuiVidModeResolution(), GuiWidth(), HaltCommand(), HDHomeRunDeviceID::HDHomeRunDeviceID(), HDHomeRunTunerIndex::HDHomeRunTunerIndex(), HDRingbufferSize(), HideMouseCursor(), HorizScanPercentage(), ProfileGroup::HostName::HostName(), Hue::Hue(), Icon::Icon(), idleTimeoutSecs(), idleWaitForRecordingTime(), IgnoreID3Tags(), IgnoreMedia(), IgnoreSignalTimeout::IgnoreSignalTimeout(), IndividualMuteControl(), PlaybackProfileConfig::InitUI(), InputDisplayName::InputDisplayName(), InputGroup::InputGroup(), InputName::InputName(), InputPriority::InputPriority(), InputSelector::InputSelector(), InstanceCount::InstanceCount(), IPTVHost::IPTVHost(), ISO639PreferredLanguage(), JobAllowCommFlag(), JobAllowTranscode(), JobAllowUserJob(), JobQueueCheckFrequency(), JobQueueCommFlagCommand(), JobQueueCPU(), JobQueueMaxSimultaneousJobs(), JobQueueTranscodeCommand(), JobQueueWindowEnd(), JobQueueWindowStart(), JobsRunOnRecordHost(), JumpPane::JumpPane(), JumpToProgramOSD(), KeyboardAccelerators(), LangEditorSetting::LangEditorSetting(), LastFreeCard(), LCDBacklightOn(), LCDBigClock(), LCDEnable(), LCDHeartBeatOn(), LCDKeyString(), LCDPopupTime(), LcdSettings::LcdSettings(), LCDShowChannel(), LCDShowGeneric(), LCDShowMenu(), LCDShowMusic(), LCDShowMusicItems(), LCDShowRecStatus(), LCDShowTime(), LCDShowVolume(), LetterboxingColour(), LircKeyPressedApp(), LiveTVInAllPrograms(), LiveTVPriority(), LNBConfig::LNBConfig(), MythDbSettings1::load(), LocalHostNameSettings::LocalHostNameSettings(), LocalSecurityPin(), LocalServerIP(), LocalServerPort(), LocalStatusPort(), LogCleanDays(), LogCleanEnabled(), LogCleanMax(), LogCleanPeriod(), LogEnabled(), LogMaxCount(), LogPrintLevel(), LongChannelFormat(), MacDesktopEnabled(), MacDesktopSettings::MacDesktopSettings(), MacDesktopSkip(), MacDockEnabled(), MacDockSettings::MacDockSettings(), MacDockSkip(), MacFloatEnabled(), MacFloatOpacity(), MacFloatSettings::MacFloatSettings(), MacFloatSkip(), MacFullSkip(), MacGammaCorrect(), MacMainEnabled(), MacMainOpacity(), MacMainSettings::MacMainSettings(), MacMainSkip(), MacScaleUp(), MainGeneralSettings::MainGeneralSettings(), MainMenuAspectRatio(), MasterBackendOverride(), MasterServerIP(), MasterServerPort(), MaxAudioChannels(), MaximumCommercialSkip(), MenuTheme(), MergeShortCommBreaks(), MicrophoneDevice(), MinRecordDiskThreshold(), MiscStatusScript(), MixerControl(), MixerDevice(), MixerVolume(), Modulation::Modulation(), MoviesSettings::MoviesSettings(), Mp3UseVBR(), MPEGConfigurationGroup::MPEGConfigurationGroup(), MTDac3Flag(), MTDConcurrentTranscodes(), MTDLogFlag(), MTDNiceLevel(), MTDPortNumber(), MTDRipSize(), MTDTrustTranscodeFRDetect(), MTDxvidFlag(), MultiplexSetting::MultiplexSetting(), MusicAudioDevice(), MusicGeneralSettings::MusicGeneralSettings(), MusicPlayerSettings::MusicPlayerSettings(), MusicRipperSettings::MusicRipperSettings(), MySipName(), MythArchiveAddSubtitles(), MythArchiveAlwaysUseMythTranscode(), MythArchiveCopyRemoteFiles(), MythArchiveDateFormat(), MythArchiveDefaultEncProfile(), MythArchiveDriveSpeed(), MythArchiveDvdauthorCmd(), MythArchiveDVDLocation(), MythArchiveDVDPlayerCmd(), MythArchiveEncodeToAc3(), MythArchiveFfmpegCmd(), MythArchiveFileFilter(), MythArchiveGrowisofsCmd(), MythArchiveJpeg2yuvCmd(), MythArchiveMkisofsCmd(), MythArchiveMpeg2encCmd(), MythArchiveMplexCmd(), MythArchiveProjectXCmd(), MythArchiveShareDir(), MythArchiveSpumuxCmd(), MythArchiveTcrequantCmd(), MythArchiveTempDir(), MythArchiveTimeFormat(), MythArchiveUseFIFO(), MythArchiveUseProjectX(), MythControlsVolume(), MythDateFormat(), MythDbSettings1::MythDbSettings1(), MythDbSettings2::MythDbSettings2(), MythFillDatabaseArgs(), MythFillDatabaseLog(), MythFillDatabasePath(), MythFillEnabled(), MythFillGrabberSuggestsTime(), MythFillMaxHour(), MythFillMinHour(), MythFillPeriod(), MythFillSettings::MythFillSettings(), MythGalleryDir(), MythGalleryImportDirs(), MythGalleryMoviePlayerCmd(), MythGalleryOverlayCaption(), MythGallerySortOrder(), MythGalleryThumbnailLocation(), MythGameGeneralSettings::MythGameGeneralSettings(), MythGamePlayerEditor::MythGamePlayerEditor(), MythGamePlayerSettings::MythGamePlayerSettings(), MythLanguage(), MythLogSettings::MythLogSettings(), MythMediaSettings::MythMediaSettings(), MythPhoneSettings::MythPhoneSettings(), MythShortDateFormat(), MythShutdownNvramCmd(), MythShutdownNvramRestartCmd(), MythShutdownPowerOff(), MythShutdownReboot(), MythShutdownSettings::MythShutdownSettings(), MythShutdownStartFECmd(), MythShutdownXTermCmd(), MythTimeFormat(), MythWelcomeDateFormat(), MythWelcomeSettings::MythWelcomeSettings(), VideoSource::Name::Name(), ProfileGroup::Name::Name(), MythGamePlayerSettings::Name::Name(), NatIpAddress(), NatTraversalMethod(), NetworkControlEnabled(), NetworkControlPort(), NoChanNumHide::NoChanNumHide(), NonID3FileNameFormat(), NoPromptOnExit(), NoWhitespace(), OnAirGuide::OnAirGuide(), OSDCC708DefaultFontType(), OSDCC708Font(), OSDCC708Fonts(), OSDCC708Settings(), OSDCC708TextZoomPercentage(), OSDCCFont(), OSDFont(), OSDGeneralTimeout(), OSDNotifyTimeout(), OSDProgramInfoTimeout(), OSDSettings::OSDSettings(), OSDThemeFontSizeType(), OutputFilters::OutputFilters(), OverrideExitMenu(), OverTimeCategory(), PALNTSC(), ParanoiaLevel(), PassThroughOutputDevice(), PBBShowGroupSummary(), PBBStartInTitle(), PCMVolume(), PersistentBrowseMode(), PIPLocationComboBox(), PlaybackExitPrompt(), PlaybackPreview(), PlaybackProfileConfigs::PlaybackProfileConfigs(), PlaybackProfileItemConfig::PlaybackProfileItemConfig(), PlaybackSettings::PlaybackSettings(), PlaybackWatchList(), PlaybackWLAutoExpire(), PlaybackWLBlackOut(), PlaybackWLMaxAge(), PlaybackWLStart(), PlayBoxEpisodeSort(), PlayBoxOrdering(), PlayBoxShading(), PlayBoxTransparency(), PlayerCommand(), PlayGroup::PlayGroup(), PlayGroupEditor::PlayGroupEditor(), PlayMode(), PlayoutAudioCall(), PlayoutVideoCall(), PostCDRipScript(), PreferCC708(), preSDWUCheckCommand(), PresetTuner::PresetTuner(), PreviewFromBookmark(), PreviewPixmapOffset(), Priority::Priority(), ProfileGroup::ProfileGroup(), Publisher::Publisher(), PVR350EPGAlphaValue(), PVR350HWDecoderSettings::PVR350HWDecoderSettings(), PVR350OutputEnable(), PVR350UseInternalSound(), PVR350VideoDevice::PVR350VideoDevice(), QtFontBig(), QtFontMedium(), QtFontSmall(), QtFonTweak(), QueryInitialFilter(), QuickTune::QuickTune(), RadioServices::RadioServices(), Radius(), RandomTheme(), RealtimePriority(), RebootCommand(), RecorderOptions::RecorderOptions(), RecordingProfile::RecordingProfile(), RecordingProfileEditor::RecordingProfileEditor(), RecordOverTime(), RecordPreRoll(), RememberRecGroup(), RerecordWatched(), ResumeMode(), RotorConfig::RotorConfig(), RotorPosConfig::RotorPosConfig(), RunInWindow(), SaveTranscoding(), ScanATSCChannelFormat::ScanATSCChannelFormat(), ScanATSCModulation::ScanATSCModulation(), ScanBandwidth::ScanBandwidth(), ScanCodeRateHP::ScanCodeRateHP(), ScanCodeRateLP::ScanCodeRateLP(), ScanConstellation::ScanConstellation(), ScanCountry::ScanCountry(), ScanFec::ScanFec(), ScanFrequency::ScanFrequency(), ScanFrequencyTable::ScanFrequencyTable(), ScanGuardInterval::ScanGuardInterval(), ScanHierarchy::ScanHierarchy(), ScanInversion::ScanInversion(), ScanModulation::ScanModulation(), ScanOldChannelTreatment::ScanOldChannelTreatment(), ScanPolarity::ScanPolarity(), ScanProgressPopup::ScanProgressPopup(), ScanSymbolRate::ScanSymbolRate(), ScanTransmissionMode::ScanTransmissionMode(), ScanTypeSetting::ScanTypeSetting(), ScanWizardConfig::ScanWizardConfig(), ScanWizardScanner::ScanWizardScanner(), SearchListingsCommand(), SelectChangesChannel(), ServerHaltCommand(), SetDVDDevice(), SetDVDDriveSpeed(), FirewireDesc::SetGUID(), ConfigurationDialog::setLabel(), ConfigurationPopupDialog::setLabel(), SetLastPlayWeight(), SetMusicDirectory(), SetOnInsertDVD(), SetPlayCountWeight(), SetRandomWeight(), SetRatingWeight(), SetRipDirectory(), SetSearchMaxResultsReturned(), SetupPinCode(), SetupPinCodeRequired(), SetVCDDevice(), SetWakeuptimeCommand(), ShowAlbumArtOnSongChange(), ShutdownWithBE(), SingleCardInput::SingleCardInput(), SipAutoanswer(), SipBindInterface(), SipLocalPort(), SipProxyAuthName(), SipProxyAuthPassword(), SipProxyName(), SipRegisterWithProxy(), SlideshowBackground(), SlideshowDelay(), SlideshowOpenGLTransition(), SlideshowOpenGLTransitionLength(), SlideshowRecursive(), SlideshowTransition(), SlideshowUseOpenGL(), SmartChannelChange(), SmartForward(), SortMode::SortMode(), SourceID::SourceID(), SourceSetting::SourceSetting(), ImportIconsWizard::startDialog(), StartingChannel::StartingChannel(), startupCommand(), StartupSecsBeforeRecording(), StickyKeys(), StorageGroupEditor::StorageGroupEditor(), StorageGroupListEditor::StorageGroupListEditor(), StyleSetting::StyleSetting(), SubTitleCommand(), SwitchConfig::SwitchConfig(), SwitchPortsSetting::SwitchPortsSetting(), SwitchTypeSetting::SwitchTypeSetting(), TagEncoding(), ThemeCacheSize(), ThemeFontSizeType(), ThemePainter(), ThemeSelector::ThemeSelector(), TimeOffset::TimeOffset(), TimeOffset(), TimeToAnswer(), TitlePlayCommand(), TranscodeCommand(), TransFreqTableSelector::TransFreqTableSelector(), TransmitBandwidth(), TransmitFPS(), TransportPage::TransportPage(), TreeLevels(), TruncateDeletes(), TTSVoice(), TunerCardInput::TunerCardInput(), TVFormat(), TVVidModeForceAspect(), TVVidModeRefreshRate(), TVVidModeResolution(), TxResolution(), UDPNotifyPort(), UnknownCategory(), UnknownTitle(), UseArrowAccels(), UseEIT::UseEIT(), UseGroupNameAsAllPrograms(), UseListShuffled(), UseOpenGLVSync(), UsePicControls(), UserJob(), UserJobDesc(), UseShowRatings(), UseShowWholeTree(), UseVideoModes(), UseVideoTimebase(), UseVirtualKeyboard(), V4LConfigurationGroup::V4LConfigurationGroup(), VbiFormat(), VCDPlayerCommand(), VertScanPercentage(), VideoAdminPassword(), VideoAdminPasswordThree(), VideoAdminPasswordTwo(), VideoAggressivePC(), VideoArtworkDirectory(), VideoBrowserNoDB(), VideoCompressionSettings::VideoCompressionSettings(), VideoDBFolderView(), VideoDefaultParentalLevel(), VideoDefaultPlayer(), VideoDefaultView(), VideoFilters::VideoFilters(), VideoGalleryColumns(), VideoGalleryNoDB(), VideoGalleryRows(), VideoGallerySubtitle(), VideoGeneralSettings::VideoGeneralSettings(), VideoImageCacheSize(), VideoListUnknownFiletypes(), VideoLocalPort(), VideoModeSettings::VideoModeSettings(), VideoNewBrowsable(), VideoPlayerSettings::VideoPlayerSettings(), VideoSortIgnoresCase(), VideoSource::VideoSource(), VideoSourceEditor::VideoSourceEditor(), VideoSourceSelector::VideoSourceSelector(), VideoStartupDirectory(), VideoTreeNoDB(), VideoTreeNoMetaData(), VideoTreeRemeber(), VidModeHeight(), VidModeWidth(), Visible::Visible(), VisualCycleOnSongChange(), VisualizationMode(), VisualModeDelay(), VisualRandomize(), VisualScaleHeight(), VisualScaleWidth(), WakeupTimeFormat(), WatchTVGuide(), WebcamDevice(), WOLbackendCommand(), WOLbackendConnectRetry(), WOLbackendReconnectWaitTime(), WOLslaveBackendsCommand(), WOLsqlSettings::WOLsqlSettings(), XboxBlinkBIN(), XboxCheckRec(), XboxLEDDefault(), XboxLEDNonLiveTV(), XboxLEDRecording(), XboxSettings::XboxSettings(), XineramaMonitorAspectRatio(), XineramaScreen(), XMLTV_generic_config::XMLTV_generic_config(), XmltvID::XmltvID(), XScanDisplacement(), Year::Year(), YScanDisplacement(), ZipCode(), ZMDateFormat(), ZMServerIP(), ZMServerPort(), ZMServerUseOpenGL(), ZMSettings::ZMSettings(), and ZMTimeFormat().

QString Configurable::getLabel ( void   )  const [inline]

void Configurable::setLabelAboveWidget ( bool  l = true  )  [inline]

virtual void Configurable::setHelpText ( const QString &  str  )  [inline, virtual]

QString Configurable::getHelpText ( void   )  const [inline]

void Configurable::setVisible ( bool  b  )  [inline]

bool Configurable::isVisible ( void   )  const [inline]

virtual void Configurable::setEnabled ( bool  b  )  [inline, virtual]

bool Configurable::isEnabled (  )  [inline]

Storage* Configurable::GetStorage ( void   )  [inline]

Definition at line 79 of file settings.h.

Referenced by StackedConfigurationGroup::save().

void Configurable::enableOnSet ( const QString &  val  )  [virtual, slot]

This slot allows you to enable this configurable when a binary configurable is set to true.

Parameters:
val signal value, should be "0" to disable, other to disable.

Definition at line 74 of file settings.cpp.

void Configurable::enableOnUnset ( const QString &  val  )  [virtual, slot]

This slot allows you to enable this configurable when a binary configurable is set to false.

Parameters:
val signal value, should be "0" to enable, other to disable.

Definition at line 84 of file settings.cpp.

void Configurable::widgetDeleted ( QObject *  obj  )  [virtual, slot]

This slot calls the virtual widgetInvalid(QObject*) method.

This should not be needed, anyone calling configWidget() should also be calling widgetInvalid() directly before configWidget() is called again on the Configurable. If widgetInvalid() is not called directly before the Configurable's configWidget() is called the Configurable may not update properly on screen, but if this is connected to from the widget's destroyed(QObject*) signal this will prevent a segfault from occurring.

Definition at line 64 of file settings.cpp.

Referenced by ButtonSetting::configWidget(), ImageSelectSetting::configWidget(), ListBoxSetting::configWidget(), CheckBoxSetting::configWidget(), ComboBoxSetting::configWidget(), SpinBoxSetting::configWidget(), LineEditSetting::configWidget(), TriggeredConfigurationGroup::configWidget(), StackedConfigurationGroup::configWidget(), and VerticalConfigurationGroup::configWidget().


Member Data Documentation

Definition at line 95 of file settings.h.

Referenced by ConfigurationPopupDialog::exec().

QString Configurable::configName [protected]

Definition at line 96 of file settings.h.

Referenced by SpinBoxSetting::relayValueChanged().

QString Configurable::label [protected]

QString Configurable::helptext [protected]

Definition at line 98 of file settings.h.

Definition at line 99 of file settings.h.


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