/[qspeakers]/sealedbox.h
ViewVC logotype

Contents of /sealedbox.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 79 - (show annotations)
Sun Mar 1 13:28:12 2015 UTC (2 years, 3 months ago) by ben
File MIME type: text/plain
File size: 435 byte(s)
implement print function
1 #ifndef SEALEDBOX_H
2 #define SEALEDBOX_H
3
4 #include <QDomElement>
5
6 #include "box.h"
7
8 class SealedBox : public Box
9 {
10 public:
11 SealedBox(double vol = 0.01);
12 void setVolume(double vol);
13 double getVolume(void) const;
14
15 QDomElement toDomElement(QDomDocument& doc) const;
16 void fromDomElement(const QDomElement& e);
17 void render(QPainter *painter, const QRectF& area);
18 private:
19 double volume;
20 };
21
22 #endif // SEALEDBOX_H

  ViewVC Help
Powered by ViewVC 1.1.26