Core: Tree: Allow reordering in root and groups allowing it (parts, groups

This commit is contained in:
PaddleStroke
2024-02-13 09:53:31 +01:00
committed by Chris Hennes
parent cc5d4146cf
commit fec1a86e30
8 changed files with 1038 additions and 746 deletions

View File

@@ -48,6 +48,9 @@ public:
/// deliver the icon shown in the tree view
QIcon getIcon() const override;
/* Check whether the object accept reordering of its children during drop.*/
bool acceptReorderingObjects() const override { return true; };
protected:
void getViewProviders(std::vector<ViewProviderDocumentObject*>&) const;