| 1 | /* |
| 2 | * File: MipsGauge.h |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: June 15, 2010 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This object presents the current mips reading as gauge needle |
| 11 | * |
| 12 | * This program is free software: you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation, either version 3 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | * |
| 25 | */ |
| 26 | |
| 27 | |
| 28 | #ifndef MIPSGAUGE_H_ |
| 29 | #define MIPSGAUGE_H_cxx . . $ `HercStudio/MipsGauge.h:29:9`! |
| 30 | |
| 31 | #include "Mips.h"cxx . . $ `<file>/HercStudio/Mips.h`/ |
| 32 | |
| 33 | class MipsGaugecxx . . $ MipsGauge#: public Mipscxx . . $ Mips# |
| 34 | { |
| 35 | Q_OBJECTcxx . . $ QString#QString(e1217c004a86c950). |
| 36 | public: |
| 37 | MipsGaugecxx . . $ MipsGauge#MipsGauge(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# * parent = 0); |
| 38 | virtual ~cxx . . $ MipsGauge#`~MipsGauge`(49f6e7a06ebc5aa8).MipsGaugecxx . . $ MipsGauge#(); |
| 39 | |
| 40 | virtual void displaycxx . . $ MipsGauge#display(ba8836b59fb42830).(double); |
| 41 | virtual void setActivecxx . . $ MipsGauge#setActive(b45ddcbc8423892c).(bool visible); |
| 42 | virtual void movecxx . . $ MipsGauge#move(3e454b8ccf442868).(int, int); |
| 43 | virtual void setToolTipcxx . . $ MipsGauge#setToolTip(3520e46b33348bf6).(const QStringcxx . . $ QString# & tip); |
| 44 | virtual void deleteLatercxx . . $ MipsGauge#deleteLater(49f6e7a06ebc5aa8).(void); |
| 45 | virtual bool isVisiblecxx . . $ MipsGauge#isVisible(c9857a73d68e59ba).(); |
| 46 | |
| 47 | protected: |
| 48 | void paintEventcxx . . $ MipsGauge#paintEvent(f239c9e85d61a220).(QPaintEventcxx . . $ QPaintEvent# *); |
| 49 | double mPrevAnglecxx . . $ MipsGauge#mPrevAngle.; |
| 50 | |
| 51 | private: |
| 52 | double mValuecxx . . $ MipsGauge#mValue.; |
| 53 | double mHwmcxx . . $ MipsGauge#mHwm.; |
| 54 | QColorcxx . . $ QColor# mPenColorcxx . . $ MipsGauge#mPenColor.; |
| 55 | }; |
| 56 | |
| 57 | #endif /* MIPSGAUGE_H_ */ |