The QScrollBar widget class provides a vertical or horizontal scroll bar. (details) (complete member list)
#include <qscrbar.h>
Inherits QRangeControl and QWidget.
Constructs a vertical scroll bar.
The parent and name arguments are sent to the QWidget constructor.
Constructs a scroll bar.
The orientation must be QScrollBar::Vertical or QScrollBar::Horizontal.
The parent and name arguments are sent to the QWidget constructor.
Constructs a scroll bar.
Arguments:
Handles key press events for the scroll bar.
Handles mouse move events for the scroll bar.
Handles mouse press events for the scroll bar.
Handles mouse release events for the scroll bar.
This signal is emitted when the scroll bar scrolls one line down/right.
This signal is emitted when the scroll bar scrolls one page down/right.
Returns the scroll bar orientation; QScrollBar::Vertical or QScrollBar::Horizontal.
See also: setOrientation().
Handles paint events for the scroll bar.
This signal is emitted when the scroll bar scrolls one line up/left.
This signal is emitted when the scroll bar scrolls one page up/left.
.
Handles resize events for the scroll bar.
Sets the scroll bar orientation. The orientation must be QScrollBar::Vertical or QScrollBar::Horizontal.
See also: orientation().
Reimplements the virtual function QWidget::setPalette().
Sets the background color to the mid color for Motif style scroll bars.
Enables scroll bar tracking if enable is TRUE, or disables tracking if enable is FALSE.
If tracking is enabled (default), the scroll bar emits the valueChanged() signal whenever the slider is dragged. If tracking is disabled, the scroll bar emits the valueChanged() signal not before the user relases the mouse button.
See also: tracking().
This signal is emitted when the slider is dragged, with the new scroll bar value as an argument.
This signal is emitted when the user presses the slider with the mouse.
Returns the scroll bar slider rectangle.
See also: sliderStart().
This signal is emitted when the user releases the slider with the mouse.
Returns the pixel position where the scroll bar slider starts.
It is equivalent to sliderRect().y() for vertical scroll bars or sliderRect().x() for horizontal scroll bars.
.
Handles timer events for the scroll bar.
Returns TRUE if tracking is enabled, or FALSE if tracking is disabled.
Tracking is initially enabled.
See also: setTracking().
.
This signal is emitted when the scroll bar value is changed, with the new scroll bar value as an argument.
This file is part of the Qt toolkit, copyright 1995 Troll Tech, all rights reserved.
It was generated from the following files: