QElectroTech  0.8-dev
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
QTextOrientationSpinBoxWidget Class Reference

#include <qtextorientationspinboxwidget.h>

Inherits QWidget.

Collaboration diagram for QTextOrientationSpinBoxWidget:
Collaboration graph

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
 
QTextOrientationWidgetorientationWidget () 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

QTextOrientationWidgetorientation_widget_
 
QDoubleSpinBox * spin_box_
 

Detailed Description

This class provides a widget grouping a QTextOrientationWidget and QSpinBox next to each other.

See also
QTextOrientationWidget

Constructor & Destructor Documentation

◆ QTextOrientationSpinBoxWidget() [1/2]

QTextOrientationSpinBoxWidget::QTextOrientationSpinBoxWidget ( QWidget *  parent = nullptr)

Constructeur

Parameters
parentQWidget parent de ce QTextOrientationSpinBoxWidget
Here is the call graph for this function:

◆ ~QTextOrientationSpinBoxWidget()

QTextOrientationSpinBoxWidget::~QTextOrientationSpinBoxWidget ( )
override

Destructeur

◆ QTextOrientationSpinBoxWidget() [2/2]

QTextOrientationSpinBoxWidget::QTextOrientationSpinBoxWidget ( const QTextOrientationSpinBoxWidget )
private

Member Function Documentation

◆ build()

void QTextOrientationSpinBoxWidget::build ( )
private

Construit le widget

Here is the call graph for this function:
Here is the caller graph for this function:

◆ editingFinished [1/2]

void QTextOrientationSpinBoxWidget::editingFinished ( )
signal
Here is the caller graph for this function:

◆ editingFinished [2/2]

void QTextOrientationSpinBoxWidget::editingFinished ( double  )
signal

Signals emitted when users have finished editing the orientation.

◆ emitChangeSignals

void QTextOrientationSpinBoxWidget::emitChangeSignals ( )
privateslot

Emet le signal orientationEditingFinished avec la valeur de l'orientation en cours

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isReadOnly()

bool QTextOrientationSpinBoxWidget::isReadOnly ( ) const
Returns
true si le widget est en mode "lecture seule", false sinon

◆ orientation()

double QTextOrientationSpinBoxWidget::orientation ( ) const
Returns
l'orientation en cours
Here is the caller graph for this function:

◆ orientationWidget()

QTextOrientationWidget * QTextOrientationSpinBoxWidget::orientationWidget ( ) const
Returns
un pointeur vers le QTextOrientationWidget

◆ setOrientation

void QTextOrientationSpinBoxWidget::setOrientation ( const double &  value)
slot
Parameters
valueNouvelle valeur de l'orientation a afficher
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setReadOnly

void QTextOrientationSpinBoxWidget::setReadOnly ( bool  ro)
slot
Parameters
rotrue pour passer le widget en mode "lecture seule", false sinon

◆ setValue

void QTextOrientationSpinBoxWidget::setValue ( const double &  value)
slot

Synonyme pour setOrientation(value)

Parameters
valueNouvelle valeur de l'orientation a afficher
See also
setOrientation
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spinBox()

QDoubleSpinBox * QTextOrientationSpinBoxWidget::spinBox ( ) const
Returns
un pointeur vers le QSpinBox
Here is the caller graph for this function:

◆ value()

double QTextOrientationSpinBoxWidget::value ( ) const

Synonyme pour orientation()

Returns
l'orientation en cours
See also
orientation()
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ orientation_widget_

QTextOrientationWidget* QTextOrientationSpinBoxWidget::orientation_widget_
private

◆ spin_box_

QDoubleSpinBox* QTextOrientationSpinBoxWidget::spin_box_
private

The documentation for this class was generated from the following files: