MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
CheckBoxSetting Class Reference

#include <settings.h>

Inheritance diagram for CheckBoxSetting:
Inheritance graph
[legend]
Collaboration diagram for CheckBoxSetting:
Collaboration graph
[legend]

Public Member Functions

 CheckBoxSetting (Storage *_storage)
virtual QWidget * configWidget (ConfigurationGroup *cg, QWidget *parent, const char *widgetName=NULL)
 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.
virtual void setVisible (bool b)
virtual void setLabel (QString str)
virtual void setEnabled (bool b)
virtual void setHelpText (const QString &str)
- Public Member Functions inherited from BooleanSetting
 BooleanSetting (Storage *_storage)
bool boolValue (void) const
- Public Member Functions inherited from Setting
virtual QString getValue (void) const
virtual SettingbyName (const QString &name)
void SetDBValue (const QString &val)
QString GetDBValue (void) const
- Public Member Functions inherited from Configurable
void setName (const QString &str)
QString getName (void) const
QString getLabel (void) const
void setLabelAboveWidget (bool l=true)
QString getHelpText (void) const
bool isVisible (void) const
bool isEnabled ()
StorageGetStorage (void)
- Public Member Functions inherited from StorageUser
virtual ~StorageUser ()

Protected Attributes

MythCheckBoxwidget

Additional Inherited Members

- Public Slots inherited from BooleanSetting
virtual void setValue (bool check)
virtual void setValue (const QString &newValue)
- Signals inherited from BooleanSetting
void valueChanged (bool)
- Protected Member Functions inherited from Setting
 Setting (Storage *_storage)
virtual ~Setting ()

Detailed Description

Definition at line 452 of file settings.h.

Constructor & Destructor Documentation

CheckBoxSetting::CheckBoxSetting ( Storage _storage)
inline

Definition at line 457 of file settings.h.

Member Function Documentation

QWidget * CheckBoxSetting::configWidget ( ConfigurationGroup cg,
QWidget *  parent,
const char *  widgetName = NULL 
)
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 892 of file settings.cpp.

void CheckBoxSetting::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 914 of file settings.cpp.

void CheckBoxSetting::setVisible ( bool  b)
virtual

Reimplemented from Configurable.

Definition at line 919 of file settings.cpp.

Referenced by EITOnly_config::EITOnly_config(), and NoGrabber_config::NoGrabber_config().

void CheckBoxSetting::setLabel ( QString  str)
virtual

Reimplemented from Configurable.

Definition at line 931 of file settings.cpp.

