Moka Ihm Qt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
champsOperations Class Reference

#include <dialog-operations.qt.hh>

Inheritance diagram for champsOperations:

Public Member Functions

 champsOperations (QToolBar *parent, QBoxLayout *Layout=NULL, bool WithRecuperer=true)
 
 ~champsOperations ()
 
virtual QPushButton * getButtonRecuperer ()
 
virtual FloatSpinBoxgetSaisieX ()
 
virtual FloatSpinBoxgetSaisieY ()
 
virtual FloatSpinBoxgetSaisieZ ()
 
virtual QLabel * getLabelX ()
 
virtual QLabel * getLabelY ()
 
virtual QLabel * getLabelZ ()
 
virtual float getValueX () const
 
virtual float getValueY () const
 
virtual float getValueZ () const
 
virtual void setValueX (float X)
 
virtual void setValueY (float Y)
 
virtual void setValueZ (float Z)
 

Detailed Description

Cette classe implemente 3 QSpinBox ainsi qu'un bouton Recuperer

Definition at line 47 of file dialog-operations.qt.hh.

Constructor & Destructor Documentation

champsOperations::champsOperations ( QToolBar *  parent,
QBoxLayout *  Layout = NULL,
bool  WithRecuperer = true 
)

Construit 3 champs de saisie X , Y , Z ainsi que le bouton Recuperer

Parameters
parentLe Widget parent
LayoutSi NULL, le widget est ajoute a la toolbar parent, sinon il est ajoute au Layout.

Definition at line 37 of file dialog-operations.qt.cc.

champsOperations::~champsOperations ( )

Destructeur

Definition at line 87 of file dialog-operations.qt.cc.

Member Function Documentation

QPushButton * champsOperations::getButtonRecuperer ( )
virtual

Recupere le bouton Recuperer. Cette methode est utile pour poser un SLOT sur le bouton ainsi que pour placer le bouton dans un layout par exemple.

Returns
le pointeur sur le bouton Recuperer

Definition at line 92 of file dialog-operations.qt.cc.

QLabel * champsOperations::getLabelX ( )
virtual
Returns
Le QLabel X

Definition at line 112 of file dialog-operations.qt.cc.

QLabel * champsOperations::getLabelY ( )
virtual
Returns
Le QLabel Y

Definition at line 116 of file dialog-operations.qt.cc.

QLabel * champsOperations::getLabelZ ( )
virtual
Returns
Le Qlabel Z

Definition at line 120 of file dialog-operations.qt.cc.

FloatSpinBox * champsOperations::getSaisieX ( )
virtual
Returns
Le QSpinBox X

Definition at line 97 of file dialog-operations.qt.cc.

FloatSpinBox * champsOperations::getSaisieY ( )
virtual
Returns
Le QSpinBox Y

Definition at line 102 of file dialog-operations.qt.cc.

FloatSpinBox * champsOperations::getSaisieZ ( )
virtual
Returns
Le QSpinBox Z

Definition at line 107 of file dialog-operations.qt.cc.

float champsOperations::getValueX ( ) const
virtual
Returns
La valeur se trouvant dans le QSpinBox X

Definition at line 125 of file dialog-operations.qt.cc.

float champsOperations::getValueY ( ) const
virtual
Returns
La valeur se trouvant dans le QSpinBox Y

Definition at line 130 of file dialog-operations.qt.cc.

float champsOperations::getValueZ ( ) const
virtual
Returns
La valeur se trouvant dans le QSpinBox Z

Definition at line 135 of file dialog-operations.qt.cc.

void champsOperations::setValueX ( float  X)
virtual

Ecrit la valeur X dans le QSpinBox X

Definition at line 142 of file dialog-operations.qt.cc.

void champsOperations::setValueY ( float  Y)
virtual

Ecrit la valeur Y dans le QSpinBox Y

Definition at line 147 of file dialog-operations.qt.cc.

void champsOperations::setValueZ ( float  Z)
virtual

Ecrit la valeur Z dans le QSpinBox Z

Definition at line 152 of file dialog-operations.qt.cc.


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