mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
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
This commit is contained in:
@@ -222,6 +222,7 @@ void QetShapeItem::editProperty()
|
|||||||
QCheckBox cb(tr("Verrouiller la position"), &property_dialog);
|
QCheckBox cb(tr("Verrouiller la position"), &property_dialog);
|
||||||
cb.setChecked(!is_movable_);
|
cb.setChecked(!is_movable_);
|
||||||
dialog_layout.addWidget(&cb);
|
dialog_layout.addWidget(&cb);
|
||||||
|
cb.setVisible(false);
|
||||||
|
|
||||||
//dialog button, box
|
//dialog button, box
|
||||||
QDialogButtonBox dbb(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
|
QDialogButtonBox dbb(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
|
||||||
|
|||||||
Reference in New Issue
Block a user