mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
Qt5 built in qwt (#570)
- qt4->qt5 - in built qt5 6.1.5 because rhel7 is not upto date with qt5, removed findqwt.cmake - made a fix in qwt lib (qwt_plot_layout.h) to work with 5.15 and lower versions for qrect constr. - qt5 forms fixed, qt4 many hard coding forms switched to forms including qtabwidget, scrolls etc, fonts moved to forms - docking option enabled by default, removed option to disable docking feature from "Mode" - added qVersionResolve utility functions to handle compatibility before and after qt5.12 - qtplots (ian's code) takes in gain mode enable to set some settings within the class, with proper gain plot ticks - ensure gain plots have no zooming of z axis in 2d and y axis in 1d - removed placeholder text in qpalette in main window form as its not supportd until 5.12 (so using qt5.9 designer insted of qt5.15 to cope) - tab order Servers: - fixed some error messages that were empty for fail in funcs (mostly minor as if this error, major issues)
This commit is contained in:
140
libs/qwt-6.1.5/doc/man/man3/QwtRichTextEngine.3
Normal file
140
libs/qwt-6.1.5/doc/man/man3/QwtRichTextEngine.3
Normal file
@ -0,0 +1,140 @@
|
||||
.TH "QwtRichTextEngine" 3 "Mon Jun 1 2020" "Version 6.1.5" "Qwt User's Guide" \" -*- nroff -*-
|
||||
.ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
QwtRichTextEngine \- A text engine for Qt rich texts\&.
|
||||
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
.PP
|
||||
.PP
|
||||
\fC#include <qwt_text_engine\&.h>\fP
|
||||
.PP
|
||||
Inherits \fBQwtTextEngine\fP\&.
|
||||
.SS "Public Member Functions"
|
||||
|
||||
.in +1c
|
||||
.ti -1c
|
||||
.RI "\fBQwtRichTextEngine\fP ()"
|
||||
.br
|
||||
.RI "Constructor\&. "
|
||||
.ti -1c
|
||||
.RI "virtual double \fBheightForWidth\fP (const QFont &font, int flags, const QString &text, double width) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual QSizeF \fBtextSize\fP (const QFont &font, int flags, const QString &text) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual void \fBdraw\fP (QPainter *painter, const QRectF &rect, int flags, const QString &text) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual bool \fBmightRender\fP (const QString &) const"
|
||||
.br
|
||||
.ti -1c
|
||||
.RI "virtual void \fBtextMargins\fP (const QFont &, const QString &, double &left, double &right, double &top, double &bottom) const"
|
||||
.br
|
||||
.in -1c
|
||||
.SS "Additional Inherited Members"
|
||||
.SH "Detailed Description"
|
||||
.PP
|
||||
A text engine for Qt rich texts\&.
|
||||
|
||||
\fBQwtRichTextEngine\fP renders Qt rich texts using the classes of the Scribe framework of Qt\&.
|
||||
.SH "Member Function Documentation"
|
||||
.PP
|
||||
.SS "void QwtRichTextEngine::draw (QPainter * painter, const QRectF & rect, int flags, const QString & text) const\fC [virtual]\fP"
|
||||
Draw the text in a clipping rectangle
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIpainter\fP Painter
|
||||
.br
|
||||
\fIrect\fP Clipping rectangle
|
||||
.br
|
||||
\fIflags\fP Bitwise OR of the flags like in for QPainter::drawText()
|
||||
.br
|
||||
\fItext\fP Text to be rendered
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implements \fBQwtTextEngine\fP\&.
|
||||
.SS "double QwtRichTextEngine::heightForWidth (const QFont & font, int flags, const QString & text, double width) const\fC [virtual]\fP"
|
||||
Find the height for a given width
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIfont\fP Font of the text
|
||||
.br
|
||||
\fIflags\fP Bitwise OR of the flags used like in QPainter::drawText()
|
||||
.br
|
||||
\fItext\fP Text to be rendered
|
||||
.br
|
||||
\fIwidth\fP Width
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Calculated height
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implements \fBQwtTextEngine\fP\&.
|
||||
.SS "bool QwtRichTextEngine::mightRender (const QString & text) const\fC [virtual]\fP"
|
||||
Test if a string can be rendered by this text engine
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fItext\fP Text to be tested
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Qt::mightBeRichText(text);
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implements \fBQwtTextEngine\fP\&.
|
||||
.SS "void QwtRichTextEngine::textMargins (const QFont &, const QString &, double & left, double & right, double & top, double & bottom) const\fC [virtual]\fP"
|
||||
Return margins around the texts
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIleft\fP Return 0
|
||||
.br
|
||||
\fIright\fP Return 0
|
||||
.br
|
||||
\fItop\fP Return 0
|
||||
.br
|
||||
\fIbottom\fP Return 0
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implements \fBQwtTextEngine\fP\&.
|
||||
.SS "QSizeF QwtRichTextEngine::textSize (const QFont & font, int flags, const QString & text) const\fC [virtual]\fP"
|
||||
Returns the size, that is needed to render text
|
||||
.PP
|
||||
\fBParameters\fP
|
||||
.RS 4
|
||||
\fIfont\fP Font of the text
|
||||
.br
|
||||
\fIflags\fP Bitwise OR of the flags used like in QPainter::drawText()
|
||||
.br
|
||||
\fItext\fP Text to be rendered
|
||||
.RE
|
||||
.PP
|
||||
\fBReturns\fP
|
||||
.RS 4
|
||||
Calculated size
|
||||
.RE
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Implements \fBQwtTextEngine\fP\&.
|
||||
|
||||
.SH "Author"
|
||||
.PP
|
||||
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.
|
Reference in New Issue
Block a user