Referenced by AudioConfigSettings::AC3PassThrough(), AggressiveCommDetect(), AirPlayAudioOnly(), AirPlayEnabled(), AirPlayPasswordEnabled(), AllowMultipleRoms::AllowMultipleRoms(), AltClearSavedPosition(), AudioAdvancedSettings::Audio48kOverride(), AudioTest::AudioTest(), AudioConfigSettings::AudioUpmix(), AutoCommflagWhileRecording(), AutoExpireInsteadOfDelete(), AutoExpireWatchedPriority(), AutomaticSetWatched(), AutoStartFrontend(), AutoTranscode::AutoTranscode(), AutoTranscodeBeforeAutoCommflag(), blockSDWUwithoutClient(), BrowseAllTuners(), BrowseChannelGroup(), ChannelCheckBox::ChannelCheckBox(), ChannelGroupRememberLast(), ClearSavedPosition(), CommFlagFast(), ContinueEmbeddedTVPlay(), DecodeExtraAudio(), DefaultCCMode(), DeletesFollowLinks(), DisableAutomaticBackup(), DisableFirewireReset(), DishNetEIT::DishNetEIT(), AudioConfigSettings::DTSHDPassThrough(), AudioConfigSettings::DTSPassThrough(), DVBEITScan::DVBEITScan(), DVBNoSeqStart::DVBNoSeqStart(), DVBOnDemand::DVBOnDemand(), AudioConfigSettings::EAC3PassThrough(), EnableMHEG(), EndOfRecordingExitPrompt(), FFRewReverse(), FollowNITSetting::FollowNITSetting(), FreeToAirOnly::FreeToAirOnly(), GameDeepScan(), GameRemovalPrompt(), GameShowFileNames(), GameTreeView(), GuiSizeForTV(), AudioAdvancedSettings::HBRPassthrough(), HideMouseCursor(), IgnoreSignalTimeout::IgnoreSignalTimeout(), JobAllowCommFlag(), JobAllowMetadata(), JobAllowTranscode(), JobAllowUserJob(), JobsRunOnRecordHost(), JumpToProgramOSD(), LCDBacklightOn(), LCDBigClock(), LCDEnable(), LCDHeartBeatOn(), LCDShowChannel(), LCDShowGeneric(), LCDShowMenu(), LCDShowMusic(), LCDShowRecStatus(), LCDShowTime(), LCDShowVolume(), LNBPolarityInvertedSetting::LNBPolarityInvertedSetting(), MacDesktopEnabled(), MacDockEnabled(), MacFloatEnabled(), MacGammaCorrect(), MacMainEnabled(), MacScaleUp(), MasterBackendOverride(), AudioAdvancedSettings::MPCM(), MPEG4Option4MV::MPEG4Option4MV(), MPEG4OptionIDCT::MPEG4OptionIDCT(), MPEG4OptionIME::MPEG4OptionIME(), MPEG4OptionVHQ::MPEG4OptionVHQ(), MythArchiveAddSubtitles(), MythArchiveAlwaysUseMythTranscode(), MythArchiveCopyRemoteFiles(), MythArchiveUseFIFO(), MythArchiveUseProjectX(), AudioMixerSettings::MythControlsVolume(), MythDbSettings1::MythDbSettings1(), MythDbSettings2::MythDbSettings2(), MythFillEnabled(), MythFillGrabberSuggestsTime(), MythGalleryAutoLoad(), MythGalleryThumbnailLocation(), NetworkControlEnabled(), OnAirGuide::OnAirGuide(), PaneDVBUtilsImport::PaneDVBUtilsImport(), AudioAdvancedSettings::PassThroughOverride(), PBBStartInTitle(), PersistentBrowseMode(), PlaybackProfileItemConfig::PlaybackProfileItemConfig(), PlaybackWatchList(), PlaybackWLAutoExpire(), PlaybackWLStart(), QueryInitialFilter(), RealtimePriority(), RememberRecGroup(), RerecordWatched(), RunInWindow(), SaveTranscoding(), ScaleBitrate::ScaleBitrate(), ShutdownWithBE(), SkipBtAudio::SkipBtAudio(), SlideshowRecursive(), SlideshowUseOpenGL(), SmartForward(), AudioAdvancedSettings::SPDIFRateOverride(), AudioAdvancedSettings::SRCQualityOverride(), TranscodeLossless::TranscodeLossless(), TranscodeResize::TranscodeResize(), AudioConfigSettings::TrueHDPassThrough(), TruncateDeletes(), TrustEncSISetting::TrustEncSISetting(), UPNPShowRecordingUnderVideos(), UseEIT::UseEIT(), UseFixedWindowSize(), UseLinkLocal(), UseVideoModes(), UseVirtualKeyboard(), Visible::Visible(), and WatchTVGuide().

void CheckBoxSetting::setEnabled ( bool  b)
virtual
void CheckBoxSetting::setHelpText ( const QString &  str)
virtual

Reimplemented from Configurable.

Definition at line 945 of file settings.cpp.

