#include <settings.h>

Definition at line 557 of file 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 | setHelpText (const QString &) |
Protected Slots | |
| void | SendPressedString () |
Protected Attributes | |
| QString | name |
| MythPushButton * | button |
| ButtonSetting::ButtonSetting | ( | Storage * | _storage, | |
| QString | _name = "button" | |||
| ) | [inline] |
Definition at line 562 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 1136 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 1157 of file settings.cpp.
| void ButtonSetting::setEnabled | ( | bool | b | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 1167 of file settings.cpp.
Referenced by ChannelEditor::ChannelEditor(), ImportIconsWizard::enableControls(), RotorConfig::RotorConfig(), CardInput::SetSourceID(), and RotorConfig::SetType().
| void ButtonSetting::setHelpText | ( | const QString & | str | ) | [virtual] |
Reimplemented from Configurable.
Definition at line 1174 of file settings.cpp.
Referenced by CardInput::CardInput(), ChannelEditor::ChannelEditor(), DVBConfigurationGroup::DVBConfigurationGroup(), EditVisualizationModes(), JumpPane::JumpPane(), RotorConfig::RotorConfig(), and ImportIconsWizard::startDialog().
| void ButtonSetting::pressed | ( | ) | [signal] |
Referenced by configWidget(), and SendPressedString().
| void ButtonSetting::pressed | ( | QString | name | ) | [signal] |
| void ButtonSetting::SendPressedString | ( | void | ) | [protected, slot] |
QString ButtonSetting::name [protected] |
MythPushButton* ButtonSetting::button [protected] |
Definition at line 582 of file settings.h.
Referenced by configWidget(), setEnabled(), setHelpText(), and widgetInvalid().
1.5.5