]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
rnc : small GUI modifications
authorgdd <gdd>
Mon, 10 Oct 2011 14:04:59 +0000 (14:04 +0000)
committergdd <gdd>
Mon, 10 Oct 2011 14:04:59 +0000 (14:04 +0000)
src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx
src/EntityGUI/EntityGUI_PictureImportDlg.cxx

index 99eaa3e39bbc33edc1e4c10c0eb70a39349bd7ea..780037e171068c4ca349d28632a99fe1da46d2dd 100644 (file)
@@ -152,13 +152,14 @@ EntityGUI_FeatureDetectorDlg::EntityGUI_FeatureDetectorDlg( GeometryGUI* theGeom
   myPushButton->setCheckable(true);
   
   mySelButton = new QPushButton(mySelectionGroup);
+  mySelButton->setIcon(image1);
   myLineEdit = new QLineEdit(mySelectionGroup);
   
   mySnapshotLabel = new QLabel(mySelectionGroup);
-  mySelectGrpLayout->addWidget(myLineEdit,      0, 0);
-  mySelectGrpLayout->addWidget(mySelButton,     0, 1);
-  mySelectGrpLayout->addWidget(mySnapshotLabel, 1, 0);
-  mySelectGrpLayout->addWidget(myPushButton,    1, 1);
+  mySelectGrpLayout->addWidget(myLineEdit,      0, 1);
+  mySelectGrpLayout->addWidget(mySelButton,     0, 0);
+  mySelectGrpLayout->addWidget(mySnapshotLabel, 1, 1);
+  mySelectGrpLayout->addWidget(myPushButton,    1, 0);
   
   myCoordGrp1 = new QGroupBox(tr("GEOM_SCALING"), centralWidget());
   QGridLayout* myCoordGrpLayout = new QGridLayout(myCoordGrp1);
index 65c68489974f7fd34d99da41fcb8d201d949e3ea..57d567f17b30836c5c255329caefdbeee413f4c8 100644 (file)
@@ -79,6 +79,7 @@ EntityGUI_PictureImportDlg::EntityGUI_PictureImportDlg( GeometryGUI* theGeometry
   QHBoxLayout* myFileSelGrpLayout = new QHBoxLayout(GroupFileSel );
   myPushButton = new QPushButton( GroupFileSel );
   myLineEdit = new QLineEdit( GroupFileSel );
+  myPushButton->setText("...");
   
   myFileSelGrpLayout->addWidget( myLineEdit, 1);
   myFileSelGrpLayout->addWidget( myPushButton, 0);