diff options
author | vng <viktor.govako@gmail.com> | 2011-06-12 12:39:49 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:19:26 +0300 |
commit | 1f90697f1af585087aea489cdb0045e05eca29c2 (patch) | |
tree | 2f821fa7e9c33ec1f36c3e57345cce92a3d46993 /qt/draw_widget.hpp | |
parent | c566cde6fcc3350738fee6108db26888a5fd4beb (diff) |
Make smooth scale control.
Diffstat (limited to 'qt/draw_widget.hpp')
-rw-r--r-- | qt/draw_widget.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt/draw_widget.hpp b/qt/draw_widget.hpp index aaea3b482d..ce50b65ddc 100644 --- a/qt/draw_widget.hpp +++ b/qt/draw_widget.hpp @@ -15,10 +15,10 @@ namespace storage { class Storage; } -class QSlider; - namespace qt { + class QScaleSlider; + /// Replace this to set a draw widget kernel. typedef GLDrawWidget widget_type; @@ -61,7 +61,7 @@ namespace qt public: DrawWidget(QWidget * pParent, storage::Storage & storage); - void SetScaleControl(QSlider * pScale); + void SetScaleControl(QScaleSlider * pScale); void OnEnableMyPosition(LocationRetrievedCallbackT observer); void OnDisableMyPosition(); @@ -101,6 +101,6 @@ namespace qt void UpdateScaleControl(); void StopDragging(QMouseEvent * e); - QSlider * m_pScale; + QScaleSlider * m_pScale; }; } |