Referenced by AudioConfigSettings::AC3PassThrough(), AggressiveCommDetect(), AirPlayAudioOnly(), AirPlayEnabled(), AirPlayPasswordEnabled(), AllowMultipleRoms::AllowMultipleRoms(), AltClearSavedPosition(), AudioAdvancedSettings::Audio48kOverride(), AudioTest::AudioTest(), AudioConfigSettings::AudioUpmix(), AutoCommflagWhileRecording(), AutoExpireInsteadOfDelete(), AutoExpireWatchedPriority(), AutomaticSetWatched(), AutoStartFrontend(), AutoTranscode::AutoTranscode(), AutoTranscodeBeforeAutoCommflag(), blockSDWUwithoutClient(), BrowseAllTuners(), BrowseChannelGroup(), ChannelCheckBox::ChannelCheckBox(), ChannelGroupRememberLast(), ClearSavedPosition(), CommFlagFast(), ContinueEmbeddedTVPlay(), DecodeExtraAudio(), DefaultCCMode(), DeletesFollowLinks(), DisableAutomaticBackup(), DisableFirewireReset(), DishNetEIT::DishNetEIT(), AudioConfigSettings::DTSHDPassThrough(), AudioConfigSettings::DTSPassThrough(), DVBEITScan::DVBEITScan(), DVBNoSeqStart::DVBNoSeqStart(), DVBOnDemand::DVBOnDemand(), AudioConfigSettings::EAC3PassThrough(), EnableMHEG(), EndOfRecordingExitPrompt(), FFRewReverse(), FollowNITSetting::FollowNITSetting(), FreeToAirOnly::FreeToAirOnly(), GameDeepScan(), GameRemovalPrompt(), GameShowFileNames(), GameTreeView(), GuiSizeForTV(), AudioAdvancedSettings::HBRPassthrough(), HideMouseCursor(), IgnoreSignalTimeout::IgnoreSignalTimeout(), JobAllowCommFlag(), JobAllowMetadata(), JobAllowTranscode(), JobAllowUserJob(), JobsRunOnRecordHost(), JumpToProgramOSD(), LCDBacklightOn(), LCDBigClock(), LCDEnable(), LCDHeartBeatOn(), LCDShowChannel(), LCDShowGeneric(), LCDShowMenu(), LCDShowMusic(), LCDShowRecStatus(), LCDShowTime(), LCDShowVolume(), LNBPolarityInvertedSetting::LNBPolarityInvertedSetting(), MacDesktopEnabled(), MacDockEnabled(), MacFloatEnabled(), MacGammaCorrect(), MacMainEnabled(), MacScaleUp(), MasterBackendOverride(), AudioAdvancedSettings::MPCM(), MPEG4Option4MV::MPEG4Option4MV(), MPEG4OptionIDCT::MPEG4OptionIDCT(), MPEG4OptionIME::MPEG4OptionIME(), MPEG4OptionVHQ::MPEG4OptionVHQ(), MythArchiveAddSubtitles(), MythArchiveAlwaysUseMythTranscode(), MythArchiveCopyRemoteFiles(), MythArchiveUseFIFO(), MythArchiveUseProjectX(), AudioMixerSettings::MythControlsVolume(), MythDbSettings1::MythDbSettings1(), MythDbSettings2::MythDbSettings2(), MythFillEnabled(), MythFillGrabberSuggestsTime(), MythGalleryAutoLoad(), MythGalleryThumbnailLocation(), NetworkControlEnabled(), OnAirGuide::OnAirGuide(), AudioAdvancedSettings::PassThroughOverride(), PBBStartInTitle(), PersistentBrowseMode(), PlaybackProfileItemConfig::PlaybackProfileItemConfig(), PlaybackWatchList(), PlaybackWLAutoExpire(), PlaybackWLStart(), QueryInitialFilter(), RealtimePriority(), RememberRecGroup(), RerecordWatched(), RunInWindow(), SaveTranscoding(), ScaleBitrate::ScaleBitrate(), ShutdownWithBE(), SkipBtAudio::SkipBtAudio(), SlideshowRecursive(), SlideshowUseOpenGL(), SmartForward(), AudioAdvancedSettings::SPDIFRateOverride(), AudioAdvancedSettings::SRCQualityOverride(), TranscodeLossless::TranscodeLossless(), TranscodeResize::TranscodeResize(), AudioConfigSettings::TrueHDPassThrough(), TruncateDeletes(), TrustEncSISetting::TrustEncSISetting(), UPNPShowRecordingUnderVideos(), UseEIT::UseEIT(), UseFixedWindowSize(), UseLinkLocal(), UseVideoModes(), UseVirtualKeyboard(), Visible::Visible(), and WatchTVGuide().

Member Data Documentation

MythCheckBox* CheckBoxSetting::widget
protected

Definition at line 472 of file settings.h.

Referenced by configWidget(), setEnabled(), setHelpText(), setLabel(), setVisible(), and widgetInvalid().


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