Mercurial > hg > dmlib
diff edtimeline.h @ 386:69ca8a83c25a
Add size hints.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 18 Oct 2012 20:10:54 +0300 |
parents | e1c984404b6b |
children | 5137db55f00b |
line wrap: on
line diff
--- a/edtimeline.h Thu Oct 18 20:10:31 2012 +0300 +++ b/edtimeline.h Thu Oct 18 20:10:54 2012 +0300 @@ -17,6 +17,9 @@ void setOffset(const int moffs); void setScale(const float mscale); + QSize minimumSizeHint() const; + QSize sizeHint() const; + protected: void mousePressEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event);