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_ARC_ITEM_H
8#define GRAPHICS_ARC_ITEM_H
9
10#include <QGraphicsEllipseItem>
11
19class GraphicsArcItem : public QGraphicsEllipseItem
20{
21public:
24
26 GraphicsArcItem(double x,
27 double y,
28 double width,
29 double height,
30 QGraphicsItem *parent = 0);
31
33 GraphicsArcItem(const QRectF &rect,
34 QGraphicsItem *parent = 0);
35
37 virtual void paint (QPainter *painter,
38 const QStyleOptionGraphicsItem *option,
39 QWidget *widget);
40
41};
42
43#endif // GRAPHICS_ARCITEM_H
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Paint without interior fill.
GraphicsArcItem()
Default constructor. This needs, at a minimum, a later call to setRect.