|
MythTV
0.26-pre
|
#include <settings.h>
Signals | |
| void | pressed () |
| void | pressed (QString name) |
Public Member Functions | |
| ButtonSetting (Storage *_storage, QString _name="button") | |
| 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 | setEnabled (bool b) |
| virtual void | setLabel (QString) |
| virtual void | setHelpText (const QString &) |
Protected Slots | |
| void | SendPressedString () |
Protected Attributes | |
| QString | name |
| MythPushButton * | button |
Definition at line 528 of file settings.h.
| ButtonSetting::ButtonSetting | ( | Storage * | _storage, |
| QString | _name = "button" |
||
| ) | [inline] |
Definition at line 533 of file settings.h.
| QWidget * ButtonSetting::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 1140 of file settings.cpp.
| void ButtonSetting::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 1161 of file settings.cpp.
| void ButtonSetting::setEnabled | ( | bool | b | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 1171 of file settings.cpp.
Referenced by AudioTest::event(), RotorConfig::RotorConfig(), CardInput::SetSourceID(), RotorConfig::SetType(), and AudioTest::toggle().
| void ButtonSetting::setLabel | ( | QString | str | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 1178 of file settings.cpp.
Referenced by AudioConfigSettings::AudioConfigSettings(), AudioTest::AudioTest(), CardInput::CardInput(), ChannelScannerGUIScanPane::ChannelScannerGUIScanPane(), DVBConfigurationGroup::DVBConfigurationGroup(), HDHomeRunConfigurationGroup::HDHomeRunConfigurationGroup(), PlaybackProfileConfig::InitUI(), JumpPane::JumpPane(), PlaybackProfileConfigs::PlaybackProfileConfigs(), RotorConfig::RotorConfig(), AudioTest::toggle(), and XMLTV_generic_config::XMLTV_generic_config().
| void ButtonSetting::setHelpText | ( | const QString & | str | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 1185 of file settings.cpp.
Referenced by AudioConfigSettings::AudioConfigSettings(), AudioTest::AudioTest(), CardInput::CardInput(), DVBConfigurationGroup::DVBConfigurationGroup(), JumpPane::JumpPane(), RotorConfig::RotorConfig(), and XMLTV_generic_config::XMLTV_generic_config().
| void ButtonSetting::pressed | ( | ) | [signal] |
Referenced by configWidget(), and SendPressedString().
| void ButtonSetting::pressed | ( | QString | name | ) | [signal] |
| void ButtonSetting::SendPressedString | ( | void | ) | [protected, slot] |
Definition at line 1166 of file settings.cpp.
Referenced by configWidget().
QString ButtonSetting::name [protected] |
Definition at line 554 of file settings.h.
Referenced by SendPressedString().
MythPushButton* ButtonSetting::button [protected] |
Definition at line 555 of file settings.h.
Referenced by configWidget(), setEnabled(), setHelpText(), setLabel(), and widgetInvalid().
1.7.6.1