#include <timinghandler.h>
Inheritance diagram for YTimingDiagramScrollView:
Public Slots | |
virtual void | NewTimingInserted (YTimingInfo *ti) |
Public Member Functions | |
YTimingDiagramScrollView (QWidget *parent) | |
virtual void | Resize () |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | drawContents (QPainter *p, int cx, int cy, int cw, int ch) |
virtual void | contentsMousePressEvent (QMouseEvent *event) |
virtual void | contentsMouseReleaseEvent (QMouseEvent *event) |
virtual void | contentsMouseMoveEvent (QMouseEvent *event) |
Private Attributes | |
Q_OBJECT QPoint | currentmousepos |
bool | leftbuttonpressed |
leftbuttonpos valid ? | |
QPoint | leftbuttonpos |
position of mouse (global) at the moment the left button was pressed |
|
|
|
|
|
|
|
|
|
This function is called by the system to redraw a region of the scrollview. Here is an own clipping function used. Implements YTimingScrollView. |
|
|
|
Implements YTimingScrollView. |
|
This function is called to recalculate the width of the scrollviews Reimplemented from YTimingScrollView. |
|
|
|
position of mouse (global) at the moment the left button was pressed
|
|
leftbuttonpos valid ?
|