[qet] [2204] Fix size widget conductorpropertieswidget in config dialog |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2204
Author: scorpio810
Date: 2013-06-03 08:45:17 +0200 (Mon, 03 Jun 2013)
Log Message:
-----------
Fix size widget conductorpropertieswidget in config dialog
Modified Paths:
--------------
trunk/sources/conductorpropertieswidget.cpp
trunk/sources/diagramview.cpp
Modified: trunk/sources/conductorpropertieswidget.cpp
===================================================================
--- trunk/sources/conductorpropertieswidget.cpp 2013-06-03 06:40:46 UTC (rev 2203)
+++ trunk/sources/conductorpropertieswidget.cpp 2013-06-03 06:45:17 UTC (rev 2204)
@@ -116,7 +116,7 @@
QHBoxLayout *singleline_layout1 = new QHBoxLayout();
preview = new QLabel();
- preview -> setFixedSize(96, 96);
+ preview -> setFixedSize(150, 150);
singleline_layout1 -> addWidget(preview);
singleline_layout1 -> addLayout(singleline_layout2);
Modified: trunk/sources/diagramview.cpp
===================================================================
--- trunk/sources/diagramview.cpp 2013-06-03 06:40:46 UTC (rev 2203)
+++ trunk/sources/diagramview.cpp 2013-06-03 06:45:17 UTC (rev 2204)
@@ -586,9 +586,8 @@
layout_v.addLayout(hlayout1);
layout_v.addStretch();
layout_v.addWidget(&boutons);
- //workaround to get a good size by default with this widget
- popup.setMinimumSize(popup.minimumSizeHint());
+
// si le dialogue est accepte
if (popup.exec() == QDialog::Accepted && !diagram_is_read_only) {
TitleBlockProperties new_titleblock = titleblock_infos -> titleBlockProperties();