24 #include <QGridLayout>
26 #include <QHBoxLayout>
42 #define TR(id) OLocalizator::getString("TYPositionDialog", (id))
51 setWindowTitle(
TR(
"id_caption"));
90 QBoxLayout* pBtnLayout =
new QHBoxLayout();
92 pBtnLayout->addStretch(1);
94 QPushButton* pButtonOK =
new QPushButton(
TR(
"id_ok_btn"),
this);
95 pButtonOK->setDefault(
true);
97 pBtnLayout->addWidget(pButtonOK);
99 QPushButton* pButtonCancel =
new QPushButton(
TR(
"id_cancel_btn"),
this);
100 pButtonCancel->setShortcut(Qt::Key_Escape);
101 QObject::connect(pButtonCancel, &QPushButton::clicked,
this, &TYPositionDialog::reject);
102 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
Classe de definition d'un maillage.
QGridLayout * _groupBoxLayout
TYPositionDialog(TYGeometryNode *pElement, QWidget *_pParent=NULL)
virtual ~TYPositionDialog()
virtual void updateContent()
QGridLayout * _pointLayout
TYGeometryNode * _pElement