Core: Placement dialog

+ replace separate buttons with QDialogButtonBox
+ add convenience method setPlacementAndBindObject
+ use const DocumentObject
This commit is contained in:
wmayer
2024-09-09 12:28:22 +02:00
parent 8925b2ae4d
commit 68ff9989ed
6 changed files with 163 additions and 107 deletions

View File

@@ -50,7 +50,7 @@ public:
/*! Constructs a SelectionObject from the SelectionChanges structure.
*/
explicit SelectionObject(const SelectionChanges& msg);
explicit SelectionObject(App::DocumentObject*);
explicit SelectionObject(const App::DocumentObject*);
~SelectionObject() override;
/**
* The default implementation returns an instance of @ref SelectionObjectPy.