Debian Codegraph @

HercStudio/MipsLed.h

raw symbols SCIP
1 /*
2 * File: MipsLcd.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 in LCD format
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 #ifndef MIPSLCD_H_
28 #define MIPSLCD_H_
29
30 #include "Mips.h"
31
32 #include <QLCDNumber>
33
34 class MipsLed : public Mips
35 {
36 Q_OBJECT
37 public:
38 MipsLed(QWidget * parent = 0);
39 virtual ~MipsLed();
40
41 virtual void display(double);
42 virtual void setActive(bool active);
43 virtual void move(int, int);
44 virtual void setToolTip(const QString & tip);
45 virtual void deleteLater(void);
46 virtual bool isVisible();
47
48 private:
49 QLCDNumber *mMips;
50 };
51
52 #endif /* MIPSLCD_H_ */