This class is a view for the stacked graph. More...
#include <StackedGraphView.h>
Public Slots | |
void | showWholeGraph () |
resets the view to show the whole graph | |
void | setGLViewport (bool openGL) |
set the viewport of this view. | |
void | setAutoGLViewport (bool autoGL) |
set the auto GL feature of this view. | |
Signals | |
void | toolTipChanged (QGraphicsItem *item, QPoint pos) |
this signal is send when a tool tip should be shown | |
Public Member Functions | |
StackedGraphView (QGraphicsScene *scene, QWidget *parent) | |
creates a view for the stacked graph | |
bool | hasGLAA () |
returns if GL anti-aliasing is available | |
Protected Member Functions | |
void | wheelEvent (QWheelEvent *event) |
handles the mouse wheel events | |
void | mouseReleaseEvent (QMouseEvent *event) |
handles the mouse button release events |
This class is a view for the stacked graph.
StackedGraphView::StackedGraphView | ( | QGraphicsScene * | scene, | |
QWidget * | parent | |||
) |
creates a view for the stacked graph
bool StackedGraphView::hasGLAA | ( | ) | [inline] |
returns if GL anti-aliasing is available
void StackedGraphView::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected] |
handles the mouse button release events
void StackedGraphView::setAutoGLViewport | ( | bool | autoGL | ) | [inline, slot] |
set the auto GL feature of this view.
The auto GL mode has just effects, if openGL is supported, and GL anti-aliasing is possible.
autoGL | if true, activates auto GL (if possible). if false, deactivates auto GL. |
void StackedGraphView::setGLViewport | ( | bool | openGL | ) | [slot] |
set the viewport of this view.
openGL | if true, the viewport is switched to openGL redering (if possible). if false, the viewport is set to software rendering. |
void StackedGraphView::showWholeGraph | ( | ) | [slot] |
resets the view to show the whole graph
void StackedGraphView::toolTipChanged | ( | QGraphicsItem * | item, | |
QPoint | pos | |||
) | [signal] |
this signal is send when a tool tip should be shown
void StackedGraphView::wheelEvent | ( | QWheelEvent * | event | ) | [protected] |
handles the mouse wheel events