29 #include <QtGui/QLabel>
35 GMap3d :: CControlerGMap * controler)
40 FAffSub =
new QLabel(
" Subdivisions: " ,
this) ;
41 FAffPar =
new QLabel(*
HTML::decode(
"Parallels: ") ,
this) ;
43 FSaisiePar =
new QSpinBox(
this) ;
44 FSaisiePar -> setMinimum(1);
45 FSaisiePar -> setMaximum(1000);
46 FSaisiePar -> setAccelerated(
true);
48 FAffMer =
new QLabel(*
HTML::decode(
"Meridians: ") ,
this) ;
50 FSaisieMer =
new QSpinBox(
this) ;
51 FSaisieMer -> setMinimum(3);
52 FSaisieMer -> setMaximum(1000);
53 FSaisieMer -> setAccelerated(
true);
57 FBase =
new QCheckBox(
"Basis" ,
this) ;
61 addWidget(FSaisiePar);
64 addWidget(FSaisieMer);
78 QObject::connect(FSaisiePar , SIGNAL(valueChanged(
int)) ,
this,
79 SLOT(callbackParallels())) ;
80 QObject::connect(FSaisieMer , SIGNAL(valueChanged(
int)) ,
this,
81 SLOT(callbackMeridians())) ;
82 QObject::connect(FBase , SIGNAL(stateChanged(
int)) ,
this ,
83 SLOT(callbackCheckedButton())) ;
94 FSaisieMer ->setValue(
FControler->getParameterCreation()
95 ->getPyramidNbMeridians());
96 FSaisiePar->setValue(
FControler->getParameterCreation()
97 ->getPyramidNbParallels());
98 FBase -> setChecked(
FControler->getParameterCreation()->getPyramidClosed());
105 return FSaisieMer -> value();
110 return FSaisiePar -> value();
115 return FBase -> isChecked();
122 FSaisieMer -> setValue(m) ;
123 FControler -> getParameterCreation() -> setPyramidNbMeridians(m) ;
129 FSaisiePar -> setValue(p) ;
130 FControler -> getParameterCreation() -> setPyramidNbParallels(p) ;
136 FBase-> setChecked(b) ;
137 FControler -> getParameterCreation() -> setPyramidClosed(b) ;
142 void CreationPyramide :: callbackMeridians()
147 void CreationPyramide::callbackParallels()
152 void CreationPyramide::callbackCheckedButton()