|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef Q_TEXT_ORIENTATION_WIDGET_H
19 #define Q_TEXT_ORIENTATION_WIDGET_H
~QTextOrientationWidget() override
Definition: qtextorientationwidget.cpp:55
void paintEvent(QPaintEvent *) override
Definition: qtextorientationwidget.cpp:178
bool read_only_
Whether this widget is read only.
Definition: qtextorientationwidget.h:80
Definition: qtextorientationwidget.h:24
void setUsableTexts(const QStringList &)
Definition: qtextorientationwidget.cpp:118
QStringList usableTexts() const
Definition: qtextorientationwidget.cpp:140
double current_orientation_
current angle
Definition: qtextorientationwidget.h:68
QHash< QString, qreal > text_size_hash_
Associate available example texts with their length (in pixels)
Definition: qtextorientationwidget.h:74
QSize sizeHint() const override
Definition: qtextorientationwidget.cpp:161
double highlight_angle_
Specific angle to be highlighted.
Definition: qtextorientationwidget.h:76
double squares_interval_
Interval between commonly used angles (represented by squares), in degrees.
Definition: qtextorientationwidget.h:66
bool isReadOnly() const
Definition: qtextorientationwidget.cpp:147
QTextOrientationWidget(const QTextOrientationWidget &)
bool must_highlight_angle_
Whether to highlight a specific angle.
Definition: qtextorientationwidget.h:78
QTextOrientationWidget(QWidget *=nullptr)
Definition: qtextorientationwidget.cpp:28
void setDisplayText(bool)
Definition: qtextorientationwidget.cpp:100
QString getMostUsableStringForRadius(const qreal &)
Definition: qtextorientationwidget.cpp:280
QTextOrientationWidget & operator=(const QTextOrientationWidget &)
void setOrientation(const double &)
Definition: qtextorientationwidget.cpp:63
QFont font() const
Definition: qtextorientationwidget.cpp:93
bool positionIsASquare(const QPointF &, double *=nullptr)
Definition: qtextorientationwidget.cpp:325
bool textDisplayed() const
Definition: qtextorientationwidget.cpp:107
QIcon ro
Definition: qeticons.cpp:200
int heightForWidth(int) const override
Definition: qtextorientationwidget.cpp:170
void setReadOnly(bool)
Definition: qtextorientationwidget.cpp:154
double orientation() const
Definition: qtextorientationwidget.cpp:73
bool display_text_
Whether to display an example text.
Definition: qtextorientationwidget.h:70
void mouseMoveEvent(QMouseEvent *) override
Definition: qtextorientationwidget.cpp:247
void setFont(const QFont &)
Definition: qtextorientationwidget.cpp:81
QFont text_font_
Font used to render the example text.
Definition: qtextorientationwidget.h:72
QIcon tr
Definition: qeticons.cpp:206
void orientationChanged(double)
void generateTextSizeHash()
Definition: qtextorientationwidget.cpp:309
void mouseReleaseEvent(QMouseEvent *) override
Definition: qtextorientationwidget.cpp:262