#include <mythconfiggroups.h>

Definition at line 140 of file mythconfiggroups.h.
Signals | |
| void | raiseWidget (int) |
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. | |
| 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. | |
| 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 |
| QWidgetStack * | widget |
| ConfigurationGroup * | confgrp |
| uint | top |
| bool | saveAll |
| StackedConfigurationGroup::StackedConfigurationGroup | ( | bool | uselabel = true, |
|
| bool | useframe = true, |
|||
| bool | zeroMargin = false, |
|||
| bool | zeroSpace = false | |||
| ) | [inline] |
Definition at line 145 of file mythconfiggroups.h.
| StackedConfigurationGroup::~StackedConfigurationGroup | ( | ) | [protected, virtual] |
You need to call deleteLater to delete QObject.
Definition at line 309 of file mythconfiggroups.cpp.
| void StackedConfigurationGroup::deleteLater | ( | void | ) | [virtual] |
| 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 321 of file mythconfiggroups.cpp.
| void StackedConfigurationGroup::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 355 of file mythconfiggroups.cpp.
| void StackedConfigurationGroup::raise | ( | Configurable * | child | ) |
Definition at line 400 of file mythconfiggroups.cpp.
| void StackedConfigurationGroup::save | ( | void | ) | [virtual] |
Reimplemented from ConfigurationGroup.
Definition at line 417 of file mythconfiggroups.cpp.
Referenced by TriggeredConfigurationGroup::save().
| void StackedConfigurationGroup::save | ( | QString | destination | ) | [virtual] |
| void StackedConfigurationGroup::setSaveAll | ( | bool | b | ) | [inline] |
Definition at line 164 of file mythconfiggroups.h.
Referenced by TriggeredConfigurationGroup::addTarget().
| void StackedConfigurationGroup::addChild | ( | Configurable * | child | ) |
Reimplemented from ConfigurationGroup.
Definition at line 360 of file mythconfiggroups.cpp.
Referenced by TriggeredConfigurationGroup::addTarget().
| void StackedConfigurationGroup::removeChild | ( | Configurable * | child | ) |
Definition at line 377 of file mythconfiggroups.cpp.
Referenced by TriggeredConfigurationGroup::removeTarget().
| void StackedConfigurationGroup::raiseWidget | ( | int | ) | [signal] |
Referenced by configWidget(), and raise().
vector<QWidget*> StackedConfigurationGroup::childwidget [protected] |
Definition at line 177 of file mythconfiggroups.h.
Referenced by addChild(), configWidget(), deleteLater(), removeChild(), and ~StackedConfigurationGroup().
QWidgetStack* StackedConfigurationGroup::widget [protected] |
Definition at line 178 of file mythconfiggroups.h.
Referenced by addChild(), configWidget(), removeChild(), and widgetInvalid().
ConfigurationGroup* StackedConfigurationGroup::confgrp [protected] |
uint StackedConfigurationGroup::top [protected] |
Definition at line 180 of file mythconfiggroups.h.
Referenced by configWidget(), raise(), and save().
bool StackedConfigurationGroup::saveAll [protected] |
1.5.5