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 (Orientation orientation, class KateViewInternal *parent, const char *name=0L) | |
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 | rangeChange () |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | styleChange (QStyle &oldStyle) |
virtual void | valueChange () |
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 usefull indicators on the scrollbar.
Definition at line 48 of file kateviewhelpers.h.
Constructor & Destructor Documentation
KateScrollBar::KateScrollBar | ( | Orientation | orientation, | |
class KateViewInternal * | parent, | |||
const char * | name = 0L | |||
) |
Definition at line 57 of file kateviewhelpers.cpp.
Member Function Documentation
void KateScrollBar::marksChanged | ( | ) | [protected, slot] |
Definition at line 132 of file kateviewhelpers.cpp.
void KateScrollBar::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 93 of file kateviewhelpers.cpp.
void KateScrollBar::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 74 of file kateviewhelpers.cpp.
void KateScrollBar::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 84 of file kateviewhelpers.cpp.
void KateScrollBar::paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |
Definition at line 101 of file kateviewhelpers.cpp.
void KateScrollBar::rangeChange | ( | ) | [protected, virtual] |
Definition at line 126 of file kateviewhelpers.cpp.
void KateScrollBar::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Definition at line 107 of file kateviewhelpers.cpp.
void KateScrollBar::setShowMarks | ( | bool | b | ) | [inline] |
Definition at line 56 of file kateviewhelpers.h.
bool KateScrollBar::showMarks | ( | ) | [inline] |
Definition at line 55 of file kateviewhelpers.h.
void KateScrollBar::sliderMaybeMoved | ( | int | value | ) | [protected, slot] |
Definition at line 207 of file kateviewhelpers.cpp.
void KateScrollBar::sliderMMBMoved | ( | int | value | ) | [signal] |
void KateScrollBar::styleChange | ( | QStyle & | oldStyle | ) | [protected, virtual] |
Definition at line 113 of file kateviewhelpers.cpp.
void KateScrollBar::valueChange | ( | ) | [protected, virtual] |
Definition at line 120 of file kateviewhelpers.cpp.
The documentation for this class was generated from the following files: