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

Contents of /branches/qtcharts/sealedbox.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: 503 byte(s)
version 1.4, fix slot port len
1 #ifndef SEALEDBOX_H
2 #define SEALEDBOX_H
3
4 #include <QDomElement>
5 #include <QDomDocument>
6 #include <QRectF>
7 #include <QPainter>
8
9 #include "box.h"
10
11 class SealedBox : public Box
12 {
13 public:
14 SealedBox(double vol = 0.01);
15 void setVolume(double vol);
16 double getVolume(void) const;
17
18 QDomElement toDomElement(QDomDocument& doc) const;
19 void fromDomElement(const QDomElement& e);
20 void render(QPainter *painter, const QRectF& area) const;
21 private:
22 double volume;
23 };
24
25 #endif // SEALEDBOX_H

  ViewVC Help
Powered by ViewVC 1.1.26