widgets/wrapper: use bindable properties everywhere

Also fixes changes to margin not updating geometry
This commit is contained in:
outfoxxed 2025-05-24 01:25:35 -07:00
parent 8b5b12b722
commit e135de9ec6
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 257 additions and 155 deletions

View file

@ -137,6 +137,9 @@ protected:
void printChildCountWarning() const;
void updateGeometry();
virtual void disconnectChild() {};
virtual void connectChild() {};
QQuickItem* mWrapper = nullptr;
QQuickItem* mAssignedWrapper = nullptr;
QPointer<QQuickItem> mDefaultChild;