|
hydrogen 1.1.1
|
Drag scroller object. More...
#include <Selection.h>
Public Slots | |
| void | timeout (void) |
Public Member Functions | |
| DragScroller (QScrollArea *pScrollArea) | |
| ~DragScroller () | |
| void | startDrag () |
| void | endDrag () |
Private Attributes | |
| QTimer * | m_pTimer |
| QScrollArea * | m_pScrollArea |
| const int | m_nInterval = 20 |
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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineslot |
|
private |
|
private |
|
private |