Add convenience View::is(Type)

This commit is contained in:
Sergio Martins
2022-03-30 20:46:24 +01:00
parent 17cac581b8
commit 2574e91634
5 changed files with 61 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ public:
bool isMaximized() const override;
QSize maximumSize() const override;
void setSize(int width, int height) override;
bool is(Type) const override;
private:
QWidget *const m_widget;