QElectroTech
0.70
|
#include <qtextorientationspinboxwidget.h>
Public Slots | |
void | setOrientation (const double &) |
void | setValue (const double &) |
void | setReadOnly (bool) |
Signals | |
void | editingFinished (double) |
void | editingFinished () |
Public Member Functions | |
QTextOrientationSpinBoxWidget (QWidget *=nullptr) | |
~QTextOrientationSpinBoxWidget () override | |
QTextOrientationWidget * | orientationWidget () const |
QDoubleSpinBox * | spinBox () const |
double | orientation () const |
double | value () const |
bool | isReadOnly () const |
Private Slots | |
void | emitChangeSignals () |
Private Member Functions | |
QTextOrientationSpinBoxWidget (const QTextOrientationSpinBoxWidget &) | |
void | build () |
Private Attributes | |
QTextOrientationWidget * | orientation_widget_ |
QDoubleSpinBox * | spin_box_ |
This class provides a widget grouping a QTextOrientationWidget and QSpinBox next to each other.
Definition at line 27 of file qtextorientationspinboxwidget.h.
QTextOrientationSpinBoxWidget::QTextOrientationSpinBoxWidget | ( | QWidget * | parent = nullptr | ) |
Constructeur
parent | QWidget parent de ce QTextOrientationSpinBoxWidget |
Definition at line 24 of file qtextorientationspinboxwidget.cpp.
References build().
|
override |
Destructeur
Definition at line 33 of file qtextorientationspinboxwidget.cpp.
|
private |
|
private |
Construit le widget
Definition at line 101 of file qtextorientationspinboxwidget.cpp.
References editingFinished(), emitChangeSignals(), orientation_widget_, setOrientation(), setValue(), and spin_box_.
Referenced by QTextOrientationSpinBoxWidget().
|
signal |
Signals emitted when users have finished editing the orientation.
|
signal |
Referenced by build(), and emitChangeSignals().
|
privateslot |
Emet le signal orientationEditingFinished avec la valeur de l'orientation en cours
Definition at line 131 of file qtextorientationspinboxwidget.cpp.
References editingFinished(), and orientation().
Referenced by build().
bool QTextOrientationSpinBoxWidget::isReadOnly | ( | ) | const |
Definition at line 69 of file qtextorientationspinboxwidget.cpp.
References orientation_widget_.
double QTextOrientationSpinBoxWidget::orientation | ( | ) | const |
Definition at line 53 of file qtextorientationspinboxwidget.cpp.
References orientation_widget_.
Referenced by emitChangeSignals(), RotateTextsCommand::openDialog(), and value().
QTextOrientationWidget * QTextOrientationSpinBoxWidget::orientationWidget | ( | ) | const |
Definition at line 39 of file qtextorientationspinboxwidget.cpp.
References orientation_widget_.
|
slot |
value | Nouvelle valeur de l'orientation a afficher |
Definition at line 76 of file qtextorientationspinboxwidget.cpp.
References orientation_widget_, setValue(), spin_box_, and value().
Referenced by build(), and setValue().
|
slot |
ro | true pour passer le widget en mode "lecture seule", false sinon |
Definition at line 93 of file qtextorientationspinboxwidget.cpp.
References orientation_widget_, QET::Icons::ro, and spin_box_.
|
slot |
Synonyme pour setOrientation(value)
value | Nouvelle valeur de l'orientation a afficher |
Definition at line 86 of file qtextorientationspinboxwidget.cpp.
References setOrientation(), and value().
Referenced by build(), and setOrientation().
QDoubleSpinBox * QTextOrientationSpinBoxWidget::spinBox | ( | ) | const |
Definition at line 46 of file qtextorientationspinboxwidget.cpp.
References spin_box_.
Referenced by RotateTextsCommand::openDialog().
double QTextOrientationSpinBoxWidget::value | ( | ) | const |
Synonyme pour orientation()
Definition at line 62 of file qtextorientationspinboxwidget.cpp.
References orientation().
Referenced by setOrientation(), and setValue().
|
private |
Definition at line 65 of file qtextorientationspinboxwidget.h.
Referenced by build(), isReadOnly(), orientation(), orientationWidget(), setOrientation(), and setReadOnly().
|
private |
Definition at line 66 of file qtextorientationspinboxwidget.h.
Referenced by build(), setOrientation(), setReadOnly(), and spinBox().