diff options
Diffstat (limited to 'simple-visualization/qmppianowidget.hpp')
-rw-r--r-- | simple-visualization/qmppianowidget.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/simple-visualization/qmppianowidget.hpp b/simple-visualization/qmppianowidget.hpp index 22af6ce..cca643c 100644 --- a/simple-visualization/qmppianowidget.hpp +++ b/simple-visualization/qmppianowidget.hpp @@ -12,6 +12,8 @@ class qmpPianoWidget : public QWidget void setKeyState(int key,bool state); void reset(); QSize minimumSizeHint()const override; + bool hasHeightForWidth()const override; + int heightForWidth(int w)const override; protected: void paintEvent(QPaintEvent *event)override; |