SpinBoxSetting Class Reference

#include <settings.h>

Inheritance diagram for SpinBoxSetting:

BoundedIntegerSetting IntegerSetting Setting Configurable ChannelTimeout DeviceRepeatSetting DVBTuningDelay GlobalSpinBox HostSpinBox ImageSize::Height ImageSize::Width InputPriority JumpMinutes Priority RTjpegChromaFilter RTjpegLumaFilter SignalTimeout SkipAhead SkipBack TimeOffset TimeStretch TransSpinBoxSetting

List of all members.


Detailed Description

Definition at line 227 of file settings.h.


Signals

void valueChanged (const QString &name, int newValue)

Public Member Functions

 SpinBoxSetting (Storage *_storage, int min, int max, int step, bool allow_single_step=false, QString special_value_text="")
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.
virtual void setValue (int newValue)
void setFocus (void)
void clearFocus (void)
bool hasFocus (void) const
void SetRelayEnabled (bool enabled)
bool IsRelayEnabled (void) const
virtual void setHelpText (const QString &str)

Private Slots

void relayValueChanged (int newValue)

Private Attributes

QWidget * bxwidget
MythSpinBoxspinbox
bool relayEnabled
bool sstep
QString svtext

Constructor & Destructor Documentation

SpinBoxSetting::SpinBoxSetting ( Storage _storage,
int  min,
int  max,
int  step,
bool  allow_single_step = false,
QString  special_value_text = "" 
)

Definition at line 402 of file settings.cpp.


Member Function Documentation

QWidget * SpinBoxSetting::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 417 of file settings.cpp.

void SpinBoxSetting::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 463 of file settings.cpp.

void SpinBoxSetting::setValue ( int  newValue  )  [virtual]

Reimplemented from BoundedIntegerSetting.

Definition at line 472 of file settings.cpp.

Referenced by AutoExpireDayPriority(), AutoExpireExtraSpace(), AutoExpireLiveTVMaxAge(), CategoryOverTime(), CommNotifyAmount(), CommRewindAmount(), configWidget(), DeferAutoTranscodeDays(), DeletedMaxAge(), DisplaySizeHeight(), DisplaySizeWidth(), EITCrawIdleStart(), EITTransportTimeout(), EPGChanDisplay(), EPGRecThreshold(), EPGTimeDisplay(), FFRewReposTime(), GRAllRecordRecPriority(), GRChannelRecordRecPriority(), GRDefaultEndOffset(), GRDefaultStartOffset(), GRFindOneRecordRecPriority(), GRHDTVRecPriority(), GROverrideRecordRecPriority(), GRPrefInputRecPriority(), GRSingleRecordRecPriority(), GRTimeslotRecordRecPriority(), GRWeekslotRecordRecPriority(), GuiHeight(), GuiOffsetX(), GuiOffsetY(), GuiWidth(), HDRingbufferSize(), HorizScanPercentage(), idleTimeoutSecs(), idleWaitForRecordingTime(), JobQueueCheckFrequency(), JobQueueMaxSimultaneousJobs(), LCDPopupTime(), PlaybackProfileItemConfig::load(), DeviceRepeatSetting::load(), MythDbSettings2::load(), LogCleanDays(), LogCleanMax(), LogCleanPeriod(), LogMaxCount(), MacDesktopSkip(), MacDockSkip(), MacFloatOpacity(), MacFloatSkip(), MacFullSkip(), MacMainOpacity(), MacMainSkip(), MaximumCommercialSkip(), MergeShortCommBreaks(), MinRecordDiskThreshold(), MTDConcurrentTranscodes(), MTDNiceLevel(), MTDPortNumber(), MTDRipSize(), MythArchiveDriveSpeed(), MythFillMaxHour(), MythFillMinHour(), MythFillPeriod(), MythGalleryOverlayCaption(), NetworkControlPort(), OSDCC708TextZoomPercentage(), OSDGeneralTimeout(), OSDNotifyTimeout(), OSDProgramInfoTimeout(), PlaybackWLBlackOut(), PlaybackWLMaxAge(), PlayoutAudioCall(), PlayoutVideoCall(), PreviewPixmapOffset(), DVBConfigurationGroup::probeCard(), PVR350EPGAlphaValue(), QtFontBig(), QtFontMedium(), QtFontSmall(), QtFonTweak(), RecordOverTime(), RecordPreRoll(), SetLastPlayWeight(), SetPlayCountWeight(), SetRandomWeight(), SetRatingWeight(), SetSearchMaxResultsReturned(), SlideshowDelay(), SlideshowOpenGLTransitionLength(), StartupSecsBeforeRecording(), ThemeCacheSize(), TimeToAnswer(), TransmitFPS(), VertScanPercentage(), VideoGalleryColumns(), VideoGalleryRows(), VideoImageCacheSize(), VidModeHeight(), VidModeWidth(), VisualScaleHeight(), VisualScaleWidth(), WOLbackendConnectRetry(), WOLbackendReconnectWaitTime(), XboxCheckRec(), XScanDisplacement(), and YScanDisplacement().

