7#include <i2d/CRectangle.h>
10#include <imtreport/CFont.h>
17class CTextLabel:
public i2d::CLabel
20 typedef i2d::CLabel BaseClass;
27 virtual const CFont& GetFont()
const;
32 virtual void SetFont(
const CFont& font);
37 virtual const i2d::CRectangle& GetRectangle()
const;
42 virtual void SetRectangle(
const i2d::CRectangle& rectangle);
47 virtual Qt::Alignment GetAlignment()
const;
52 virtual void SetAlignment(
const Qt::Alignment alignment);
55 virtual bool Serialize(iser::IArchive& archive)
override;
58 virtual int GetSupportedOperations()
const override;
59 virtual bool CopyFrom(
const IChangeable&
object, CompatibilityMode mode = CM_WITHOUT_REFS)
override;
60 virtual bool IsEqual(
const IChangeable&
object)
const override;
61 virtual istd::IChangeableUniquePtr CloneMe(CompatibilityMode mode = CM_WITHOUT_REFS)
const override;
62 virtual bool ResetData(CompatibilityMode mode = CM_WITHOUT_REFS)
override;
66 i2d::CRectangle m_rectangle;
67 Qt::Alignment m_alignment;