Kate
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 60 of file kateviewhelpers.h.
Constructor & Destructor Documentation
| KateScrollBar::KateScrollBar | ( | Qt::Orientation | orientation, | |
| class KateViewInternal * | parent | |||
| ) |
Definition at line 80 of file kateviewhelpers.cpp.
Member Function Documentation
| void KateScrollBar::marksChanged | ( | ) | [protected, slot] |
Definition at line 205 of file kateviewhelpers.cpp.
| void KateScrollBar::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 116 of file kateviewhelpers.cpp.
| void KateScrollBar::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 97 of file kateviewhelpers.cpp.
| void KateScrollBar::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 107 of file kateviewhelpers.cpp.
| void KateScrollBar::paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |
Definition at line 124 of file kateviewhelpers.cpp.
| void KateScrollBar::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Definition at line 156 of file kateviewhelpers.cpp.
| void KateScrollBar::setShowMarks | ( | bool | b | ) | [inline] |
Definition at line 68 of file kateviewhelpers.h.
| bool KateScrollBar::showMarks | ( | ) | [inline] |
Definition at line 67 of file kateviewhelpers.h.
| void KateScrollBar::sliderChange | ( | SliderChange | change | ) | [protected, virtual] |
Definition at line 185 of file kateviewhelpers.cpp.
| void KateScrollBar::sliderMaybeMoved | ( | int | value | ) | [protected, slot] |
Definition at line 258 of file kateviewhelpers.cpp.
| void KateScrollBar::sliderMMBMoved | ( | int | value | ) | [signal] |
| void KateScrollBar::styleChange | ( | QStyle & | oldStyle | ) | [protected, virtual] |
Definition at line 162 of file kateviewhelpers.cpp.
| void KateScrollBar::wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
Definition at line 200 of file kateviewhelpers.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference