41 QIcon p1(
":/boutonOK.png") ;
42 QIcon p2(
":/boutonAnnuler.png") ;
43 QIcon p3(
":/boutonReinit.png") ;
44 QIcon p4(
":/boutonOptions.png") ;
47 FReinitialiser =
new QPushButton(p3 , *
HTML::decode(
"Reset"),
49 FAnnuler =
new QPushButton(p2 ,
"Close" ,
this) ;
50 FCreer =
new QPushButton(p1 , *
HTML::decode(
"Create") ,
this) ;
51 FOptions =
new QPushButton(p4 ,
"Options" ,
this) ;
61 FReinitialiser->setShortcut(Qt::Key_Space);
62 FOptions->setShortcut(Qt::CTRL + Qt::Key_P);
71 QObject::connect(FReinitialiser , SIGNAL(clicked()) ,
this,
73 QObject::connect(FAnnuler , SIGNAL(clicked()) ,
this,
75 QObject::connect(FCreer , SIGNAL(clicked()) ,
this,
77 QObject::connect(FOptions , SIGNAL(clicked()) ,
this,
84 layout -> addWidget(FReinitialiser) ;
85 layout -> addWidget(FAnnuler) ;
86 layout -> addWidget(FCreer) ;
87 layout -> addWidget(FOptions) ;
91 QToolBar* tl = (QToolBar*) parent;
92 tl -> addWidget(FReinitialiser) ;
93 tl -> addWidget(FAnnuler) ;
94 tl -> addWidget(FCreer) ;
95 tl -> addWidget(FOptions) ;
109 FParent -> getControler()
110 -> modeCreationReinitPosition() ;
112 FParent -> update() ;
113 FParent -> repaint() ;
123 FParent -> getControler()
125 FParent -> repaint() ;
130 FParent -> showOptions() ;