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 }
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
The base class on which all widgets and screens are based.
Definition: mythuitype.h:63
void Reset(void) override
Reset the widget to it's original state, should not reset changes made by the theme.
Definition: mythuigroup.cpp:4
MythUIGroup(MythUIType *parent, const QString &name)
Definition: mythuigroup.h:15
virtual void Reset(void)
Reset the widget to it's original state, should not reset changes made by the theme.
Definition: mythuitype.cpp:69
virtual void CopyFrom(MythUIType *base)
Copy this widgets state from another.
void CopyFrom(MythUIType *base) override
Copy this widgets state from another.
Definition: mythuigroup.cpp:9