qtquick: Allow to update the size constraints from QML

This commit is contained in:
Sergio Martins
2021-03-03 10:02:45 +00:00
parent 3684da776d
commit 5040d3a6b6
3 changed files with 12 additions and 1 deletions

View File

@@ -74,6 +74,9 @@ public:
/// Equivalent to Frame::visualItem().
QQuickItem *frameVisualItem() const;
/// @brief Called by QtQuick when min-size changes
Q_INVOKABLE void onGeometryUpdated();
protected:
bool event(QEvent *e) override;