From 3c7e1059fb2bdba60e38ab919c254f0a91d6aea4 Mon Sep 17 00:00:00 2001 From: gdd Date: Mon, 10 Oct 2011 14:04:59 +0000 Subject: [PATCH] rnc : small GUI modifications --- src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx | 9 +++++---- src/EntityGUI/EntityGUI_PictureImportDlg.cxx | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) 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); -- 2.39.2