MagicSmoke  $VERSION$
srcMOSeatPlanBackground.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MOSeatPlanBackground
4 #define WOBGEN_MOSeatPlanBackground
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "WObject"
12 #include <QCoreApplication>
13 
16 {
17  Q_GADGET
19  Q_PROPERTY(Nullable<QString> type READ type WRITE settype)
21  Q_PROPERTY(Nullable<QString> geo READ geo WRITE setgeo)
23  Q_PROPERTY(Nullable<QString> bgcolor READ bgcolor WRITE setbgcolor)
25  Q_PROPERTY(Nullable<QString> fgcolor READ fgcolor WRITE setfgcolor)
27  Q_PROPERTY(Nullable<qint64> angle READ angle WRITE setangle)
29  Q_PROPERTY(Nullable<qint64> fontsize READ fontsize WRITE setfontsize)
31  Q_PROPERTY(Nullable<QString> content READ content WRITE setcontent)
32  protected:
33  Nullable<QString> mp_type;
34  Nullable<QString> mp_geo;
35  Nullable<QString> mp_bgcolor;
36  Nullable<QString> mp_fgcolor;
37  Nullable<qint64> mp_angle;
38  Nullable<qint64> mp_fontsize;
39  Nullable<QString> mp_content;
40  public:
42  virtual Nullable<QString> type()const{return mp_type;}
44  virtual Nullable<QString> geo()const{return mp_geo;}
46  virtual Nullable<QString> bgcolor()const{return mp_bgcolor;}
48  virtual Nullable<QString> fgcolor()const{return mp_fgcolor;}
50  virtual Nullable<qint64> angle()const{return mp_angle;}
52  virtual Nullable<qint64> fontsize()const{return mp_fontsize;}
54  virtual Nullable<QString> content()const{return mp_content;}
56  virtual void settype(Nullable<QString> s){mp_type=s;}
58  virtual void setgeo(Nullable<QString> s){mp_geo=s;}
60  virtual void setbgcolor(Nullable<QString> s){mp_bgcolor=s;}
62  virtual void setfgcolor(Nullable<QString> s){mp_fgcolor=s;}
64  virtual void setangle(Nullable<qint64> s){mp_angle=s;}
66  virtual void setfontsize(Nullable<qint64> s){mp_fontsize=s;}
68  virtual void setcontent(Nullable<QString> s){mp_content=s;}
69  public:
71  QString toString();
75  QDomElement toXml(QDomDocument&doc,QString name="SeatPlanBackground");
77  void toXml(QDomDocument&,QDomElement&);
78  public:
80  MOSeatPlanBackground():WObject(){}
84  MOSeatPlanBackground& operator=(const MOSeatPlanBackground&);
86  explicit MOSeatPlanBackground(const QDomElement&);
88  static MOSeatPlanBackground fromXml(const QDomElement&);
90  static MOSeatPlanBackground fromString(const QString&);
93 
94 };
98 
99 //END OF AUTOMATICALLY GENERATED FILE
100 #endif
Nullable< QString > mp_type
Definition: srcMOSeatPlanBackground.h:33
virtual ~MOSeatPlanBackground()
destructor: deletes this copy of the object
Definition: srcMOSeatPlanBackground.h:92
virtual void settype(Nullable< QString > s)
Type of background element, e.g. "circle", "rect", ...
Definition: srcMOSeatPlanBackground.h:56
Backgroup objects for seatplan graphics.
Definition: srcMOSeatPlanBackground.h:15
Nullable< QString > mp_content
Definition: srcMOSeatPlanBackground.h:39
virtual Nullable< QString > fgcolor() const
GUI: foreground, outline or text color.
Definition: srcMOSeatPlanBackground.h:48
virtual void setangle(Nullable< qint64 > s)
GUI: rotation of the group rectangle.
Definition: srcMOSeatPlanBackground.h:64
virtual void setfgcolor(Nullable< QString > s)
GUI: foreground, outline or text color.
Definition: srcMOSeatPlanBackground.h:62
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOSeatPlanBackground.h:8
virtual Nullable< QString > geo() const
GUI: geometry information for the group.
Definition: srcMOSeatPlanBackground.h:44
virtual Nullable< qint64 > angle() const
GUI: rotation of the group rectangle.
Definition: srcMOSeatPlanBackground.h:50
virtual void setbgcolor(Nullable< QString > s)
GUI: background or fill color.
Definition: srcMOSeatPlanBackground.h:60
virtual void setfontsize(Nullable< qint64 > s)
GUI: font size for text elements.
Definition: srcMOSeatPlanBackground.h:66
Nullable< qint64 > mp_fontsize
Definition: srcMOSeatPlanBackground.h:38
Nullable< qint64 > mp_angle
Definition: srcMOSeatPlanBackground.h:37
Nullable< QString > mp_geo
Definition: srcMOSeatPlanBackground.h:34
virtual Nullable< qint64 > fontsize() const
GUI: font size for text elements.
Definition: srcMOSeatPlanBackground.h:52
Nullable< QString > mp_bgcolor
Definition: srcMOSeatPlanBackground.h:35
Nullable< QString > mp_fgcolor
Definition: srcMOSeatPlanBackground.h:36
virtual Nullable< QString > type() const
Type of background element, e.g. "circle", "rect", ...
Definition: srcMOSeatPlanBackground.h:42
virtual void setcontent(Nullable< QString > s)
GUI: textual content.
Definition: srcMOSeatPlanBackground.h:68
Q_DECLARE_METATYPE(QDomNode)
virtual Nullable< QString > bgcolor() const
GUI: background or fill color.
Definition: srcMOSeatPlanBackground.h:46
MOSeatPlanBackground()
default constructor: constructs an invalid instance of MOSeatPlanBackground
Definition: srcMOSeatPlanBackground.h:80
virtual Nullable< QString > content() const
GUI: textual content.
Definition: srcMOSeatPlanBackground.h:54
virtual void setgeo(Nullable< QString > s)
GUI: geometry information for the group.
Definition: srcMOSeatPlanBackground.h:58