MagicSmoke
$VERSION$
|
Backgroup objects for seatplan graphics. More...
#include <srcMOSeatPlanBackground.h>
Public Member Functions | |
MOSeatPlanBackground () | |
default constructor: constructs an invalid instance of MOSeatPlanBackground More... | |
MOSeatPlanBackground (const MOSeatPlanBackground &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOSeatPlanBackground (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOSeatPlanBackground () |
destructor: deletes this copy of the object More... | |
virtual Nullable< qint64 > | angle () const |
GUI: rotation of the group rectangle. More... | |
virtual Nullable< QString > | bgcolor () const |
GUI: background or fill color. More... | |
virtual Nullable< QString > | content () const |
GUI: textual content. More... | |
virtual Nullable< QString > | fgcolor () const |
GUI: foreground, outline or text color. More... | |
virtual Nullable< qint64 > | fontsize () const |
GUI: font size for text elements. More... | |
virtual Nullable< QString > | geo () const |
GUI: geometry information for the group. More... | |
MOSeatPlanBackground & | operator= (const MOSeatPlanBackground &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual void | setangle (Nullable< qint64 > s) |
GUI: rotation of the group rectangle. More... | |
virtual void | setbgcolor (Nullable< QString > s) |
GUI: background or fill color. More... | |
virtual void | setcontent (Nullable< QString > s) |
GUI: textual content. More... | |
virtual void | setfgcolor (Nullable< QString > s) |
GUI: foreground, outline or text color. More... | |
virtual void | setfontsize (Nullable< qint64 > s) |
GUI: font size for text elements. More... | |
virtual void | setgeo (Nullable< QString > s) |
GUI: geometry information for the group. More... | |
virtual void | settype (Nullable< QString > s) |
Type of background element, e.g. "circle", "rect", ... More... | |
QString | toString () |
Serializes the object to XML and returns the string representation of that XML. More... | |
QDomElement | toXml (QDomDocument &doc, QString name="SeatPlanBackground") |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself. More... | |
void | toXml (QDomDocument &, QDomElement &) |
Serializes the object into the given element. More... | |
virtual Nullable< QString > | type () const |
Type of background element, e.g. "circle", "rect", ... More... | |
Static Public Member Functions | |
static MOSeatPlanBackground | fromString (const QString &) |
create MOSeatPlanBackground from XML formatted string (inverse of toString) More... | |
static MOSeatPlanBackground | fromXml (const QDomElement &) |
create MOSeatPlanBackground from XML (inverse of toXml) More... | |
Protected Attributes | |
Nullable< qint64 > | mp_angle |
Nullable< QString > | mp_bgcolor |
Nullable< QString > | mp_content |
Nullable< QString > | mp_fgcolor |
Nullable< qint64 > | mp_fontsize |
Nullable< QString > | mp_geo |
Nullable< QString > | mp_type |
Backgroup objects for seatplan graphics.
|
inline |
default constructor: constructs an invalid instance of MOSeatPlanBackground
Referenced by fromString(), and fromXml().
MOSeatPlanBackground::MOSeatPlanBackground | ( | const MOSeatPlanBackground & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_angle, mp_bgcolor, mp_content, mp_fgcolor, mp_fontsize, mp_geo, and mp_type.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setangle(), setbgcolor(), setcontent(), setfgcolor(), setfontsize(), setgeo(), and settype().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
GUI: rotation of the group rectangle.
|
inlinevirtual |
GUI: background or fill color.
|
inlinevirtual |
GUI: textual content.
|
inlinevirtual |
GUI: foreground, outline or text color.
|
inlinevirtual |
GUI: font size for text elements.
|
static |
create MOSeatPlanBackground from XML formatted string (inverse of toString)
References MOSeatPlanBackground().
|
static |
create MOSeatPlanBackground from XML (inverse of toXml)
References MOSeatPlanBackground().
|
inlinevirtual |
GUI: geometry information for the group.
MOSeatPlanBackground & MOSeatPlanBackground::operator= | ( | const MOSeatPlanBackground & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_angle, mp_bgcolor, mp_content, mp_fgcolor, mp_fontsize, mp_geo, and mp_type.
|
inlinevirtual |
GUI: rotation of the group rectangle.
Referenced by MOSeatPlanBackground().
|
inlinevirtual |
GUI: background or fill color.
Referenced by MOSeatPlanBackground().
|
inlinevirtual |
GUI: textual content.
Referenced by MOSeatPlanBackground().
|
inlinevirtual |
GUI: foreground, outline or text color.
Referenced by MOSeatPlanBackground().
|
inlinevirtual |
GUI: font size for text elements.
Referenced by MOSeatPlanBackground().
|
inlinevirtual |
GUI: geometry information for the group.
Referenced by MOSeatPlanBackground().
|
inlinevirtual |
Type of background element, e.g. "circle", "rect", ...
Referenced by MOSeatPlanBackground().
QString MOSeatPlanBackground::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOSeatPlanBackground::toXml | ( | QDomDocument & | doc, |
QString | name = "SeatPlanBackground" |
||
) |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself.
doc | the DOM document node for which to generate the element |
name | the name to give the generated element, per default "MOSeatPlanBackground" is used |
Referenced by toString().
void MOSeatPlanBackground::toXml | ( | QDomDocument & | doc, |
QDomElement & | r | ||
) |
Serializes the object into the given element.
References mp_angle, mp_bgcolor, mp_content, mp_fgcolor, mp_fontsize, mp_geo, and mp_type.
|
inlinevirtual |
Type of background element, e.g. "circle", "rect", ...
|
protected |
Referenced by MOSeatPlanBackground(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanBackground(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanBackground(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanBackground(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanBackground(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanBackground(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanBackground(), operator=(), and toXml().