Debian Codegraph @

HercStudio/MainPanelModern.h

raw symbols SCIP
1 /*
2 * File: MainPanelModern.h
3 *
4 * Author: Jacob Dekel
5 * Created on: Oct 28, 2010
6 *
7 * Copyright (c) 2009-2013 Jacob Dekel
8 * $Id: MainPanel.h 67 2010-09-13 14:06:31Z dekeljacob $
9 *
10 * This object presents the main panel in "modern" mode
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 MAINPANELMODERN_H_
28 #define MAINPANELMODERN_H_cxx . . $ `HercStudio/MainPanelModern.h:28:9`!
29
30 #include "MainPanel.h"cxx . . $ `<file>/HercStudio/MainPanel.h`/
31 #include "StatusUpdateCollector.h"cxx . . $ `<file>/HercConfiguration/StatusUpdateCollector.h`/
32 #include "Mips.h"cxx . . $ `<file>/HercStudio/Mips.h`/
33
34 #include <QtWidgets/QWidget>
35 #include "ui_Devices.h"cxx . . $ `<file>/ui/ui_Devices.h`/
36 #include <QToolButton>
37 #include <QLCDNumber>
38 #include <QMouseEvent>
39
40 class MainPanelModerncxx . . $ MainPanelModern# : public MainPanelcxx . . $ MainPanel#
41 {
42 Q_OBJECTcxx . . $ MainPanelModern#trUtf8(75d9f1c324b4579d).
43
44 public:
45 MainPanelModerncxx . . $ MainPanelModern#MainPanelModern(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0);
46 virtual ~cxx . . $ MainPanelModern#`~MainPanelModern`(49f6e7a06ebc5aa8).MainPanelModerncxx . . $ MainPanelModern#();
47 void standbycxx . . $ MainPanelModern#standby(49f6e7a06ebc5aa8).();
48 void setDormantcxx . . $ MainPanelModern#setDormant(49f6e7a06ebc5aa8).();
49 bool notifycxx . . $ MainPanelModern#notify(544790aa27d183a0).(const QByteArraycxx . . $ QByteArray#& statusLine);
50 void switchMipscxx . . $ MainPanelModern#switchMips(49f6e7a06ebc5aa8).();
51 bool isStoppedcxx . . $ MainPanelModern#isStopped(50ce9a9e25b4a850).() const { return mStoppedcxx . . $ MainPanel#mStopped.; };
52 virtual void updateLcdcxx . . $ MainPanelModern#updateLcd(83a52b9a967847f9).(QLCDNumbercxx . . $ QLCDNumber# * , int ){} // null function in this context
53 virtual void animatecxx . . $ MainPanelModern#animate(49f6e7a06ebc5aa8).();
54
55 protected:
56 virtual void resizeEventcxx . . $ MainPanelModern#resizeEvent(eeeec21cf8dc0387).(QResizeEventcxx . . $ QResizeEvent# * event);
57 virtual QSizecxx . . $ QSize# sizeHintcxx . . $ MainPanelModern#sizeHint(4b3b776e5ee2b367).() const;
58 virtual void setupUicxx . . $ MainPanelModern#setupUi(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# * parent);
59 virtual QAbstractButtoncxx . . $ QAbstractButton# * powerOnButtoncxx . . $ MainPanelModern#powerOnButton(aa0e4e1b7d59b5f2).() { return mPowerOnButtoncxx . . $ MainPanelModern#mPowerOnButton.; };
60 virtual QAbstractButtoncxx . . $ QAbstractButton# * powerOffButtoncxx . . $ MainPanelModern#powerOffButton(aa0e4e1b7d59b5f2).() { return mPowerOffButtoncxx . . $ MainPanelModern#mPowerOffButton.; };
61 virtual QAbstractButtoncxx . . $ QAbstractButton#* interruptButtoncxx . . $ MainPanelModern#interruptButton(aa0e4e1b7d59b5f2).() {return mInterruptButtoncxx . . $ MainPanelModern#mInterruptButton.;};
62 virtual QAbstractButtoncxx . . $ QAbstractButton#* stopButtoncxx . . $ MainPanelModern#stopButton(aa0e4e1b7d59b5f2).() {return mStopButtoncxx . . $ MainPanelModern#mStopButton.;};
63 virtual QAbstractButtoncxx . . $ QAbstractButton#* loadButtoncxx . . $ MainPanelModern#loadButton(aa0e4e1b7d59b5f2).() {return mLoadButtoncxx . . $ MainPanelModern#mLoadButton.;};
64
65 void setButtoncxx . . $ MainPanelModern#setButton(582beeb951a242d6).(QToolButtoncxx . . $ QToolButton#*& button, QStringcxx . . $ QString# text, QIconcxx . . $ QIcon# icon);
66
67 private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
68 void stopClickedSlotcxx . . $ MainPanelModern#stopClickedSlot(49f6e7a06ebc5aa8).();
69
70 private:
71
72 template<class T> void animateOnecxx . . $ MainPanelModern#animateOne(fc28a385ebf3f439).(int x, int y, T* button, int step);
73
74 QToolButtoncxx . . $ QToolButton# *mPowerOnButtoncxx . . $ MainPanelModern#mPowerOnButton.;
75 QToolButtoncxx . . $ QToolButton# *mPowerOffButtoncxx . . $ MainPanelModern#mPowerOffButton.;
76 QToolButtoncxx . . $ QToolButton# *mInterruptButtoncxx . . $ MainPanelModern#mInterruptButton.;
77 QToolButtoncxx . . $ QToolButton# *mStopButtoncxx . . $ MainPanelModern#mStopButton.;
78 QToolButtoncxx . . $ QToolButton# *mLoadButtoncxx . . $ MainPanelModern#mLoadButton.;
79
80 QLabelcxx . . $ QLabel# *mPSWcxx . . $ MainPanelModern#mPSW.;
81
82 Mipscxx . . $ Mips# *mMipscxx . . $ MainPanelModern#mMips.;
83 };
84
85 #endif /* MAINPANELMODERN_H_ */