Added Widget::update() and mapFromGlobal

This commit is contained in:
Sergio Martins
2020-06-11 19:32:21 +01:00
parent 9f44eb3154
commit 16c32cea4b
6 changed files with 28 additions and 1 deletions

View File

@@ -64,6 +64,8 @@ public:
void setSize(int width, int height) override;
void setWidth(int width) override;
void setHeight(int height) override;
void update() override;
QPoint mapFromGlobal(QPoint p) const override;
static QSize widgetMinSize(const QWidget *w);
static QSize widgetMaxSize(const QWidget *w);