MagicSmoke  $VERSION$
MOSeatPlanBackground Class Reference

Backgroup objects for seatplan graphics. More...

#include <srcMOSeatPlanBackground.h>

Inheritance diagram for MOSeatPlanBackground:

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...
 
MOSeatPlanBackgroundoperator= (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
 

Detailed Description

Backgroup objects for seatplan graphics.

Constructor & Destructor Documentation

MOSeatPlanBackground::MOSeatPlanBackground ( )
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.

MOSeatPlanBackground::MOSeatPlanBackground ( const QDomElement &  root)
explicit

special constructor: create from the XML representation, deserializing the object

References setangle(), setbgcolor(), setcontent(), setfgcolor(), setfontsize(), setgeo(), and settype().

virtual MOSeatPlanBackground::~MOSeatPlanBackground ( )
inlinevirtual

destructor: deletes this copy of the object

Member Function Documentation

virtual Nullable<qint64> MOSeatPlanBackground::angle ( ) const
inlinevirtual

GUI: rotation of the group rectangle.

virtual Nullable<QString> MOSeatPlanBackground::bgcolor ( ) const
inlinevirtual

GUI: background or fill color.

virtual Nullable<QString> MOSeatPlanBackground::content ( ) const
inlinevirtual

GUI: textual content.

virtual Nullable<QString> MOSeatPlanBackground::fgcolor ( ) const
inlinevirtual

GUI: foreground, outline or text color.

virtual Nullable<qint64> MOSeatPlanBackground::fontsize ( ) const
inlinevirtual

GUI: font size for text elements.

MOSeatPlanBackground MOSeatPlanBackground::fromString ( const QString &  txt)
static

create MOSeatPlanBackground from XML formatted string (inverse of toString)

References MOSeatPlanBackground().

MOSeatPlanBackground MOSeatPlanBackground::fromXml ( const QDomElement &  root)
static

create MOSeatPlanBackground from XML (inverse of toXml)

References MOSeatPlanBackground().

virtual Nullable<QString> MOSeatPlanBackground::geo ( ) const
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.

virtual void MOSeatPlanBackground::setangle ( Nullable< qint64 >  s)
inlinevirtual

GUI: rotation of the group rectangle.

Referenced by MOSeatPlanBackground().

virtual void MOSeatPlanBackground::setbgcolor ( Nullable< QString >  s)
inlinevirtual

GUI: background or fill color.

Referenced by MOSeatPlanBackground().

virtual void MOSeatPlanBackground::setcontent ( Nullable< QString >  s)
inlinevirtual

GUI: textual content.

Referenced by MOSeatPlanBackground().

virtual void MOSeatPlanBackground::setfgcolor ( Nullable< QString >  s)
inlinevirtual

GUI: foreground, outline or text color.

Referenced by MOSeatPlanBackground().

virtual void MOSeatPlanBackground::setfontsize ( Nullable< qint64 >  s)
inlinevirtual

GUI: font size for text elements.

Referenced by MOSeatPlanBackground().

virtual void MOSeatPlanBackground::setgeo ( Nullable< QString >  s)
inlinevirtual

GUI: geometry information for the group.

Referenced by MOSeatPlanBackground().

virtual void MOSeatPlanBackground::settype ( Nullable< QString >  s)
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.

Parameters
docthe DOM document node for which to generate the element
namethe 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.

virtual Nullable<QString> MOSeatPlanBackground::type ( ) const
inlinevirtual

Type of background element, e.g. "circle", "rect", ...

Member Data Documentation

Nullable<qint64> MOSeatPlanBackground::mp_angle
protected
Nullable<QString> MOSeatPlanBackground::mp_bgcolor
protected
Nullable<QString> MOSeatPlanBackground::mp_content
protected
Nullable<QString> MOSeatPlanBackground::mp_fgcolor
protected
Nullable<qint64> MOSeatPlanBackground::mp_fontsize
protected
Nullable<QString> MOSeatPlanBackground::mp_geo
protected
Nullable<QString> MOSeatPlanBackground::mp_type
protected

The documentation for this class was generated from the following files: