[qet] [2669] Editor: gathering combobox style and line_weight in same layout

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2669
Author:   scorpio810
Date:     2013-12-26 15:08:35 +0100 (Thu, 26 Dec 2013)
Log Message:
-----------
Editor: gathering combobox style and line_weight in same layout

Modified Paths:
--------------
    trunk/sources/editor/styleeditor.cpp

Modified: trunk/sources/editor/styleeditor.cpp
===================================================================
--- trunk/sources/editor/styleeditor.cpp	2013-12-25 02:05:41 UTC (rev 2668)
+++ trunk/sources/editor/styleeditor.cpp	2013-12-26 14:08:35 UTC (rev 2669)
@@ -82,20 +82,16 @@
 	QHBoxLayout *style_layout = new QHBoxLayout();
 	style_layout -> addWidget(new QLabel(tr("Style : ")), 0, Qt::AlignRight);
 	style_layout -> addWidget(line_style);
+	style_layout -> addSpacing(10);
+	style_layout -> addWidget(new QLabel(tr("\311paisseur : ")), 0, Qt::AlignRight);
+	style_layout -> addWidget(size_weight);
 	main_layout -> addLayout(style_layout);
 
-
-	QHBoxLayout *weight_layout = new QHBoxLayout();
-	weight_layout -> addWidget(new QLabel(tr("\311paisseur : ")), 0, Qt::AlignRight);
-	weight_layout -> addWidget(size_weight);
-	main_layout -> addLayout(weight_layout);
 	main_layout -> addWidget(antialiasing);
 
 	main_layout -> addSpacing(10);
 	main_layout -> addWidget(new QLabel("<u>" + tr("G\351om\351trie :") + "</u> "));
 	main_layout -> addStretch();
-
-
 	setLayout(main_layout);
 }
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/