32 #include <QtGui/QPixmap>
37 GMap3d :: CControlerGMap * controler)
40 controler , Qt::BottomToolBarArea)
43 QIcon p1(
":/boutonReinit.png") ;
48 QIcon p2(
":/boutonAnnuler.png") ;
49 FClose =
new QPushButton(p2 ,
"Close") ;
50 FClose -> setShortcut(Qt :: Key_Space) ;
56 addWidget(FSaisieTranslate);
62 connect(
FSaisie -> getSaisieX() , SIGNAL(valueChanged(
double)) ,
63 this , SLOT(callbackVx())) ;
65 connect(
FSaisie -> getSaisieY() , SIGNAL(valueChanged(
double)) ,
66 this , SLOT(callbackVy())) ;
68 connect(
FSaisie -> getSaisieZ() , SIGNAL(valueChanged(
double)) ,
69 this , SLOT(callbackVz())) ;
71 connect(
FSaisie -> getButtonRecuperer() , SIGNAL(clicked()) ,
72 this, SLOT(callbackTakeVector())) ;
74 connect(FReinit , SIGNAL(clicked()) ,
75 this , SLOT(callbackReinitVector())) ;
77 connect(FSaisieTranslate , SIGNAL(clicked()) ,
78 this , SLOT(callbackTogglePonderation())) ;
80 connect(
FClose , SIGNAL(clicked()) ,
101 -> getObjectTranslationPonderation()) ;
109 void dialogTranslation :: callbackVx()
115 void dialogTranslation :: callbackVy()
121 void dialogTranslation :: callbackVz()
127 void dialogTranslation :: callbackTakeVector()
139 void dialogTranslation :: callbackReinitVector()
144 void dialogTranslation :: callbackTogglePonderation()
146 getControler() -> toggleObjectTranslationPonderation() ;
155 return getControler() -> getObjectTranslationVector() . getX() ;
161 return getControler() -> getObjectTranslationVector() . getY() ;
167 return getControler() -> getObjectTranslationVector() . getZ() ;