MythTV master
mythuigroup.cpp
Go to the documentation of this file.
1
2#include "mythuigroup.h"
3
5{
7}
8
10{
11 auto *group = dynamic_cast<MythUIGroup *>(base);
12 if (!group)
13 return;
14
16}
17
19{
20 auto *group = new MythUIGroup(parent, objectName());
21 group->CopyFrom(this);
22}
Create a group of widgets.
Definition: mythuigroup.h:12
void Reset(void) override
Reset the widget to it's original state, should not reset changes made by the theme.
Definition: mythuigroup.cpp:4
void CreateCopy(MythUIType *parent) override
Copy the state of this widget to the one given, it must be of the same type.
Definition: mythuigroup.cpp:18
MythUIGroup(MythUIType *parent, const QString &name)
Definition: mythuigroup.h:15
void CopyFrom(MythUIType *base) override
Copy this widgets state from another.
Definition: mythuigroup.cpp:9
The base class on which all widgets and screens are based.
Definition: mythuitype.h:86
virtual void CopyFrom(MythUIType *base)
Copy this widgets state from another.
virtual void Reset(void)
Reset the widget to it's original state, should not reset changes made by the theme.
Definition: mythuitype.cpp:73