[qet] [3037] Basic shapes, Workaround: QCheckBox cb(tr("Verrouiller la position") setVisible(false); |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3037
Author: scorpio810
Date: 2014-04-29 05:47:37 +0200 (Tue, 29 Apr 2014)
Log Message:
-----------
Basic shapes, Workaround: QCheckBox cb(tr("Verrouiller la position") setVisible(false);
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/qetshapeitem.cpp
Modified: trunk/sources/qetgraphicsitem/qetshapeitem.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/qetshapeitem.cpp 2014-04-28 20:51:23 UTC (rev 3036)
+++ trunk/sources/qetgraphicsitem/qetshapeitem.cpp 2014-04-29 03:47:37 UTC (rev 3037)
@@ -222,6 +222,7 @@
QCheckBox cb(tr("Verrouiller la position"), &property_dialog);
cb.setChecked(!is_movable_);
dialog_layout.addWidget(&cb);
+ cb.setVisible(false);
//dialog button, box
QDialogButtonBox dbb(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);