src/analog/manometer.h

changeset 316
dcd472be9ae8
equal deleted inserted replaced
315:cf4e83cecdb5 316:dcd472be9ae8
1 /***************************************************************************
2 * Copyright (C) 2006-2008 by Tomasz Ziobrowski *
3 * http://www.3electrons.com *
4 * e-mail: t.ziobrowski@3electrons.com *
5 * *
6 * *
7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
11 * *
12 * This program is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License *
18 * along with this program; if not, write to the *
19 * Free Software Foundation, Inc., *
20 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21 ***************************************************************************/
22
23 #ifndef BARMETER_H
24 #define BARMETER_H
25
26 #include "abstractmeter.h"
27
28 class ManoMeter : public AbstractMeter
29 {
30 Q_OBJECT
31 public:
32 ManoMeter(QWidget *parent = 0);
33 protected:
34 void paintEvent(QPaintEvent *event); // inherited from WidgetWithBackground
35 void paintBackground(QPainter & painter);// inherited form WidgetWithBackground
36 void initCoordinateSystem(QPainter & painter);
37 };
38 #endif // BARMETER_H

mercurial