KateScrollBar Class Reference

This class is required because QScrollBar's sliderMoved() signal is really supposed to be a sliderDragged() signal. More...

#include <kateviewhelpers.h>

Inheritance diagram for KateScrollBar:
QScrollBar

List of all members.

Signals

void sliderMMBMoved (int value)

Public Member Functions

 KateScrollBar (Orientation orientation, class KateViewInternal *parent, const char *name=0L)
bool showMarks ()
void setShowMarks (bool b)

Protected Slots

void sliderMaybeMoved (int value)
void marksChanged ()

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void paintEvent (QPaintEvent *)
virtual void resizeEvent (QResizeEvent *)
virtual void styleChange (QStyle &oldStyle)
virtual void valueChange ()
virtual void rangeChange ()

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.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys