Engauge Digitizer 2
Loading...
Searching...
No Matches
GraphicsArcItem.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef GRAPHICS_ARCITEM_H
8#define GRAPHICS_ARCITEM_H
9
10#include <QGraphicsEllipseItem>
11
17class GraphicsArcItem : public QGraphicsEllipseItem
18{
19public:
21 GraphicsArcItem(double x,
22 double y,
23 double width,
24 double height,
25 QGraphicsItem *parent = 0);
26
28 GraphicsArcItem(const QRectF &rect,
29 QGraphicsItem *parent = 0);
30
32 virtual void paint (QPainter *painter,
33 const QStyleOptionGraphicsItem *option,
34 QWidget *widget);
35
36private:
38
39};
40
41#endif // GRAPHICS_ARCITEM_H
GraphicsArcItem(double x, double y, double width, double height, QGraphicsItem *parent=0)
Constructor with individual coordinates.
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Paint without interior fill.