|
Public Member Functions |
| Object (const String &name=String::null, Variant value=0, AggregateType aggregate=AggNone, String posx=0, String posy=0, String sizex=0, String sizey=0, const String &style=String::null, const String &url=String::null, const String &tag=String::null, const Variant &marginleft=0, const Variant &marginright=0, const Variant &margintop=0, const Variant &marginbottom=0, const Variant &visible=true, const Variant &supressed=false, const Variant &fontfamily=String::null, const Variant &fontsize=12, const Variant &fontweight=0, const Variant &fontitalic=false, const Variant &mask=String::null, const Variant &format=String::null, const Variant &halignment=AlignAuto, const Variant &valignment=AlignTop, const Variant &maxlines=0, const Variant &minfontsize=8, const Variant &adjustment=AdjustTrim, const Variant &textcolor=Qt::black, const Variant &backcolor=Qt::white, const Variant &bordercolor=Qt::black, const Variant &borderwidth=0, const Variant &borderstyle=BorderNone, const Variant &backgroundimage=String::null) |
Variant::Type | getType () const |
bool | valueChanged () const |
void | setRealValue (Variant value) |
Object * | getParent () const |
void | setReport (class Report *report) |
String | getText () const |
String | getText (const String &mask, const String &format, const Formatter &f) const |
void | fixMeasures (UnitsType outunit, Measure outsizex, Measure outsizey, UnitsType repunit, Measure repsizex, Measure repsizey) |
void | calcAggregateValue (uint level) |
void | resetAggregateValues (uint levels, uint level) |
Measure | getFixedPosX () const |
Measure | getFixedPosY () const |
Measure | getFixedSizeX () const |
Measure | getFixedSizeY () const |
Measure | getFixedMarginLeft () const |
Measure | getFixedMarginRight () const |
Measure | getFixedMarginTop () const |
Measure | getFixedMarginBottom () const |
bool | isConst () const |
void | setConst (bool isconst) |
Variant | getRealValue () const |
const String & | getName () const |
void | setName (const String &name) |
Variant | getValue () const |
void | setValue (Variant value) |
AggregateType | getAggregate () const |
void | setAggregate (AggregateType aggregate) |
String | getPosX () const |
void | setPosX (String posx) |
String | getPosY () const |
void | setPosY (String posy) |
String | getSizeX () const |
void | setSizeX (String sizex) |
String | getSizeY () const |
void | setSizeY (String sizey) |
String | getStyle () const |
void | setStyle (const String &style) |
String | getUrl () const |
void | setUrl (const String &url) |
String | getTag () const |
void | setTag (const String &tag) |
String | getMarginLeft () const |
bool | isNullMarginLeft () const |
void | setMarginLeft (const Variant &marginleft) |
String | getMarginRight () const |
bool | isNullMarginRight () const |
void | setMarginRight (const Variant &marginright) |
String | getMarginTop () const |
bool | isNullMarginTop () const |
void | setMarginTop (const Variant &margintop) |
String | getMarginBottom () const |
bool | isNullMarginBottom () const |
void | setMarginBottom (const Variant &marginbottom) |
bool | isVisible () const |
bool | isNullVisible () const |
void | setVisible (const Variant &visible) |
bool | isSupressed () const |
bool | isNullSupressed () const |
void | setSupressed (const Variant &supressed) |
String | getFontFamily () const |
bool | isNullFontFamily () const |
void | setFontFamily (const Variant &fontfamily) |
int | getFontSize () const |
bool | isNullFontSize () const |
void | setFontSize (const Variant &fontsize) |
int | getFontWeight () const |
bool | isNullFontWeight () const |
void | setFontWeight (const Variant &fontweight) |
bool | isFontItalic () const |
bool | isNullFontItalic () const |
void | setFontItalic (const Variant &fontitalic) |
String | getMask () const |
bool | isNullMask () const |
void | setMask (const Variant &mask) |
String | getFormat () const |
bool | isNullFormat () const |
void | setFormat (const Variant &format) |
AlignmentType | getHAlignment () const |
bool | isNullHAlignment () const |
void | setHAlignment (const Variant &halignment) |
AlignmentType | getVAlignment () const |
bool | isNullVAlignment () const |
void | setVAlignment (const Variant &valignment) |
int | getMaxLines () const |
bool | isNullMaxLines () const |
void | setMaxLines (const Variant &maxlines) |
int | getMinFontSize () const |
bool | isNullMinFontSize () const |
void | setMinFontSize (const Variant &minfontsize) |
AdjustmentType | getAdjustment () const |
bool | isNullAdjustment () const |
void | setAdjustment (const Variant &adjustment) |
Color | getTextColor () const |
bool | isNullTextColor () const |
void | setTextColor (const Variant &textcolor) |
Color | getBackColor () const |
bool | isNullBackColor () const |
void | setBackColor (const Variant &backcolor) |
Color | getBorderColor () const |
bool | isNullBorderColor () const |
void | setBorderColor (const Variant &bordercolor) |
int | getBorderWidth () const |
bool | isNullBorderWidth () const |
void | setBorderWidth (const Variant &borderwidth) |
BorderStyle | getBorderStyle () const |
bool | isNullBorderStyle () const |
void | setBorderStyle (const Variant &borderstyle) |
String | getBackgroundImage () const |
bool | isNullBackgroundImage () const |
void | setBackgroundImage (const Variant &backgroundimage) |
virtual int | debug_print () const |
Protected Member Functions |
void | setParent (Object *parent) |
UnitsType | getUnits (String value, UnitsType defaultunits) |
Measure | getMeasure (String value) |
Protected Attributes |
String | mName |
Variant | mValue |
AggregateType | mAggregate |
String | mPosX |
String | mPosY |
String | mSizeX |
String | mSizeY |
String | mStyle |
String | mUrl |
String | mTag |
Variant | mMarginLeft |
Variant | mMarginRight |
Variant | mMarginTop |
Variant | mMarginBottom |
Variant | mVisible |
Variant | mSupressed |
Variant | mFontFamily |
Variant | mFontSize |
Variant | mFontWeight |
Variant | mFontItalic |
Variant | mMask |
Variant | mFormat |
Variant | mHAlignment |
Variant | mVAlignment |
Variant | mMaxLines |
Variant | mMinFontSize |
Variant | mAdjustment |
Variant | mTextColor |
Variant | mBackColor |
Variant | mBorderColor |
Variant | mBorderWidth |
Variant | mBorderStyle |
Variant | mBackgroundImage |
Friends |
class | Section |