6 #include <qfontmetrics.h>
10 #include "zq_object.hpp"
38 ZqTitle (
const char* szName = NULL);
52 virtual const QPen&
getPen ()
const;
62 virtual const QFont&
getFont ()
const;
65 virtual QFont&
font ();
72 virtual const QString&
getText ()
const;
75 virtual QString&
text ();
97 virtual void redraw (QPainter& paint);
109 void calcSize (QSize& box, QPainter* paint = NULL);
134 static int s_iNameCounter;
139 #include "zq_title_inline.hpp"
Alignment
Definition: zq_title.hpp:25
QString m_qText
Definition: zq_title.hpp:118
QFont m_qFont
Definition: zq_title.hpp:115
virtual QFont & font()
Definition: zq_title_inline.hpp:79
virtual const QString & getText() const
Definition: zq_title_inline.hpp:101
virtual void setText(const QString &text)
Definition: zq_title_inline.hpp:90
virtual void fitTextWidth(bool bFit=true)
Definition: zq_title_inline.hpp:156
QPen m_qPen
Definition: zq_title.hpp:112
bool m_bFitHeight
Definition: zq_title.hpp:125
Definition: zqb_placeholder.hpp:25
virtual const QPen & getPen() const
Definition: zq_title_inline.hpp:35
void calcSize(QSize &box, QPainter *paint=NULL)
virtual void setAlignment(Alignment align)
Definition: zq_title_inline.hpp:123
bool m_bFitWidth
Definition: zq_title.hpp:129
Alignment m_eTextAlign
Definition: zq_title.hpp:121
virtual Alignment getAlignment() const
Definition: zq_title_inline.hpp:134
virtual void setFont(const QFont &font)
Definition: zq_title_inline.hpp:57
Definition: zq_title.hpp:20
virtual void redraw()
Definition: zqb_visible.hpp:82
virtual void fitTextHeight(bool bFit=true)
Definition: zq_title_inline.hpp:145
virtual void setPen(const QPen &pen)
Definition: zq_title_inline.hpp:24
virtual QPen & pen()
Definition: zq_title_inline.hpp:46
Definition: zq_object.hpp:36
virtual void updateLimits(QPainter *paint=NULL)
ZqTitle(const char *szName=NULL)
virtual const QFont & getFont() const
Definition: zq_title_inline.hpp:68
virtual QString & text()
Definition: zq_title_inline.hpp:112