void SpinBoxSetting::setFocus ( void   ) 

Definition at line 486 of file settings.cpp.

void SpinBoxSetting::clearFocus ( void   ) 

Definition at line 492 of file settings.cpp.

bool SpinBoxSetting::hasFocus ( void   )  const

Definition at line 498 of file settings.cpp.

void SpinBoxSetting::SetRelayEnabled ( bool  enabled  )  [inline]

Definition at line 246 of file settings.h.

bool SpinBoxSetting::IsRelayEnabled ( void   )  const [inline]

Definition at line 247 of file settings.h.

void SpinBoxSetting::setHelpText ( const QString &  str  )  [virtual]

Reimplemented from Configurable.

Definition at line 512 of file settings.cpp.

Referenced by AutoExpireDayPriority(), AutoExpireExtraSpace(), AutoExpireLiveTVMaxAge(), CategoryOverTime(), CommNotifyAmount(), CommRewindAmount(), DeferAutoTranscodeDays(), DeletedMaxAge(), DeviceRepeatSetting::DeviceRepeatSetting(), DisplaySizeHeight(), DisplaySizeWidth(), EITCrawIdleStart(), EITTransportTimeout(), EPGRecThreshold(), FFRewReposTime(), GRAllRecordRecPriority(), GRChannelRecordRecPriority(), GRDefaultEndOffset(), GRDefaultStartOffset(), GRFindOneRecordRecPriority(), GRHDTVRecPriority(), GROverrideRecordRecPriority(), GRPrefInputRecPriority(), GRSingleRecordRecPriority(), GRTimeslotRecordRecPriority(), GRWeekslotRecordRecPriority(), GuiHeight(), GuiOffsetX(), GuiOffsetY(), GuiWidth(), HDRingbufferSize(), HorizScanPercentage(), idleTimeoutSecs(), idleWaitForRecordingTime(), JobQueueCheckFrequency(), JobQueueMaxSimultaneousJobs(), LCDPopupTime(), LogCleanDays(), LogCleanMax(), LogCleanPeriod(), LogMaxCount(), MacDesktopSkip(), MacDockSkip(), MacFloatOpacity(), MacFloatSkip(), MacFullSkip(), MacMainOpacity(), MacMainSkip(), MaximumCommercialSkip(), MergeShortCommBreaks(), MinRecordDiskThreshold(), MTDConcurrentTranscodes(), MTDNiceLevel(), MTDPortNumber(), MTDRipSize(), MythArchiveDriveSpeed(), MythDbSettings2::MythDbSettings2(), MythFillMaxHour(), MythFillMinHour(), MythFillPeriod(), MythGalleryOverlayCaption(), NetworkControlPort(), OSDCC708TextZoomPercentage(), OSDGeneralTimeout(), OSDNotifyTimeout(), OSDProgramInfoTimeout(), PlaybackProfileItemConfig::PlaybackProfileItemConfig(), PlaybackWLBlackOut(), PlaybackWLMaxAge(), PlayoutAudioCall(), PlayoutVideoCall(), PreviewPixmapOffset(), PVR350EPGAlphaValue(), QtFontBig(), QtFontMedium(), QtFontSmall(), QtFonTweak(), RecordOverTime(), RecordPreRoll(), SetLastPlayWeight(), SetPlayCountWeight(), SetRandomWeight(), SetRatingWeight(), SetSearchMaxResultsReturned(), SlideshowDelay(), StartupSecsBeforeRecording(), ThemeCacheSize(), TimeToAnswer(), TransmitFPS(), VertScanPercentage(), VideoImageCacheSize(), VidModeHeight(), VidModeWidth(), VisualScaleHeight(), VisualScaleWidth(), WOLbackendConnectRetry(), WOLbackendReconnectWaitTime(), XboxCheckRec(), XScanDisplacement(), and YScanDisplacement().

void SpinBoxSetting::valueChanged ( const QString &  name,
int  newValue 
) [signal]

void SpinBoxSetting::relayValueChanged ( int  newValue  )  [private, slot]

Definition at line 506 of file settings.cpp.

Referenced by SpinBoxSetting().


Member Data Documentation

QWidget* SpinBoxSetting::bxwidget [private]

Definition at line 258 of file settings.h.

Referenced by configWidget(), and widgetInvalid().

Definition at line 260 of file settings.h.

Referenced by relayValueChanged().

Definition at line 261 of file settings.h.

Referenced by configWidget().

QString SpinBoxSetting::svtext [private]

Definition at line 262 of file settings.h.

Referenced by configWidget(), and SpinBoxSetting().


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

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