From 1148cd855761c8b92d4a284ddb092425d1e1999a Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Tue, 29 Apr 2014 03:47:37 +0000 Subject: [PATCH] Basic shapes, Workaround: QCheckBox cb(tr("Verrouiller la position") setVisible(false); git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3037 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qetgraphicsitem/qetshapeitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/qetgraphicsitem/qetshapeitem.cpp b/sources/qetgraphicsitem/qetshapeitem.cpp index eebd98b43..ece0db948 100644 --- a/sources/qetgraphicsitem/qetshapeitem.cpp +++ b/sources/qetgraphicsitem/qetshapeitem.cpp @@ -222,6 +222,7 @@ void QetShapeItem::editProperty() 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);