#include <mythconfiggroups.h>
Public Slots | |
| 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. | |
Public Member Functions | |
| StackedConfigurationGroup (bool uselabel=true, bool useframe=true, bool zeroMargin=false, bool zeroSpace=false) | |
| virtual void | deleteLater (void) |
| 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. | |
| void | raise (Configurable *child) |
| virtual void | Save (void) |
| virtual void | Save (QString destination) |
| void | setSaveAll (bool b) |
| void | addChild (Configurable *) |
| void | removeChild (Configurable *) |
Protected Member Functions | |
| virtual | ~StackedConfigurationGroup () |
| You need to call deleteLater to delete QObject. | |
Protected Attributes | |
| vector< QWidget * > | childwidget |
| QStackedWidget * | widget |
| ConfigurationGroup * | confgrp |
| uint | top |
| bool | saveAll |
Definition at line 143 of file mythconfiggroups.h.
| StackedConfigurationGroup::StackedConfigurationGroup | ( | bool | uselabel = true, |
|
| bool | useframe = true, |
|||
| bool | zeroMargin = false, |
|||
| bool | zeroSpace = false | |||
| ) | [inline] |
Definition at line 148 of file mythconfiggroups.h.
| StackedConfigurationGroup::~StackedConfigurationGroup | ( | ) | [protected, virtual] |
You need to call deleteLater to delete QObject.
Definition at line 335 of file mythconfiggroups.cpp.
| void StackedConfigurationGroup::deleteLater | ( | void | ) | [virtual] |
Reimplemented from ConfigurationGroup.
Reimplemented in ChannelScannerGUI.
Definition at line 341 of file mythconfiggroups.cpp.
Referenced by ~StackedConfigurationGroup().
| QWidget * StackedConfigurationGroup::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 347 of file mythconfiggroups.cpp.
| void StackedConfigurationGroup::raise | ( | Configurable * | child | ) |
Definition at line 435 of file mythconfiggroups.cpp.
Referenced by TriggeredConfigurationGroup::triggerChanged().
| void StackedConfigurationGroup::Save | ( | void | ) | [virtual] |
Reimplemented from ConfigurationGroup.
Definition at line 454 of file mythconfiggroups.cpp.
Referenced by TriggeredConfigurationGroup::Save(), and Save().
| void StackedConfigurationGroup::Save | ( | QString | destination | ) | [virtual] |
Reimplemented from ConfigurationGroup.
Definition at line 462 of file mythconfiggroups.cpp.
| void StackedConfigurationGroup::setSaveAll | ( | bool | b | ) | [inline] |
Definition at line 166 of file mythconfiggroups.h.
Referenced by TriggeredConfigurationGroup::addTarget().
| void StackedConfigurationGroup::addChild | ( | Configurable * | child | ) |
Reimplemented from ConfigurationGroup.
Definition at line 395 of file mythconfiggroups.cpp.
Referenced by TriggeredConfigurationGroup::addTarget(), ChannelScannerGUI::ChannelScannerGUI(), and ChannelScannerGUI::MonitorProgress().
| void StackedConfigurationGroup::removeChild | ( | Configurable * | child | ) |
Definition at line 412 of file mythconfiggroups.cpp.
Referenced by TriggeredConfigurationGroup::removeTarget().
| void StackedConfigurationGroup::widgetInvalid | ( | QObject * | ) | [virtual, slot] |
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 385 of file mythconfiggroups.cpp.
Referenced by configWidget().
vector<QWidget*> StackedConfigurationGroup::childwidget [protected] |
Definition at line 179 of file mythconfiggroups.h.
Referenced by addChild(), configWidget(), deleteLater(), raise(), removeChild(), widgetInvalid(), and ~StackedConfigurationGroup().
QStackedWidget* StackedConfigurationGroup::widget [protected] |
Definition at line 180 of file mythconfiggroups.h.
Referenced by addChild(), configWidget(), raise(), removeChild(), and widgetInvalid().
ConfigurationGroup* StackedConfigurationGroup::confgrp [protected] |
Definition at line 181 of file mythconfiggroups.h.
Referenced by addChild(), and configWidget().
uint StackedConfigurationGroup::top [protected] |
Definition at line 182 of file mythconfiggroups.h.
Referenced by configWidget(), raise(), and Save().
bool StackedConfigurationGroup::saveAll [protected] |
Definition at line 183 of file mythconfiggroups.h.
Referenced by Save().
1.6.3