| 1 | /* |
| 2 | * File: mainwindow.h |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Aug 7, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * Main window object |
| 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 MAINWINDOW_H |
| 28 | #define MAINWINDOW_Hcxx . . $ `HercStudio/MainWindow.h:28:9`! |
| 29 | |
| 30 | #include <QtWidgets/QMainWindow> |
| 31 | #include "HerculesStudio.h"cxx . . $ `<file>/HercStudio/HerculesStudio.h`/ |
| 32 | #include "ui_MainWindow.h"cxx . . $ `<file>/ui/ui_MainWindow.h`/ |
| 33 | #include "MainPanel.h"cxx . . $ `<file>/HercStudio/MainPanel.h`/ |
| 34 | #include "DevicesPane.h"cxx . . $ `<file>/HercConfiguration/DevicesPane.h`/ |
| 35 | #include "CommandLine.h"cxx . . $ `<file>/HercStudio/CommandLine.h`/ |
| 36 | #include "Psw.h"cxx . . $ `<file>/HercStudio/Psw.h`/ |
| 37 | #include "Regs32.h"cxx . . $ `<file>/HercStudio/Regs32.h`/ |
| 38 | #include "Regs64.h"cxx . . $ `<file>/HercStudio/Regs64.h`/ |
| 39 | #include "HerculesExecutor.h"cxx . . $ `<file>/HercStudio/HerculesExecutor.h`/ |
| 40 | #include "LogRunner.h"cxx . . $ `<file>/HercStudio/LogRunner.h`/ |
| 41 | #include "StatusRunner.h"cxx . . $ `<file>/HercStudio/StatusRunner.h`/ |
| 42 | #include "Preferences.h"cxx . . $ `<file>/HercStudio/Preferences.h`/ |
| 43 | #include "Watchdog.h"cxx . . $ `<file>/HercStudio/Watchdog.h`/ |
| 44 | |
| 45 | #include "ConfigFile.h"cxx . . $ `<file>/HercConfiguration/ConfigFile.h`/ |
| 46 | #include "Configuration.h"cxx . . $ `<file>/HercConfiguration/Configuration.h`/ |
| 47 | #include <QTextEdit> |
| 48 | #include <QSystemTrayIcon> |
| 49 | #include <QWaitCondition> |
| 50 | |
| 51 | class LogRunnercxx . . $ LogRunner#; |
| 52 | class HerculesExecutorcxx . . $ HerculesExecutor#; |
| 53 | class PlainLogWidgetcxx . . $ PlainLogWidget#; |
| 54 | class PrinterDialogcxx . . $ PrinterDialog#; |
| 55 | |
| 56 | class MainWindowcxx . . $ MainWindow# : public QMainWindowcxx . . $ QMainWindow# |
| 57 | { |
| 58 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 59 | |
| 60 | public: |
| 61 | MainWindowcxx . . $ MainWindow#MainWindow(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 62 | virtual ~cxx . . $ MainWindow#`~MainWindow`(49f6e7a06ebc5aa8).MainWindowcxx . . $ MainWindow#(); |
| 63 | |
| 64 | bool issueCommandcxx . . $ MainWindow#issueCommand(7c222eea44a24d43).(const stdcxx . . $ std/::stringcxx . . $ std/string#& command); |
| 65 | ConfigFilecxx . . $ ConfigFile# * getConfigurationFilecxx . . $ MainWindow#getConfigurationFile(64b32935410def52).(); |
| 66 | |
| 67 | private: |
| 68 | Uicxx . . $ Ui/::MainWindowClasscxx . . $ Ui/MainWindowClass# uicxx . . $ MainWindow#ui.; |
| 69 | QDockWidgetcxx . . $ QDockWidget# * mTopDockcxx . . $ MainWindow#mTopDock.; |
| 70 | QDockWidgetcxx . . $ QDockWidget# * mDevicesDockcxx . . $ MainWindow#mDevicesDock.; |
| 71 | QDockWidgetcxx . . $ QDockWidget# * mBottomDockcxx . . $ MainWindow#mBottomDock.; |
| 72 | QDockWidgetcxx . . $ QDockWidget# * mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock.; |
| 73 | QDockWidgetcxx . . $ QDockWidget# * mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock.; |
| 74 | QDockWidgetcxx . . $ QDockWidget# * mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock.; |
| 75 | QDockWidgetcxx . . $ QDockWidget# * mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock.; |
| 76 | QDockWidgetcxx . . $ QDockWidget# * mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock.; |
| 77 | QDockWidgetcxx . . $ QDockWidget# * mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock.; |
| 78 | QDockWidgetcxx . . $ QDockWidget# * mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock.; |
| 79 | QDockWidgetcxx . . $ QDockWidget# * mPswDockcxx . . $ MainWindow#mPswDock.; |
| 80 | |
| 81 | Configurationcxx . . $ Configuration# * mConfigurationcxx . . $ MainWindow#mConfiguration.; |
| 82 | ConfigFilecxx . . $ ConfigFile# * mConfigFilecxx . . $ MainWindow#mConfigFile.; |
| 83 | PlainLogWidgetcxx . . $ PlainLogWidget# * mLogWindowcxx . . $ MainWindow#mLogWindow.; |
| 84 | QSystemTrayIconcxx . . $ QSystemTrayIcon# * mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.; |
| 85 | MainPanelcxx . . $ MainPanel# * mMainPanelcxx . . $ MainWindow#mMainPanel.; |
| 86 | DevicesPanecxx . . $ DevicesPane# * mDevicesPanecxx . . $ MainWindow#mDevicesPane.; |
| 87 | CommandLinecxx . . $ CommandLine# * mCommandLinecxx . . $ MainWindow#mCommandLine.; |
| 88 | Pswcxx . . $ Psw# * mPswcxx . . $ MainWindow#mPsw.; |
| 89 | Regs32cxx . . $ Regs32# * mGRegisters32cxx . . $ MainWindow#mGRegisters32.; |
| 90 | Regs32cxx . . $ Regs32# * mCRegisters32cxx . . $ MainWindow#mCRegisters32.; |
| 91 | Regs32cxx . . $ Regs32# * mFRegisters32cxx . . $ MainWindow#mFRegisters32.; |
| 92 | Regs32cxx . . $ Regs32# * mARegisters32cxx . . $ MainWindow#mARegisters32.; |
| 93 | Regs64cxx . . $ Regs64# * mGRegisters64cxx . . $ MainWindow#mGRegisters64.; |
| 94 | Regs64cxx . . $ Regs64# * mCRegisters64cxx . . $ MainWindow#mCRegisters64.; |
| 95 | Regs64cxx . . $ Regs64# * mFRegisters64cxx . . $ MainWindow#mFRegisters64.; |
| 96 | SynchronizedQueuecxx . . $ SynchronizedQueue# mLogQueuecxx . . $ MainWindow#mLogQueue.; |
| 97 | SynchronizedQueuecxx . . $ SynchronizedQueue# mStatusQueuecxx . . $ MainWindow#mStatusQueue.; |
| 98 | HerculesExecutorcxx . . $ HerculesExecutor# * mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.; |
| 99 | LogRunnercxx . . $ LogRunner# * mLogRunnercxx . . $ MainWindow#mLogRunner.; |
| 100 | StatusRunnercxx . . $ StatusRunner# * mStatusRunnercxx . . $ MainWindow#mStatusRunner.; |
| 101 | Watchdogcxx . . $ Watchdog# * mWatchdogcxx . . $ MainWindow#mWatchdog.; |
| 102 | PrinterDialogcxx . . $ PrinterDialog# * mPrinterDialogcxx . . $ MainWindow#mPrinterDialog.; |
| 103 | bool mHerculesActivecxx . . $ MainWindow#mHerculesActive.; |
| 104 | bool mMinimizeOnClosecxx . . $ MainWindow#mMinimizeOnClose.; |
| 105 | bool mRecoverycxx . . $ MainWindow#mRecovery.; |
| 106 | bool mDevicesRecoverycxx . . $ MainWindow#mDevicesRecovery.; |
| 107 | bool mDevicesRecoveryCommencedcxx . . $ MainWindow#mDevicesRecoveryCommenced.; |
| 108 | bool mSystrayHintEjectedcxx . . $ MainWindow#mSystrayHintEjected.; |
| 109 | bool mStatusReceivedcxx . . $ MainWindow#mStatusReceived.; |
| 110 | QStringcxx . . $ QString# mRecoveryConfigcxx . . $ MainWindow#mRecoveryConfig.; |
| 111 | QStringcxx . . $ QString# mCurrentPathcxx . . $ MainWindow#mCurrentPath.; |
| 112 | QStringcxx . . $ QString# mAdHocLoadParmcxx . . $ MainWindow#mAdHocLoadParm.; |
| 113 | QStringcxx . . $ QString# mIplDevnocxx . . $ MainWindow#mIplDevno.; |
| 114 | |
| 115 | void testGuicxx . . $ MainWindow#testGui(49f6e7a06ebc5aa8).(); |
| 116 | void connectMainPanelcxx . . $ MainWindow#connectMainPanel(49f6e7a06ebc5aa8).(); |
| 117 | void fontChangedcxx . . $ MainWindow#fontChanged(49f6e7a06ebc5aa8).(); |
| 118 | void mipsChangedcxx . . $ MainWindow#mipsChanged(49f6e7a06ebc5aa8).(); |
| 119 | void pswChangedcxx . . $ MainWindow#pswChanged(49f6e7a06ebc5aa8).(); |
| 120 | void styleChangedcxx . . $ MainWindow#styleChanged(49f6e7a06ebc5aa8).(); |
| 121 | void themeChangedcxx . . $ MainWindow#themeChanged(49f6e7a06ebc5aa8).(); |
| 122 | void setIpledcxx . . $ MainWindow#setIpled(7df51288a9ebd664).(QStringcxx . . $ QString# ipled); |
| 123 | void setDarkBackgroundcxx . . $ MainWindow#setDarkBackground(b45ddcbc8423892c).(bool dark); |
| 124 | |
| 125 | |
| 126 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 127 | void powerOncxx . . $ MainWindow#powerOn(49f6e7a06ebc5aa8).(); |
| 128 | void powerOffcxx . . $ MainWindow#powerOff(49f6e7a06ebc5aa8).(); |
| 129 | void extInterruptcxx . . $ MainWindow#extInterrupt(49f6e7a06ebc5aa8).(); |
| 130 | void devInterruptcxx . . $ MainWindow#devInterrupt(49f6e7a06ebc5aa8).(); |
| 131 | void loadcxx . . $ MainWindow#load(49f6e7a06ebc5aa8).(); |
| 132 | void restartcxx . . $ MainWindow#restart(49f6e7a06ebc5aa8).(); |
| 133 | void storecxx . . $ MainWindow#store(49f6e7a06ebc5aa8).(); |
| 134 | void startcxx . . $ MainWindow#start(49f6e7a06ebc5aa8).(); |
| 135 | void stopcxx . . $ MainWindow#stop(49f6e7a06ebc5aa8).(); |
| 136 | void restartDevicescxx . . $ MainWindow#restartDevices(49f6e7a06ebc5aa8).(); |
| 137 | |
| 138 | // menu-related slots |
| 139 | void newConfigcxx . . $ MainWindow#newConfig(49f6e7a06ebc5aa8).(); |
| 140 | void configcxx . . $ MainWindow#config(49f6e7a06ebc5aa8).(); |
| 141 | void saveConfigcxx . . $ MainWindow#saveConfig(49f6e7a06ebc5aa8).(); |
| 142 | void saveConfigAscxx . . $ MainWindow#saveConfigAs(49f6e7a06ebc5aa8).(); |
| 143 | void openConfigcxx . . $ MainWindow#openConfig(49f6e7a06ebc5aa8).(); |
| 144 | void exitNowcxx . . $ MainWindow#exitNow(49f6e7a06ebc5aa8).(); |
| 145 | void loadCommandcxx . . $ MainWindow#loadCommand(49f6e7a06ebc5aa8).(); |
| 146 | void editViewControlscxx . . $ MainWindow#editViewControls(49f6e7a06ebc5aa8).(); |
| 147 | void editViewDevicescxx . . $ MainWindow#editViewDevices(49f6e7a06ebc5aa8).(); |
| 148 | void editViewCommandcxx . . $ MainWindow#editViewCommand(49f6e7a06ebc5aa8).(); |
| 149 | void editView32BitGrcxx . . $ MainWindow#editView32BitGr(49f6e7a06ebc5aa8).(); |
| 150 | void editView32BitCrcxx . . $ MainWindow#editView32BitCr(49f6e7a06ebc5aa8).(); |
| 151 | void editView32BitFrcxx . . $ MainWindow#editView32BitFr(49f6e7a06ebc5aa8).(); |
| 152 | void editView32BitArcxx . . $ MainWindow#editView32BitAr(49f6e7a06ebc5aa8).(); |
| 153 | void editView64BitGrcxx . . $ MainWindow#editView64BitGr(49f6e7a06ebc5aa8).(); |
| 154 | void editView64BitCrcxx . . $ MainWindow#editView64BitCr(49f6e7a06ebc5aa8).(); |
| 155 | void editView64BitFrcxx . . $ MainWindow#editView64BitFr(49f6e7a06ebc5aa8).(); |
| 156 | void editViewPSWcxx . . $ MainWindow#editViewPSW(49f6e7a06ebc5aa8).(); |
| 157 | void dasdinitcxx . . $ MainWindow#dasdinit(49f6e7a06ebc5aa8).(); |
| 158 | void dasdloadcxx . . $ MainWindow#dasdload(49f6e7a06ebc5aa8).(); |
| 159 | void dasdisupcxx . . $ MainWindow#dasdisup(49f6e7a06ebc5aa8).(); |
| 160 | void dasdlscxx . . $ MainWindow#dasdls(49f6e7a06ebc5aa8).(); |
| 161 | void dasdcatcxx . . $ MainWindow#dasdcat(49f6e7a06ebc5aa8).(); |
| 162 | void dasdconvcxx . . $ MainWindow#dasdconv(49f6e7a06ebc5aa8).(); |
| 163 | void dasdcopycxx . . $ MainWindow#dasdcopy(49f6e7a06ebc5aa8).(); |
| 164 | void tapemapcxx . . $ MainWindow#tapemap(49f6e7a06ebc5aa8).(); |
| 165 | void tapecopycxx . . $ MainWindow#tapecopy(49f6e7a06ebc5aa8).(); |
| 166 | void tapesplitcxx . . $ MainWindow#tapesplit(49f6e7a06ebc5aa8).(); |
| 167 | void hetinitcxx . . $ MainWindow#hetinit(49f6e7a06ebc5aa8).(); |
| 168 | void hetgetcxx . . $ MainWindow#hetget(49f6e7a06ebc5aa8).(); |
| 169 | void hetupdcxx . . $ MainWindow#hetupd(49f6e7a06ebc5aa8).(); |
| 170 | void hetmapcxx . . $ MainWindow#hetmap(49f6e7a06ebc5aa8).(); |
| 171 | void printercxx . . $ MainWindow#printer(49f6e7a06ebc5aa8).(); |
| 172 | void printerFinishedcxx . . $ MainWindow#printerFinished(49f6e7a06ebc5aa8).(); |
| 173 | void stationerycxx . . $ MainWindow#stationery(49f6e7a06ebc5aa8).(); |
| 174 | void decolationcxx . . $ MainWindow#decolation(49f6e7a06ebc5aa8).(); |
| 175 | void helpAboutcxx . . $ MainWindow#helpAbout(49f6e7a06ebc5aa8).(); |
| 176 | |
| 177 | void writeToLogFromQueuecxx . . $ MainWindow#writeToLogFromQueue(49f6e7a06ebc5aa8).(); |
| 178 | void writeToLogcxx . . $ MainWindow#writeToLog(ddc4016aa177531b).(QByteArraycxx . . $ QByteArray# line); |
| 179 | void preferencesChangedcxx . . $ MainWindow#preferencesChanged(49f6e7a06ebc5aa8).(); |
| 180 | void dispatchStatuscxx . . $ MainWindow#dispatchStatus(49f6e7a06ebc5aa8).(); |
| 181 | void newCommandcxx . . $ MainWindow#newCommand(49f6e7a06ebc5aa8).(); |
| 182 | void herculesEndedSlotcxx . . $ MainWindow#herculesEndedSlot(49f6e7a06ebc5aa8).(); |
| 183 | void editCopycxx . . $ MainWindow#editCopy(49f6e7a06ebc5aa8).(); |
| 184 | void deleteMessagescxx . . $ MainWindow#deleteMessages(49f6e7a06ebc5aa8).(); |
| 185 | void saveMessagescxx . . $ MainWindow#saveMessages(49f6e7a06ebc5aa8).(); |
| 186 | void preferencescxx . . $ MainWindow#preferences(49f6e7a06ebc5aa8).(); |
| 187 | void closeEventcxx . . $ MainWindow#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent# * event); |
| 188 | void tryAbortcxx . . $ MainWindow#tryAbort(49f6e7a06ebc5aa8).(); |
| 189 | void systrayClickcxx . . $ MainWindow#systrayClick(dc7279b31293a212).(QSystemTrayIconcxx . . $ QSystemTrayIcon#::ActivationReasoncxx . . $ QSystemTrayIcon#ActivationReason#); |
| 190 | void hideRestorecxx . . $ MainWindow#hideRestore(49f6e7a06ebc5aa8).(); |
| 191 | void systrayHintcxx . . $ MainWindow#systrayHint(49f6e7a06ebc5aa8).(); |
| 192 | void recoverDevicescxx . . $ MainWindow#recoverDevices(ce30c813b115780d).(QByteArraycxx . . $ QByteArray#& statusLine); |
| 193 | void keyPressEventcxx . . $ MainWindow#keyPressEvent(c92999c1b6b09cc0).(QKeyEventcxx . . $ QKeyEvent# * event); |
| 194 | }; |
| 195 | |
| 196 | #endif // MAINWINDOW_H |