diff options
Diffstat (limited to 'kugar/lib/mlabelobject.h')
-rw-r--r-- | kugar/lib/mlabelobject.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kugar/lib/mlabelobject.h b/kugar/lib/mlabelobject.h index 2b35f233..3526552e 100644 --- a/kugar/lib/mlabelobject.h +++ b/kugar/lib/mlabelobject.h @@ -27,9 +27,9 @@ class MLabelObject : public MReportObject public: /** Font weight constants */ enum FontWeight { Light = 25, Normal = 50, DemiBold = 63, Bold = 75, Black = 87 }; - /**Qt::Horizontal tqalignment constants */ + /**Qt::Horizontal alignment constants */ enum HAlignment { Left = 0, Center, Right }; - /** Vertial tqalignment constants */ + /** Vertial alignment constants */ enum VAlignment { Top = 0, Middle, Bottom }; /** Constructor */ @@ -52,9 +52,9 @@ protected: int fontWeight; /** Label text font italic flag */ bool fontItalic; - /** Lable text horizontal tqalignment */ + /** Lable text horizontal alignment */ int hAlignment; - /** Label text vertical tqalignment */ + /** Label text vertical alignment */ int vAlignment; /** Label text word wrap flag */ bool wordWrap; @@ -70,9 +70,9 @@ public: virtual void setText( const TQString txt ); /** Sets the label's text font - default is Times,10,Normal,false */ void setFont( const TQString family, int size, int weight, bool italic ); - /** Sets the label's horizontal tqalignment -default is Left */ + /** Sets the label's horizontal alignment -default is Left */ void setHorizontalAlignment( int a ); - /** Sets the label's vertical tqalignment - default is Top */ + /** Sets the label's vertical alignment - default is Top */ void setVerticalAlignment( int a ); /** Sets the label's word wrap flag - default is false */ void setWordWrap( bool state ); |