The VTextManager class this class is used to determine whether a collection of text lines can fit int...
VTextManager & operator=(const VTextManager &text)
int GetSourceLinesCount() const
VTextManager::GetSourceLinesCount returns the number of input text lines.
virtual int GetSpacing() const
GetSpacing returns the vertical spacing between the lines.
VTextManager()
VTextManager::VTextManager constructor.
const QFont & GetFont() const
GetFont returns the text base font.
const TextLine & GetSourceLine(int i) const
VTextManager::GetSourceLine returns the reference to i-th text line.
QList< TextLine > GetAllSourceLines() const
void Update(const QString &qsName, const VPieceLabelData &data)
VTextManager::Update updates the text lines with detail data.
virtual ~VTextManager()=default
QList< TextLine > m_liLines
static QList< TextLine > m_patternLabelLines
void setFont(const QFont &font)
SetFont set the text base font.
void FitFontSize(qreal fW, qreal fH)
VTextManager::FitFontSize sets the font size just big enough, so that the text fits into rectangle of...
void SetFontSize(int iFS)
SetFontSize sets the font size.
The TextLine struct holds the information about one text line.
TextLine()
TextLine::TextLine default constructor.