#include <settings.h>

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 |
| MythSpinBox * | spinbox |
| bool | relayEnabled |
| bool | sstep |
| QString | svtext |
| 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.
| 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] |
Referenced by configWidget(), relayValueChanged(), and SpinBoxSetting().
| void SpinBoxSetting::relayValueChanged | ( | int | newValue | ) | [private, slot] |
QWidget* SpinBoxSetting::bxwidget [private] |
MythSpinBox* SpinBoxSetting::spinbox [private] |
Definition at line 259 of file settings.h.
Referenced by clearFocus(), configWidget(), hasFocus(), setFocus(), setHelpText(), setValue(), and widgetInvalid().
bool SpinBoxSetting::relayEnabled [private] |
bool SpinBoxSetting::sstep [private] |
QString SpinBoxSetting::svtext [private] |
1.5.5