| 1 | /* |
| 2 | * File: MainPanelClassic.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 "classic" 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 MAINPANELCLASSIC_H_ |
| 28 | #define MAINPANELCLASSIC_H_cxx . . $ `HercStudio/MainPanelClassic.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 <QMouseEvent> |
| 38 | |
| 39 | class MainPanelClassiccxx . . $ MainPanelClassic# : public MainPanelcxx . . $ MainPanel# |
| 40 | { |
| 41 | Q_OBJECTcxx . . $ MainPanelClassic#QPrivateSignal# |
| 42 | |
| 43 | public: |
| 44 | MainPanelClassiccxx . . $ MainPanelClassic#MainPanelClassic(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 45 | virtual ~cxx . . $ MainPanelClassic#`~MainPanelClassic`(49f6e7a06ebc5aa8).MainPanelClassiccxx . . $ MainPanelClassic#(); |
| 46 | void standbycxx . . $ MainPanelClassic#standby(49f6e7a06ebc5aa8).(); |
| 47 | void setDormantcxx . . $ MainPanelClassic#setDormant(49f6e7a06ebc5aa8).(); |
| 48 | bool notifycxx . . $ MainPanelClassic#notify(544790aa27d183a0).(const QByteArraycxx . . $ QByteArray#& statusLine); |
| 49 | void switchMipscxx . . $ MainPanelClassic#switchMips(49f6e7a06ebc5aa8).(); |
| 50 | bool isStoppedcxx . . $ MainPanelClassic#isStopped(50ce9a9e25b4a850).() const; |
| 51 | virtual void updateLcdcxx . . $ MainPanelClassic#updateLcd(83a52b9a967847f9).(QLCDNumbercxx . . $ QLCDNumber# * lcd, int inc); |
| 52 | virtual void animatecxx . . $ MainPanelClassic#animate(49f6e7a06ebc5aa8).(); |
| 53 | |
| 54 | |
| 55 | protected: |
| 56 | virtual void resizeEventcxx . . $ MainPanelClassic#resizeEvent(eeeec21cf8dc0387).(QResizeEventcxx . . $ QResizeEvent# * event); |
| 57 | virtual QSizecxx . . $ QSize# sizeHintcxx . . $ MainPanelClassic#sizeHint(4b3b776e5ee2b367).() const; |
| 58 | virtual void setupUicxx . . $ MainPanelClassic#setupUi(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# * parent); |
| 59 | |
| 60 | private: |
| 61 | template<class T> void animateOnecxx . . $ MainPanelClassic#animateOne(fc28a385ebf3f439).(int x, int y, T* button, int step); |
| 62 | |
| 63 | QLabelcxx . . $ QLabel# *mSyscxx . . $ MainPanelClassic#mSys.; |
| 64 | QLabelcxx . . $ QLabel# *mSysTextcxx . . $ MainPanelClassic#mSysText.; |
| 65 | QLabelcxx . . $ QLabel# *mMancxx . . $ MainPanelClassic#mMan.; |
| 66 | QLabelcxx . . $ QLabel# *mManTextcxx . . $ MainPanelClassic#mManText.; |
| 67 | QLabelcxx . . $ QLabel# *mWaitcxx . . $ MainPanelClassic#mWait.; |
| 68 | QLabelcxx . . $ QLabel# *mWaitTextcxx . . $ MainPanelClassic#mWaitText.; |
| 69 | QLabelcxx . . $ QLabel# *mLoadcxx . . $ MainPanelClassic#mLoad.; |
| 70 | QLabelcxx . . $ QLabel# *mLoadTextcxx . . $ MainPanelClassic#mLoadText.; |
| 71 | QLabelcxx . . $ QLabel# *mPSWcxx . . $ MainPanelClassic#mPSW.; |
| 72 | |
| 73 | ClickLabelcxx . . $ ClickLabel# *mDial0cxx . . $ MainPanelClassic#mDial0., *mDial1cxx . . $ MainPanelClassic#mDial1., *mDial2cxx . . $ MainPanelClassic#mDial2., *mDial3cxx . . $ MainPanelClassic#mDial3.; |
| 74 | |
| 75 | Mipscxx . . $ Mips# *mMipscxx . . $ MainPanelClassic#mMips.; |
| 76 | |
| 77 | }; |
| 78 | |
| 79 | #endif /* MAINPANELCLASSIC_H_ */ |