|
hydrogen 1.2.6
|
Drag scroller object. More...
#include <Selection.h>
Public Slots | |
| void | timeout (void) |
Public Member Functions | |
| DragScroller (QScrollArea *pScrollArea) | |
| ~DragScroller () | |
| void | endDrag () |
| void | startDrag () |
Private Attributes | |
| const int | m_nInterval = 20 |
| QScrollArea * | m_pScrollArea |
| QTimer * | m_pTimer |
Drag scroller object.
When attached to a QScrollArea, this will scroll the widget whenever the mouse cursor goes out of bounds.
Scrolling is timer-driven to keep a predictable and uniform scroll rate, which increases the further out of bounds the user moves the cursor.
Definition at line 129 of file Selection.h.
|
inline |
Definition at line 136 of file Selection.h.
|
inline |
Definition at line 141 of file Selection.h.
|
inline |
Definition at line 156 of file Selection.h.
|
inline |
Definition at line 147 of file Selection.h.
|
inlineslot |
Definition at line 161 of file Selection.h.
|
private |
Definition at line 133 of file Selection.h.
|
private |
Definition at line 132 of file Selection.h.
|
private |
Definition at line 131 of file Selection.h.