From: gdd Date: Mon, 10 Oct 2011 14:04:59 +0000 (+0000) Subject: rnc : small GUI modifications X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3c7e1059fb2bdba60e38ab919c254f0a91d6aea4;p=modules%2Fgeom.git rnc : small GUI modifications --- diff --git a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx index 99eaa3e39..780037e17 100644 --- a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx +++ b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx @@ -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); diff --git a/src/EntityGUI/EntityGUI_PictureImportDlg.cxx b/src/EntityGUI/EntityGUI_PictureImportDlg.cxx index 65c684899..57d567f17 100644 --- a/src/EntityGUI/EntityGUI_PictureImportDlg.cxx +++ b/src/EntityGUI/EntityGUI_PictureImportDlg.cxx @@ -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);