diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-07-23 01:56:01 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-07-23 01:56:01 (GMT) |
commit | 86b5fc02f59626df5e627e6cefac5be03c199385 (patch) | |
tree | 443c6bfd053d7082a71d30bfde99a1ab30bf4be1 /src/editor.h | |
parent | b33a02b372cb1efff5bf6b177a2360e5d5ba87b3 (diff) |
on control + mousewheel, zoomin/zoomout text (like firefox, IE, etc)
Diffstat (limited to 'src/editor.h')
-rw-r--r-- | src/editor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/editor.h b/src/editor.h index 509cf24..bb338b0 100644 --- a/src/editor.h +++ b/src/editor.h @@ -1,6 +1,7 @@ #include <QObject> #include <QString> #include <QWidget> +#include <QWheelEvent> #ifdef _QCODE_EDIT_ #include <qeditor.h> @@ -33,5 +34,7 @@ public slots: void unindentSelection(); void commentSelection(); void uncommentSelection(); +private: + void wheelEvent ( QWheelEvent * event ); #endif }; |