Commit b84d333d authored by nopeppermint's avatar nopeppermint
Browse files

change back qwt corrections

parent 3c48c8c1
...@@ -529,7 +529,7 @@ double QwtText::heightForWidth( double width, const QFont &defaultFont ) const ...@@ -529,7 +529,7 @@ double QwtText::heightForWidth( double width, const QFont &defaultFont ) const
Returns the size, that is needed to render text Returns the size, that is needed to render text
\param defaultFont Font of the text \param defaultFont Font of the text
\return Calculated size \return Caluclated size
*/ */
QSizeF QwtText::textSize( const QFont &defaultFont ) const QSizeF QwtText::textSize( const QFont &defaultFont ) const
{ {
...@@ -637,7 +637,7 @@ void QwtText::draw( QPainter *painter, const QRectF &rect ) const ...@@ -637,7 +637,7 @@ void QwtText::draw( QPainter *painter, const QRectF &rect ) const
returns true. If there is none QwtPlainTextEngine is returned. returns true. If there is none QwtPlainTextEngine is returned.
If no text engine is registered for the format QwtPlainTextEngine If no text engine is registered for the format QwtPlainTextEngine
is returned. is returnd.
\param text Text, needed in case of AutoText \param text Text, needed in case of AutoText
\param format Text format \param format Text format
......
...@@ -181,7 +181,7 @@ double QwtPlainTextEngine::heightForWidth( const QFont& font, int flags, ...@@ -181,7 +181,7 @@ double QwtPlainTextEngine::heightForWidth( const QFont& font, int flags,
\param flags Bitwise OR of the flags used like in QPainter::drawText \param flags Bitwise OR of the flags used like in QPainter::drawText
\param text Text to be rendered \param text Text to be rendered
\return Calculated size \return Caluclated size
*/ */
QSizeF QwtPlainTextEngine::textSize( const QFont &font, QSizeF QwtPlainTextEngine::textSize( const QFont &font,
int flags, const QString& text ) const int flags, const QString& text ) const
...@@ -270,7 +270,7 @@ double QwtRichTextEngine::heightForWidth( const QFont& font, int flags, ...@@ -270,7 +270,7 @@ double QwtRichTextEngine::heightForWidth( const QFont& font, int flags,
\param flags Bitwise OR of the flags used like in QPainter::drawText() \param flags Bitwise OR of the flags used like in QPainter::drawText()
\param text Text to be rendered \param text Text to be rendered
\return Calculated size \return Caluclated size
*/ */
QSizeF QwtRichTextEngine::textSize( const QFont &font, QSizeF QwtRichTextEngine::textSize( const QFont &font,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment