/[qspeakers]/branches/qtcharts/box.h
ViewVC logotype

Contents of /branches/qtcharts/box.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 252 - (show annotations)
Mon Sep 21 21:59:01 2020 UTC (8 months, 3 weeks ago) by ben
File MIME type: text/plain
File size: 420 byte(s)
version 1.4, fix slot port len
1 #ifndef BOX_H
2 #define BOX_H
3
4 #include <QDomElement>
5 #include <QDomDocument>
6 #include <QRectF>
7 #include <QPainter>
8
9 #define PI 3.1415927
10
11 #define BOX_SEALED 0
12 #define BOX_PORTED 1
13 #define BOX_BANDPASS 2
14
15 class Box
16 {
17 public:
18
19 QDomElement toDomElement(QDomDocument& doc) const;
20 void fromDomElement(const QDomElement& e);
21 virtual void render(QPainter *painter, const QRectF& area) const = 0;
22 };
23
24 #endif // BOX_H

  ViewVC Help
Powered by ViewVC 1.1.26