24 #include <QGridLayout>
26 #include <QHBoxLayout>
41 #define TR(id) OLocalizator::getString("TYPositionDialog", (id))
50 setWindowTitle(
TR(
"id_caption"));
89 QBoxLayout* pBtnLayout =
new QHBoxLayout();
91 pBtnLayout->addStretch(1);
93 QPushButton* pButtonOK =
new QPushButton(
TR(
"id_ok_btn"),
this);
94 pButtonOK->setDefault(
true);
96 pBtnLayout->addWidget(pButtonOK);
98 QPushButton* pButtonCancel =
new QPushButton(
TR(
"id_cancel_btn"),
this);
99 pButtonCancel->setShortcut(Qt::Key_Escape);
100 QObject::connect(pButtonCancel, &QPushButton::clicked,
this, &TYPositionDialog::reject);
101 pBtnLayout->addWidget(pButtonCancel);
All base classes related to 3D manipulation.
outil IHM pour une entrée utilisateur (fichier header)
boite de dialogue pour la gestion de la position selon les modes 'moving', 'rotation',...
double _y
y coordinate of OCoord3D
double _z
z coordinate of OCoord3D
double _x
x coordinate of OCoord3D
OPoint3D _origin
The origin point.
static void setIsSavedOk(const bool &toSave)
const ORepere3D & getORepere3D() const
void setHauteur(const double &hauteur)
Set the heigth above the ground.
double getHauteur()
Get the height above the ground.
TYElement * getElement() const
void setPosition(const OPoint3D &pos)
Set the position of the element.
Classe de definition d'un maillage.
QGridLayout * _groupBoxLayout
TYPositionDialog(TYGeometryNode *pElement, QWidget *_pParent=NULL)
virtual ~TYPositionDialog()
virtual void updateContent()
QGridLayout * _pointLayout
TYGeometryNode * _pElement