28 #include <QtGui/QVBoxLayout>
29 #include <QtGui/QLabel>
35 QWidget ( parentTab ) ,
40 QVBoxLayout * glo_hbl =
new QVBoxLayout(
this) ;
44 QVBoxLayout * dep_vbl =
new QVBoxLayout(gb_dep);
47 QWidget * wid_rotation =
new QWidget;
48 QHBoxLayout * rot_hbl =
new QHBoxLayout(wid_rotation) ;
51 saisie_angle -> setWrapping (
true ) ;
53 rot_hbl -> addWidget (
new QLabel (
"Rotation angle: "), 0, Qt::AlignLeft);
54 rot_hbl -> addWidget (saisie_angle, 1, Qt::AlignLeft);
57 QWidget * wid_pas =
new QWidget;
58 QHBoxLayout * pas_hbl =
new QHBoxLayout(wid_pas) ;
62 pas_hbl -> addWidget (
new QLabel (
"Step: "), 0, Qt::AlignLeft);
63 pas_hbl -> addWidget (saisie_pas, 1, Qt::AlignLeft);
66 dep_vbl -> addWidget(wid_rotation);
67 dep_vbl -> addWidget(wid_pas);
69 glo_hbl -> addWidget(gb_dep);
70 glo_hbl -> addStretch(2);
73 connect(saisie_angle, SIGNAL(valueChanged(
double)),
76 connect(saisie_pas, SIGNAL(valueChanged(
double)),
93 CParameterEyePosition * eye = FParent -> getParameterEyePosition();
94 saisie_angle -> setValuef(eye -> getAngleRotation());
95 saisie_pas -> setValuef(eye -> getPasAvancement());
104 FParent -> getParameterEyePosition() -> setAngleRotation(val);
111 FParent -> getParameterEyePosition() -> setPasAvancement(val);