KateScrollBar Class Reference
This class is required because QScrollBar's sliderMoved() signal is really supposed to be a sliderDragged() signal... More...
#include <kateviewhelpers.h>

Signals | |
| void | sliderMMBMoved (int value) |
Public Member Functions | |
| KateScrollBar (Qt::Orientation orientation, class KateViewInternal *parent) | |
| void | setShowMarks (bool b) |
| bool | showMarks () |
Protected Slots | |
| void | marksChanged () |
| void | sliderMaybeMoved (int value) |
Protected Member Functions | |
| virtual void | mouseMoveEvent (QMouseEvent *e) |
| virtual void | mousePressEvent (QMouseEvent *e) |
| virtual void | mouseReleaseEvent (QMouseEvent *e) |
| virtual void | paintEvent (QPaintEvent *) |
| virtual void | resizeEvent (QResizeEvent *) |
| virtual void | sliderChange (SliderChange change) |
| virtual void | styleChange (QStyle &oldStyle) |
| virtual void | wheelEvent (QWheelEvent *e) |
Detailed Description
This class is required because QScrollBar's sliderMoved() signal is really supposed to be a sliderDragged() signal...
so this way we can capture MMB slider moves as well
Also, it adds some useful indicators on the scrollbar.
Definition at line 63 of file kateviewhelpers.h.
Constructor & Destructor Documentation
| KateScrollBar::KateScrollBar | ( | Qt::Orientation | orientation, |
| class KateViewInternal * | parent | ||
| ) |
Definition at line 76 of file kateviewhelpers.cpp.
Member Function Documentation
| void KateScrollBar::marksChanged | ( | ) | [protected, slot] |
Definition at line 187 of file kateviewhelpers.cpp.
| void KateScrollBar::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 109 of file kateviewhelpers.cpp.
| void KateScrollBar::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 90 of file kateviewhelpers.cpp.
| void KateScrollBar::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 100 of file kateviewhelpers.cpp.
| void KateScrollBar::paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |
Definition at line 117 of file kateviewhelpers.cpp.
| void KateScrollBar::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Definition at line 152 of file kateviewhelpers.cpp.
| void KateScrollBar::setShowMarks | ( | bool | b | ) | [inline] |
Definition at line 71 of file kateviewhelpers.h.
| bool KateScrollBar::showMarks | ( | ) | [inline] |
Definition at line 70 of file kateviewhelpers.h.
| void KateScrollBar::sliderChange | ( | SliderChange | change | ) | [protected, virtual] |
Definition at line 164 of file kateviewhelpers.cpp.
| void KateScrollBar::sliderMaybeMoved | ( | int | value | ) | [protected, slot] |
Definition at line 244 of file kateviewhelpers.cpp.
| void KateScrollBar::sliderMMBMoved | ( | int | value | ) | [signal] |
| void KateScrollBar::styleChange | ( | QStyle & | oldStyle | ) | [protected, virtual] |
Definition at line 158 of file kateviewhelpers.cpp.
| void KateScrollBar::wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
Definition at line 179 of file kateviewhelpers.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference