| 1 | /* |
| 2 | * File: mainwindow.cpp |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Aug 7, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This program is free software: you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation, either version 3 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 22 | * |
| 23 | */ |
| 24 | |
| 25 | #include "MainWindow.h"cxx . . $ `<file>/HercStudio/MainWindow.h`/ |
| 26 | #include "MainPanelClassic.h"cxx . . $ `<file>/HercStudio/MainPanelClassic.h`/ |
| 27 | #include "MainPanelModern.h"cxx . . $ `<file>/HercStudio/MainPanelModern.h`/ |
| 28 | #include "PreferencesWin.h"cxx . . $ `<file>/HercStudio/PreferencesWin.h`/ |
| 29 | #include "Watchdog.h"cxx . . $ `<file>/HercStudio/Watchdog.h`/ |
| 30 | #include "Recovery.h"cxx . . $ `<file>/HercStudio/Recovery.h`/ |
| 31 | #include "HelpAbout.h"cxx . . $ `<file>/HercStudio/HelpAbout.h`/ |
| 32 | #include "DasdInit.h"cxx . . $ `<file>/HercUtilities/DasdInit.h`/ |
| 33 | #include "DasdLoad.h"cxx . . $ `<file>/HercUtilities/DasdLoad.h`/ |
| 34 | #include "DasdIsup.h"cxx . . $ `<file>/HercUtilities/DasdIsup.h`/ |
| 35 | #include "Dasdls.h"cxx . . $ `<file>/HercUtilities/Dasdls.h`/ |
| 36 | #include "Dasdcat.h"cxx . . $ `<file>/HercUtilities/Dasdcat.h`/ |
| 37 | #include "Dasdconv.h"cxx . . $ `<file>/HercUtilities/Dasdconv.h`/ |
| 38 | #include "Dasdcopy.h"cxx . . $ `<file>/HercUtilities/Dasdcopy.h`/ |
| 39 | #include "TapeMap.h"cxx . . $ `<file>/HercUtilities/TapeMap.h`/ |
| 40 | #include "TapeSplt.h"cxx . . $ `<file>/HercUtilities/TapeSplt.h`/ |
| 41 | #include "TapeCopy.h"cxx . . $ `<file>/HercUtilities/TapeCopy.h`/ |
| 42 | #include "HetInit.h"cxx . . $ `<file>/HercUtilities/HetInit.h`/ |
| 43 | #include "HetGet.h"cxx . . $ `<file>/HercUtilities/HetGet.h`/ |
| 44 | #include "HetUpd.h"cxx . . $ `<file>/HercUtilities/HetUpd.h`/ |
| 45 | #include "HetMap.h"cxx . . $ `<file>/HercUtilities/HetMap.h`/ |
| 46 | #include "PrinterDialog.h"cxx . . $ `<file>/HercPrinter/PrinterDialog.h`/ |
| 47 | #include "StationeryDialog.h"cxx . . $ `<file>/HercPrinter/StationeryDialog.h`/ |
| 48 | #include "StationeryDialog.h"cxx . . $ `<file>/HercPrinter/StationeryDialog.h`/ |
| 49 | #include "DecolationDialog.h"cxx . . $ `<file>/HercPrinter/DecolationDialog.h`/ |
| 50 | #include "NamedPipe.h"cxx . . $ `<file>/HercStudio/NamedPipe.h`/ |
| 51 | #include "Environment.h"cxx . . $ `<file>/HercStudio/Environment.h`/ |
| 52 | #include "Arguments.h"cxx . . $ `<file>/HercStudio/Arguments.h`/ |
| 53 | #include "IplConfig.h"cxx . . $ `<file>/HercStudio/IplConfig.h`/ |
| 54 | #include "SystemConfigLine.h"cxx . . $ `<file>/HercConfiguration/SystemConfigLine.h`/ |
| 55 | #include "LogWidget.h"cxx . . $ `<file>/HercStudio/LogWidget.h`/ |
| 56 | |
| 57 | #include <QFileDialog> |
| 58 | #include <QDockWidget> |
| 59 | #include <QMessageBox> |
| 60 | #include <QFile> |
| 61 | #include <QTimer> |
| 62 | |
| 63 | #include <iostream> |
| 64 | #include "cerrno" |
| 65 | #ifndef hFramework |
| 66 | #include <err.h> |
| 67 | #endif |
| 68 | #include <typeinfo> |
| 69 | #ifdef UNISTD_INCcxx . . $ `HercStudio/HerculesStudio.h:38:9`! |
| 70 | #include <unistd.h> |
| 71 | #endif |
| 72 | |
| 73 | |
| 74 | MainWindowcxx . . $ MainWindow#::MainWindowcxx . . $ MainWindow#MainWindow(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent) |
| 75 | : QMainWindowcxx . . $ QMainWindow#(parent), |
| 76 | mTopDockcxx . . $ MainWindow#mTopDock.(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!), |
| 77 | mDevicesDockcxx . . $ MainWindow#mDevicesDock.(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!), |
| 78 | mConfigFilecxx . . $ MainWindow#mConfigFile.(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!), |
| 79 | mCommandLinecxx . . $ MainWindow#mCommandLine.(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!), |
| 80 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!), |
| 81 | mPrinterDialogcxx . . $ MainWindow#mPrinterDialog.(NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!), |
| 82 | mHerculesActivecxx . . $ MainWindow#mHerculesActive.(false) |
| 83 | { |
| 84 | uicxx . . $ MainWindow#ui..setupUicxx . . $ Ui_MainWindowClass#setupUi(f2c32f691ede4a4e).(this); |
| 85 | setDarkBackgroundcxx . . $ MainWindow#setDarkBackground(b45ddcbc8423892c).(Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().darkBackgroundcxx . . $ Preferences#darkBackground(50ce9a9e25b4a850).()); |
| 86 | QStringcxx . . $ QString# iconPathcxx . . $ QString#QString(85c52e162fed56f9).(Environmentcxx . . $ Environment#::getIconsPathcxx . . $ Environment#getIconsPath(75da78375bc7a3dd).().c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 87 | this->setWindowIconcxx . . $ QWidget#setWindowIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(iconPath+cxx . . $ operator+(3d22f08efddf8107)."/tray.xpm")); |
| 88 | |
| 89 | if (Argumentscxx . . $ Arguments#::getInstancecxx . . $ Arguments#getInstance(86e8a5b8d0f95c3c).().configFileNamecxx . . $ Arguments#configFileName(f4fff0029955a25f).().lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0) |
| 90 | { |
| 91 | mConfigFilecxx . . $ MainWindow#mConfigFile. = new ConfigFilecxx . . $ ConfigFile#(Argumentscxx . . $ Arguments#::getInstancecxx . . $ Arguments#getInstance(86e8a5b8d0f95c3c).().configFileNamecxx . . $ Arguments#configFileName(f4fff0029955a25f).()); |
| 92 | } |
| 93 | |
| 94 | QDircxx . . $ QDir# dcxx . . $ QDir#QDir(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).); |
| 95 | mCurrentPathcxx . . $ MainWindow#mCurrentPath. =cxx . . $ QString#`operator=`(7b76e6691bca1027). d.absolutePathcxx . . $ QDir#absolutePath(6ef7b6c27b00b43d).(); |
| 96 | |
| 97 | // left dock (Devices) |
| 98 | mDevicesDockcxx . . $ MainWindow#mDevicesDock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("Devices"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 99 | mDevicesDockcxx . . $ MainWindow#mDevicesDock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 100 | mDevicesPanecxx . . $ MainWindow#mDevicesPane. = new DevicesPanecxx . . $ DevicesPane#(this); |
| 101 | mDevicesDockcxx . . $ MainWindow#mDevicesDock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mDevicesPanecxx . . $ MainWindow#mDevicesPane.); |
| 102 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::LeftDockWidgetAreacxx . . $ Qt/LeftDockWidgetArea., mDevicesDockcxx . . $ MainWindow#mDevicesDock. ); |
| 103 | |
| 104 | // top dock (MainPanel) |
| 105 | mTopDockcxx . . $ MainWindow#mTopDock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("Controls"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 106 | mTopDockcxx . . $ MainWindow#mTopDock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 107 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().themecxx . . $ Preferences#theme(26a9862789320542).() == Preferencescxx . . $ Preferences#::Moderncxx . . $ Preferences#Modern.) |
| 108 | mMainPanelcxx . . $ MainWindow#mMainPanel. = new MainPanelModerncxx . . $ MainPanelModern#(this); |
| 109 | else |
| 110 | mMainPanelcxx . . $ MainWindow#mMainPanel. = new MainPanelClassiccxx . . $ MainPanelClassic#(this); |
| 111 | mTopDockcxx . . $ MainWindow#mTopDock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mMainPanelcxx . . $ MainWindow#mMainPanel.); |
| 112 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::TopDockWidgetAreacxx . . $ Qt/TopDockWidgetArea.,mTopDockcxx . . $ MainWindow#mTopDock. ); |
| 113 | |
| 114 | // gregs32 dock |
| 115 | mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("32-bit General Regs"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 116 | mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 117 | mGRegisters32cxx . . $ MainWindow#mGRegisters32. = new Regs32cxx . . $ Regs32#(this,Regs32cxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).::gCommandcxx . . $ Regs32#gCommand.); |
| 118 | mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mGRegisters32cxx . . $ MainWindow#mGRegisters32.); |
| 119 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::TopDockWidgetAreacxx . . $ Qt/TopDockWidgetArea.,mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock. ); |
| 120 | this->tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mTopDockcxx . . $ MainWindow#mTopDock.,mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock.); |
| 121 | mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 122 | |
| 123 | // cregs32 dock |
| 124 | mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("32-bit Control Regs"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 125 | mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 126 | mCRegisters32cxx . . $ MainWindow#mCRegisters32. = new Regs32cxx . . $ Regs32#(this,Regs32cxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).::cCommandcxx . . $ Regs32#cCommand.); |
| 127 | mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mCRegisters32cxx . . $ MainWindow#mCRegisters32.); |
| 128 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::TopDockWidgetAreacxx . . $ Qt/TopDockWidgetArea.,mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock. ); |
| 129 | this->tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mTopDockcxx . . $ MainWindow#mTopDock.,mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock.); |
| 130 | mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 131 | |
| 132 | // fregs32 dock |
| 133 | mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("32-bit Floating-Point Regs"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 134 | mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 135 | mFRegisters32cxx . . $ MainWindow#mFRegisters32. = new Regs32cxx . . $ Regs32#(this,Regs32cxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).::fCommandcxx . . $ Regs32#fCommand.); |
| 136 | mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mFRegisters32cxx . . $ MainWindow#mFRegisters32.); |
| 137 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::TopDockWidgetAreacxx . . $ Qt/TopDockWidgetArea.,mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock. ); |
| 138 | this->tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mTopDockcxx . . $ MainWindow#mTopDock.,mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock.); |
| 139 | mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 140 | |
| 141 | // aregs32 dock |
| 142 | mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("Access Registers"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 143 | mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 144 | mARegisters32cxx . . $ MainWindow#mARegisters32. = new Regs32cxx . . $ Regs32#(this,Regs32cxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).::aCommandcxx . . $ Regs32#aCommand.); |
| 145 | mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mARegisters32cxx . . $ MainWindow#mARegisters32.); |
| 146 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::TopDockWidgetAreacxx . . $ Qt/TopDockWidgetArea.,mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock. ); |
| 147 | this->tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mTopDockcxx . . $ MainWindow#mTopDock.,mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock.); |
| 148 | mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 149 | |
| 150 | // gregs64 dock |
| 151 | mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("64-bit General Regs"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 152 | mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 153 | mGRegisters64cxx . . $ MainWindow#mGRegisters64. = new Regs64cxx . . $ Regs64#(this,Regs64cxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).::gCommandcxx . . $ Regs64#gCommand.); |
| 154 | mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mGRegisters64cxx . . $ MainWindow#mGRegisters64.); |
| 155 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::TopDockWidgetAreacxx . . $ Qt/TopDockWidgetArea.,mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock. ); |
| 156 | this->tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mTopDockcxx . . $ MainWindow#mTopDock.,mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock.); |
| 157 | mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 158 | |
| 159 | // cregs64 dock |
| 160 | mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("64-bit Control Regs"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 161 | mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 162 | mCRegisters64cxx . . $ MainWindow#mCRegisters64. = new Regs64cxx . . $ Regs64#(this, Regs64cxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).::cCommandcxx . . $ Regs64#cCommand.); |
| 163 | mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mCRegisters64cxx . . $ MainWindow#mCRegisters64.); |
| 164 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::TopDockWidgetAreacxx . . $ Qt/TopDockWidgetArea.,mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock. ); |
| 165 | this->tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mTopDockcxx . . $ MainWindow#mTopDock.,mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock.); |
| 166 | mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 167 | |
| 168 | // fregs64 dock |
| 169 | mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("64-bit Floating Point Regs"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 170 | mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 171 | mFRegisters64cxx . . $ MainWindow#mFRegisters64. = new Regs64cxx . . $ Regs64#(this, Regs64cxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5).::fCommandcxx . . $ Regs64#fCommand.); |
| 172 | mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mFRegisters64cxx . . $ MainWindow#mFRegisters64.); |
| 173 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::TopDockWidgetAreacxx . . $ Qt/TopDockWidgetArea.,mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock. ); |
| 174 | this->tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mTopDockcxx . . $ MainWindow#mTopDock.,mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock.); |
| 175 | mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 176 | |
| 177 | tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock., mTopDockcxx . . $ MainWindow#mTopDock.); |
| 178 | |
| 179 | // CommandLine |
| 180 | mBottomDockcxx . . $ MainWindow#mBottomDock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("Command"cxx . . $ QString#QString(85c52e162fed56f9).,this); |
| 181 | mBottomDockcxx . . $ MainWindow#mBottomDock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 182 | mCommandLinecxx . . $ MainWindow#mCommandLine. = new CommandLinecxx . . $ CommandLine#(mBottomDockcxx . . $ MainWindow#mBottomDock.); |
| 183 | mCommandLinecxx . . $ MainWindow#mCommandLine.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(true); |
| 184 | mBottomDockcxx . . $ MainWindow#mBottomDock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mCommandLinecxx . . $ MainWindow#mCommandLine.); |
| 185 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::BottomDockWidgetAreacxx . . $ Qt/BottomDockWidgetArea.,mBottomDockcxx . . $ MainWindow#mBottomDock. ); |
| 186 | |
| 187 | // psw |
| 188 | mPswDockcxx . . $ MainWindow#mPswDock. = new QDockWidgetcxx . . $ QDockWidget#QDockWidget(184e10e88e175d5b).("PSW"cxx . . $ QString#QString(85c52e162fed56f9)., this); |
| 189 | mPswDockcxx . . $ MainWindow#mPswDock.->setFeaturescxx . . $ QDockWidget#setFeatures(82683813ccaffe24).(QDockWidgetcxx . . $ QDockWidget#::DockWidgetMovablecxx . . $ QDockWidget#DockWidgetMovable. |cxx . . $ `operator|`(44b013b039e3b181). QDockWidgetcxx . . $ QDockWidget#::DockWidgetFloatablecxx . . $ QDockWidget#DockWidgetFloatable.); |
| 190 | mPswcxx . . $ MainWindow#mPsw. = new Pswcxx . . $ Psw#(this->statusBarcxx . . $ QMainWindow#statusBar(422c485dd0fc791b).()); |
| 191 | mPswDockcxx . . $ MainWindow#mPswDock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mPswcxx . . $ MainWindow#mPsw.); |
| 192 | addDockWidgetcxx . . $ QMainWindow#addDockWidget(315e3aea24dde9f7).(Qtcxx . . $ Qt/::BottomDockWidgetAreacxx . . $ Qt/BottomDockWidgetArea.,mPswDockcxx . . $ MainWindow#mPswDock. ); |
| 193 | this->tabifyDockWidgetcxx . . $ QMainWindow#tabifyDockWidget(40cdd67d28b4897d).(mPswDockcxx . . $ MainWindow#mPswDock.,mBottomDockcxx . . $ MainWindow#mBottomDock.); |
| 194 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().pswModecxx . . $ Preferences#pswMode(3b27ccb883cb3a2e).() == Pswcxx . . $ Psw#::Dockedcxx . . $ Psw#Docked.) |
| 195 | mPswDockcxx . . $ MainWindow#mPswDock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true); |
| 196 | else |
| 197 | mPswDockcxx . . $ MainWindow#mPswDock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 198 | mPswcxx . . $ MainWindow#mPsw.->setModecxx . . $ Psw#setMode(8ebef82975aefedf).(Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().pswModecxx . . $ Preferences#pswMode(3b27ccb883cb3a2e).()); |
| 199 | mPswcxx . . $ MainWindow#mPsw.->setDormantcxx . . $ Psw#setDormant(49f6e7a06ebc5aa8).(); |
| 200 | |
| 201 | if( (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().regscxx . . $ Preferences#regs(a9d95c4d53de800d).(Preferencescxx . . $ Preferences#::ViewGR32cxx . . $ Preferences#ViewGR32.)) ) editView32BitGrcxx . . $ MainWindow#editView32BitGr(49f6e7a06ebc5aa8).(); |
| 202 | if( (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().regscxx . . $ Preferences#regs(a9d95c4d53de800d).(Preferencescxx . . $ Preferences#::ViewCR32cxx . . $ Preferences#ViewCR32.)) ) editView32BitCrcxx . . $ MainWindow#editView32BitCr(49f6e7a06ebc5aa8).(); |
| 203 | if( (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().regscxx . . $ Preferences#regs(a9d95c4d53de800d).(Preferencescxx . . $ Preferences#::ViewFR32cxx . . $ Preferences#ViewFR32.)) ) editView32BitFrcxx . . $ MainWindow#editView32BitFr(49f6e7a06ebc5aa8).(); |
| 204 | if( (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().regscxx . . $ Preferences#regs(a9d95c4d53de800d).(Preferencescxx . . $ Preferences#::ViewAR32cxx . . $ Preferences#ViewAR32.)) ) editView32BitArcxx . . $ MainWindow#editView32BitAr(49f6e7a06ebc5aa8).(); |
| 205 | if( (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().regscxx . . $ Preferences#regs(a9d95c4d53de800d).(Preferencescxx . . $ Preferences#::ViewGR64cxx . . $ Preferences#ViewGR64.)) ) editView64BitGrcxx . . $ MainWindow#editView64BitGr(49f6e7a06ebc5aa8).(); |
| 206 | if( (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().regscxx . . $ Preferences#regs(a9d95c4d53de800d).(Preferencescxx . . $ Preferences#::ViewCR64cxx . . $ Preferences#ViewCR64.)) ) editView64BitCrcxx . . $ MainWindow#editView64BitCr(49f6e7a06ebc5aa8).(); |
| 207 | if( (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().regscxx . . $ Preferences#regs(a9d95c4d53de800d).(Preferencescxx . . $ Preferences#::ViewFR64cxx . . $ Preferences#ViewFR64.)) ) editView64BitFrcxx . . $ MainWindow#editView64BitFr(49f6e7a06ebc5aa8).(); |
| 208 | uicxx . . $ MainWindow#ui..actionView_PSWcxx . . $ Ui_MainWindowClass#actionView_PSW.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().regscxx . . $ Preferences#regs(a9d95c4d53de800d).(Preferencescxx . . $ Preferences#::ViewPswcxx . . $ Preferences#ViewPsw.)); |
| 209 | editViewPSWcxx . . $ MainWindow#editViewPSW(49f6e7a06ebc5aa8).(); |
| 210 | |
| 211 | QStringcxx . . $ QString# pathcxx . . $ QString#QString(e1217c004a86c950). = Environmentcxx . . $ QString#QString(85c52e162fed56f9).::getIconsPathcxx . . $ Environment#getIconsPath(75da78375bc7a3dd).().c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); |
| 212 | QIconcxx . . $ QIcon# trayIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(path +cxx . . $ operator+(3d22f08efddf8107). "/tray.xpm"); |
| 213 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon. = new QSystemTrayIconcxx . . $ QSystemTrayIcon#(trayIcon); |
| 214 | |
| 215 | QMenucxx . . $ QMenu# *trayIconMenu = new QMenucxx . . $ QMenu#QMenu(108f35f7aa7f3cf9).(this); |
| 216 | QActioncxx . . $ QAction# *restoreAction = new QActioncxx . . $ QAction#QAction(6b24f83d17022bd9).(trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("&Hide"), this); |
| 217 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(restoreAction, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(hideRestore())); |
| 218 | trayIconMenu->addActioncxx . . $ QWidget#addAction(92b1e80c0a7f1406).(restoreAction); |
| 219 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->setContextMenucxx . . $ QSystemTrayIcon#setContextMenu(cb52c12b49e9b51b).(trayIconMenu); |
| 220 | |
| 221 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionNewcxx . . $ Ui_MainWindowClass#actionNew., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(newConfig())); |
| 222 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionOpen_configurationcxx . . $ Ui_MainWindowClass#actionOpen_configuration., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(openConfig())); |
| 223 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionEditConfigcxx . . $ Ui_MainWindowClass#actionEditConfig., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(config())); |
| 224 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionSavecxx . . $ Ui_MainWindowClass#actionSave., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(saveConfig())); |
| 225 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionSave_Ascxx . . $ Ui_MainWindowClass#actionSave_As., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(saveConfigAs())); |
| 226 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionExitcxx . . $ Ui_MainWindowClass#actionExit., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(exitNow())); |
| 227 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionViewControlscxx . . $ Ui_MainWindowClass#actionViewControls., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editViewControls())); |
| 228 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionViewDevicescxx . . $ Ui_MainWindowClass#actionViewDevices., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editViewDevices())); |
| 229 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionViewCommandcxx . . $ Ui_MainWindowClass#actionViewCommand., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editViewCommand())); |
| 230 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionView_32_bit_General_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_General_Registers., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editView32BitGr())); |
| 231 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionView_32_bit_Control_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Control_Registers., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editView32BitCr())); |
| 232 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionView_32_bit_Floating_Point_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Floating_Point_Registers., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editView32BitFr())); |
| 233 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionView_32_bit_Access_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Access_Registers., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editView32BitAr())); |
| 234 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionView_64_bit_General_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_General_Registers., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editView64BitGr())); |
| 235 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionView_64_bit_Control_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_Control_Registers., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editView64BitCr())); |
| 236 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionView_64_bit_Floating_Point_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_Floating_Point_Registers., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editView64BitFr())); |
| 237 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionView_PSWcxx . . $ Ui_MainWindowClass#actionView_PSW., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editViewPSW())); |
| 238 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionCopycxx . . $ Ui_MainWindowClass#actionCopy., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editCopy())); |
| 239 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDelete_messagescxx . . $ Ui_MainWindowClass#actionDelete_messages., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(deleteMessages())); |
| 240 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionSave_messagescxx . . $ Ui_MainWindowClass#actionSave_messages., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(saveMessages())); |
| 241 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionPreferencescxx . . $ Ui_MainWindowClass#actionPreferences., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(preferences())); |
| 242 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionPower_oncxx . . $ Ui_MainWindowClass#actionPower_on., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(powerOn())); |
| 243 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionPower_offcxx . . $ Ui_MainWindowClass#actionPower_off., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(powerOff())); |
| 244 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionIPL_Loadcxx . . $ Ui_MainWindowClass#actionIPL_Load., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(loadCommand())); |
| 245 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionStartcxx . . $ Ui_MainWindowClass#actionStart., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(start())); |
| 246 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionStopcxx . . $ Ui_MainWindowClass#actionStop., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(stop())); |
| 247 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionExtInterruptcxx . . $ Ui_MainWindowClass#actionExtInterrupt., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(extInterrupt())); |
| 248 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionStore_statuscxx . . $ Ui_MainWindowClass#actionStore_status., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(store())); |
| 249 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionPSW_Restartcxx . . $ Ui_MainWindowClass#actionPSW_Restart., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(restart())); |
| 250 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDevice_Interruptcxx . . $ Ui_MainWindowClass#actionDevice_Interrupt., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(devInterrupt())); |
| 251 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDasdinitcxx . . $ Ui_MainWindowClass#actionDasdinit., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(dasdinit())); |
| 252 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDasdloadcxx . . $ Ui_MainWindowClass#actionDasdload., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(dasdload())); |
| 253 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDasdisupcxx . . $ Ui_MainWindowClass#actionDasdisup., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(dasdisup())); |
| 254 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDasdlscxx . . $ Ui_MainWindowClass#actionDasdls., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(dasdls())); |
| 255 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDasdcatcxx . . $ Ui_MainWindowClass#actionDasdcat., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(dasdcat())); |
| 256 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDasdconvcxx . . $ Ui_MainWindowClass#actionDasdconv., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(dasdconv())); |
| 257 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDasdcopycxx . . $ Ui_MainWindowClass#actionDasdcopy., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(dasdcopy())); |
| 258 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionTapemapcxx . . $ Ui_MainWindowClass#actionTapemap., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(tapemap())); |
| 259 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionTapecopycxx . . $ Ui_MainWindowClass#actionTapecopy., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(tapecopy())); |
| 260 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionTapesplitcxx . . $ Ui_MainWindowClass#actionTapesplit., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(tapesplit())); |
| 261 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionHetinitcxx . . $ Ui_MainWindowClass#actionHetinit., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(hetinit())); |
| 262 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionHetgetcxx . . $ Ui_MainWindowClass#actionHetget., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(hetget())); |
| 263 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionHetupdcxx . . $ Ui_MainWindowClass#actionHetupd., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(hetupd())); |
| 264 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionHetmapcxx . . $ Ui_MainWindowClass#actionHetmap., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(hetmap())); |
| 265 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionStartPrintercxx . . $ Ui_MainWindowClass#actionStartPrinter., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(printer())); |
| 266 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionStationerycxx . . $ Ui_MainWindowClass#actionStationery., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(stationery())); |
| 267 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionDecolationcxx . . $ Ui_MainWindowClass#actionDecolation., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(decolation())); |
| 268 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ MainWindow#ui..actionAboutcxx . . $ Ui_MainWindowClass#actionAbout., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(triggered()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(helpAbout())); |
| 269 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mDevicesPanecxx . . $ MainWindow#mDevicesPane., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(restartDevices()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(restartDevices())); |
| 270 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mCommandLinecxx . . $ MainWindow#mCommandLine., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(returnPressed()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(newCommand())); |
| 271 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mCommandLinecxx . . $ MainWindow#mCommandLine., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(ctrl_c()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(editCopy())); |
| 272 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(activated(QSystemTrayIcon::ActivationReason)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(systrayClick(QSystemTrayIcon::ActivationReason))); |
| 273 | connectMainPanelcxx . . $ MainWindow#connectMainPanel(49f6e7a06ebc5aa8).(); |
| 274 | |
| 275 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().splitLogcxx . . $ Preferences#splitLog(50ce9a9e25b4a850).()) |
| 276 | { |
| 277 | mLogWindowcxx . . $ MainWindow#mLogWindow. = new LogWidgetcxx . . $ LogWidget#(this); |
| 278 | fontChangedcxx . . $ MainWindow#fontChanged(49f6e7a06ebc5aa8).(); |
| 279 | setCentralWidgetcxx . . $ QMainWindow#setCentralWidget(108f35f7aa7f3cf9).(static_cast<LogWidgetcxx . . $ LogWidget# *>(mLogWindowcxx . . $ MainWindow#mLogWindow.)->tabWidgetcxx . . $ LogWidget#tabWidget(b0d9db5e8d60deb8).()); |
| 280 | } |
| 281 | else |
| 282 | { |
| 283 | mLogWindowcxx . . $ MainWindow#mLogWindow. = new PlainLogWidgetcxx . . $ PlainLogWidget#PlainLogWidget(d4d784ff5f449b0d).(this); |
| 284 | mLogWindowcxx . . $ MainWindow#mLogWindow.->setReadOnlycxx . . $ QTextEdit#setReadOnly(b45ddcbc8423892c).(true); |
| 285 | fontChangedcxx . . $ MainWindow#fontChanged(49f6e7a06ebc5aa8).(); |
| 286 | setCentralWidgetcxx . . $ QMainWindow#setCentralWidget(108f35f7aa7f3cf9).(mLogWindowcxx . . $ MainWindow#mLogWindow.); |
| 287 | } |
| 288 | |
| 289 | int recoverRc = NamedPipecxx . . $ NamedPipe#::getInstancecxx . . $ NamedPipe#getInstance(464fad7f4e589b3).().recovercxx . . $ NamedPipe#recover(b126dc7c1de90089).(); |
| 290 | mRecoverycxx . . $ MainWindow#mRecovery. = (recoverRc == 1) ; |
| 291 | if (mRecoverycxx . . $ MainWindow#mRecovery.) |
| 292 | { |
| 293 | Recoverycxx . . $ Recovery# * r = new Recoverycxx . . $ Recovery#(this); |
| 294 | r->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 295 | mRecoveryConfigcxx . . $ MainWindow#mRecoveryConfig. =cxx . . $ QString#`operator=`(d02845eef0c33901). r->getHerculesConfcxx . . $ Recovery#getHerculesConf(efd28698952f529a).().c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); |
| 296 | if (mRecoveryConfigcxx . . $ MainWindow#mRecoveryConfig. ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "!") |
| 297 | { |
| 298 | exit(0); |
| 299 | } |
| 300 | if (mRecoveryConfigcxx . . $ MainWindow#mRecoveryConfig. ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "") |
| 301 | mRecoverycxx . . $ MainWindow#mRecovery. = false; |
| 302 | else |
| 303 | { |
| 304 | powerOncxx . . $ MainWindow#powerOn(49f6e7a06ebc5aa8).(); |
| 305 | mLogWindowcxx . . $ MainWindow#mLogWindow.->appendcxx . . $ PlainLogWidget#append(45672f3c6961a244).("--- successfully attached to Hercules ---"cxx . . $ QByteArray#QByteArray(34d26762b42c433a).); |
| 306 | } |
| 307 | } |
| 308 | mCommandLinecxx . . $ MainWindow#mCommandLine.->restorecxx . . $ CommandLine#restore(49f6e7a06ebc5aa8).(); |
| 309 | setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true); |
| 310 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().animatecxx . . $ Preferences#animate(50ce9a9e25b4a850).()) |
| 311 | QTimercxx . . $ QTimer#::singleShotcxx . . $ QTimer#singleShot(24d02da3284e5f26).(100, this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(preferencesChanged())); |
| 312 | if (Argumentscxx . . $ Arguments#::getInstancecxx . . $ Arguments#getInstance(86e8a5b8d0f95c3c).().configFileNamecxx . . $ Arguments#configFileName(f4fff0029955a25f).().lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0) |
| 313 | powerOncxx . . $ MainWindow#powerOn(49f6e7a06ebc5aa8).(); |
| 314 | } |
| 315 | |
| 316 | MainWindowcxx . . $ MainWindow#::~cxx . . $ MainWindow#`~MainWindow`(49f6e7a06ebc5aa8).MainWindowcxx . . $ MainWindow#() |
| 317 | { |
| 318 | DeviceConfigLinecxx . . $ DeviceConfigLine#::clearcxx . . $ DeviceConfigLine#clear(49f6e7a06ebc5aa8).(); // free acquired static data |
| 319 | if (mConfigFilecxx . . $ MainWindow#mConfigFile. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 320 | delete mConfigFilecxx . . $ MainWindow#mConfigFile.; |
| 321 | } |
| 322 | |
| 323 | void MainWindowcxx . . $ MainWindow#::connectMainPanelcxx . . $ MainWindow#connectMainPanel(49f6e7a06ebc5aa8).() |
| 324 | { |
| 325 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mMainPanelcxx . . $ MainWindow#mMainPanel., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(powerOnClicked()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(powerOn())); |
| 326 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mMainPanelcxx . . $ MainWindow#mMainPanel., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(powerOffClicked()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(powerOff())); |
| 327 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mMainPanelcxx . . $ MainWindow#mMainPanel., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(interruptClicked()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(extInterrupt())); |
| 328 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mMainPanelcxx . . $ MainWindow#mMainPanel., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(loadClicked()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(load())); |
| 329 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mMainPanelcxx . . $ MainWindow#mMainPanel., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(restartClicked()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(restart())); |
| 330 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mMainPanelcxx . . $ MainWindow#mMainPanel., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(storeClicked()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(store())); |
| 331 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mMainPanelcxx . . $ MainWindow#mMainPanel., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(startClicked()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(start())); |
| 332 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mMainPanelcxx . . $ MainWindow#mMainPanel., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(stopClicked()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(stop())); |
| 333 | } |
| 334 | |
| 335 | void MainWindowcxx . . $ MainWindow#::writeToLogcxx . . $ MainWindow#writeToLog(ddc4016aa177531b).(QByteArraycxx . . $ QByteArray# line) |
| 336 | { |
| 337 | mLogWindowcxx . . $ MainWindow#mLogWindow.->appendcxx . . $ PlainLogWidget#append(45672f3c6961a244).(line); |
| 338 | } |
| 339 | |
| 340 | void MainWindowcxx . . $ MainWindow#::preferencesChangedcxx . . $ MainWindow#preferencesChanged(49f6e7a06ebc5aa8).() |
| 341 | { |
| 342 | fontChangedcxx . . $ MainWindow#fontChanged(49f6e7a06ebc5aa8).(); |
| 343 | mipsChangedcxx . . $ MainWindow#mipsChanged(49f6e7a06ebc5aa8).(); |
| 344 | pswChangedcxx . . $ MainWindow#pswChanged(49f6e7a06ebc5aa8).(); |
| 345 | styleChangedcxx . . $ MainWindow#styleChanged(49f6e7a06ebc5aa8).(); |
| 346 | themeChangedcxx . . $ MainWindow#themeChanged(49f6e7a06ebc5aa8).(); |
| 347 | mLogWindowcxx . . $ MainWindow#mLogWindow.->preferencesChangedcxx . . $ PlainLogWidget#preferencesChanged(49f6e7a06ebc5aa8).(); |
| 348 | } |
| 349 | |
| 350 | void MainWindowcxx . . $ MainWindow#::fontChangedcxx . . $ MainWindow#fontChanged(49f6e7a06ebc5aa8).() |
| 351 | { |
| 352 | stdcxx . . $ std/::stringcxx . . $ std/string# fontName = Preferencescxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().fontNamecxx . . $ Preferences#fontName(4f9fe96fc69d00d).(Preferencescxx . . $ Preferences#::LogFontObjectcxx . . $ Preferences#LogFontObject.); |
| 353 | if (fontName.sizecxx . . $ std/__cxx11/basic_string#size(48278e53df7b52a5).() == 0 || fontName[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] == '(') |
| 354 | { |
| 355 | mLogWindowcxx . . $ MainWindow#mLogWindow. ->setFontcxx . . $ QWidget#setFont(d0a4bd0c8524b912).(QFontcxx . . $ QFont#QFont(49f6e7a06ebc5aa8).()); |
| 356 | } |
| 357 | else |
| 358 | { |
| 359 | QFontcxx . . $ QFont# fontcxx . . $ QFont#QFont(7ae16150a604556).(fontNamecxx . . $ QString#QString(85c52e162fed56f9)..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 360 | font.setPointSizecxx . . $ QFont#setPointSize(d4f767463ce0a6b3).(Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().fontSizecxx . . $ Preferences#fontSize(de63a260e3acfa17).(Preferencescxx . . $ Preferences#::LogFontObjectcxx . . $ Preferences#LogFontObject.)); |
| 361 | font.setBoldcxx . . $ QFont#setBold(b45ddcbc8423892c).(Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().fontIsBoldcxx . . $ Preferences#fontIsBold(104456de71e6e103).(Preferencescxx . . $ Preferences#::LogFontObjectcxx . . $ Preferences#LogFontObject.)); |
| 362 | font.setItaliccxx . . $ QFont#setItalic(b45ddcbc8423892c).(Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().fontIsItaliccxx . . $ Preferences#fontIsItalic(104456de71e6e103).(Preferencescxx . . $ Preferences#::LogFontObjectcxx . . $ Preferences#LogFontObject.)); |
| 363 | mLogWindowcxx . . $ MainWindow#mLogWindow.->setFontcxx . . $ QWidget#setFont(d0a4bd0c8524b912).(font); |
| 364 | } |
| 365 | mCRegisters32cxx . . $ MainWindow#mCRegisters32.->setFontcxx . . $ Regs32#setFont(49f6e7a06ebc5aa8).(); |
| 366 | mGRegisters32cxx . . $ MainWindow#mGRegisters32.->setFontcxx . . $ Regs32#setFont(49f6e7a06ebc5aa8).(); |
| 367 | mFRegisters32cxx . . $ MainWindow#mFRegisters32.->setFontcxx . . $ Regs32#setFont(49f6e7a06ebc5aa8).(); |
| 368 | mARegisters32cxx . . $ MainWindow#mARegisters32.->setFontcxx . . $ Regs32#setFont(49f6e7a06ebc5aa8).(); |
| 369 | mCRegisters64cxx . . $ MainWindow#mCRegisters64.->setFontcxx . . $ Regs64#setFont(49f6e7a06ebc5aa8).(); |
| 370 | mGRegisters64cxx . . $ MainWindow#mGRegisters64.->setFontcxx . . $ Regs64#setFont(49f6e7a06ebc5aa8).(); |
| 371 | mFRegisters64cxx . . $ MainWindow#mFRegisters64.->setFontcxx . . $ Regs64#setFont(49f6e7a06ebc5aa8).(); |
| 372 | |
| 373 | mPswcxx . . $ MainWindow#mPsw.->setFontcxx . . $ Psw#setFont(49f6e7a06ebc5aa8).(); |
| 374 | mCommandLinecxx . . $ MainWindow#mCommandLine.->setFontcxx . . $ CommandLine#setFont(49f6e7a06ebc5aa8).(); |
| 375 | } |
| 376 | |
| 377 | void MainWindowcxx . . $ MainWindow#::mipsChangedcxx . . $ MainWindow#mipsChanged(49f6e7a06ebc5aa8).() |
| 378 | { |
| 379 | mMainPanelcxx . . $ MainWindow#mMainPanel.->switchMipscxx . . $ MainPanel#switchMips(49f6e7a06ebc5aa8).(); |
| 380 | } |
| 381 | |
| 382 | void MainWindowcxx . . $ MainWindow#::pswChangedcxx . . $ MainWindow#pswChanged(49f6e7a06ebc5aa8).() |
| 383 | { |
| 384 | mPswcxx . . $ MainWindow#mPsw.->setModecxx . . $ Psw#setMode(8ebef82975aefedf).(Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().pswModecxx . . $ Preferences#pswMode(3b27ccb883cb3a2e).()); |
| 385 | mPswDockcxx . . $ MainWindow#mPswDock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().pswModecxx . . $ Preferences#pswMode(3b27ccb883cb3a2e).() == Pswcxx . . $ Psw#::Dockedcxx . . $ Psw#Docked.); |
| 386 | } |
| 387 | |
| 388 | void MainWindowcxx . . $ MainWindow#::styleChangedcxx . . $ MainWindow#styleChanged(49f6e7a06ebc5aa8).() |
| 389 | { |
| 390 | QByteArraycxx . . $ QByteArray# loadAddress = |
| 391 | QByteArraycxx . . $ QByteArray#QByteArray(3203d9f8f38841a4).::numbercxx . . $ QByteArray#number(4869bc8897d11479).(mMainPanelcxx . . $ MainWindow#mMainPanel.->getLoadAddresscxx . . $ MainPanel#getLoadAddress(b126dc7c1de90089).(),16); // preserve |
| 392 | mMainPanelcxx . . $ MainWindow#mMainPanel.->closecxx . . $ QWidget#close(c9857a73d68e59ba).(); |
| 393 | delete mMainPanelcxx . . $ MainWindow#mMainPanel.; |
| 394 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().themecxx . . $ Preferences#theme(26a9862789320542).() == Preferencescxx . . $ Preferences#::Classiccxx . . $ Preferences#Classic.) |
| 395 | mMainPanelcxx . . $ MainWindow#mMainPanel. = new MainPanelClassiccxx . . $ MainPanelClassic#(this); |
| 396 | else |
| 397 | mMainPanelcxx . . $ MainWindow#mMainPanel. = new MainPanelModerncxx . . $ MainPanelModern#(this); |
| 398 | mMainPanelcxx . . $ MainWindow#mMainPanel.->setLoadAddresscxx . . $ MainPanel#setLoadAddress(85c52e162fed56f9).(loadAddress); // restore ipl address |
| 399 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) mMainPanelcxx . . $ MainWindow#mMainPanel.->standbycxx . . $ MainPanel#standby(49f6e7a06ebc5aa8).(); |
| 400 | mTopDockcxx . . $ MainWindow#mTopDock.->setWidgetcxx . . $ QDockWidget#setWidget(108f35f7aa7f3cf9).(mMainPanelcxx . . $ MainWindow#mMainPanel.); |
| 401 | connectMainPanelcxx . . $ MainWindow#connectMainPanel(49f6e7a06ebc5aa8).(); |
| 402 | } |
| 403 | |
| 404 | void MainWindowcxx . . $ MainWindow#::themeChangedcxx . . $ MainWindow#themeChanged(49f6e7a06ebc5aa8).() |
| 405 | { |
| 406 | setDarkBackgroundcxx . . $ MainWindow#setDarkBackground(b45ddcbc8423892c). (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().darkBackgroundcxx . . $ Preferences#darkBackground(50ce9a9e25b4a850).()); |
| 407 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().animatecxx . . $ Preferences#animate(50ce9a9e25b4a850).()) |
| 408 | mMainPanelcxx . . $ MainWindow#mMainPanel.->animatecxx . . $ MainPanel#animate(49f6e7a06ebc5aa8).(); |
| 409 | } |
| 410 | |
| 411 | void MainWindowcxx . . $ MainWindow#::writeToLogFromQueuecxx . . $ MainWindow#writeToLogFromQueue(49f6e7a06ebc5aa8).() |
| 412 | { |
| 413 | if (!mLogQueuecxx . . $ MainWindow#mLogQueue..emptycxx . . $ SynchronizedQueue#empty(50ce9a9e25b4a850).()) |
| 414 | { |
| 415 | QByteArraycxx . . $ QByteArray#& s = mLogQueuecxx . . $ MainWindow#mLogQueue..frontcxx . . $ SynchronizedQueue#front(d668b6006004d224).(); |
| 416 | if (!s.isEmptycxx . . $ QByteArray#isEmpty(50ce9a9e25b4a850).()) |
| 417 | { |
| 418 | mLogWindowcxx . . $ MainWindow#mLogWindow.->appendcxx . . $ PlainLogWidget#append(45672f3c6961a244).(s); |
| 419 | } |
| 420 | mLogQueuecxx . . $ MainWindow#mLogQueue..pop_frontcxx . . $ SynchronizedQueue#pop_front(49f6e7a06ebc5aa8).(); |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | void MainWindowcxx . . $ MainWindow#::dispatchStatuscxx . . $ MainWindow#dispatchStatus(49f6e7a06ebc5aa8).() |
| 425 | { |
| 426 | while (!mStatusQueuecxx . . $ MainWindow#mStatusQueue..emptycxx . . $ SynchronizedQueue#empty(50ce9a9e25b4a850).()) |
| 427 | { |
| 428 | QByteArraycxx . . $ QByteArray#& statusLine = mStatusQueuecxx . . $ MainWindow#mStatusQueue..frontcxx . . $ SynchronizedQueue#front(d668b6006004d224).(); |
| 429 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(1, "writeToDevice:" << statusLine.data() << std::endl); |
| 430 | if (!statusLine.isEmptycxx . . $ QByteArray#isEmpty(50ce9a9e25b4a850).()) |
| 431 | { |
| 432 | if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).0] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'D') |
| 433 | { |
| 434 | if (mDevicesRecoverycxx . . $ MainWindow#mDevicesRecovery.) recoverDevicescxx . . $ MainWindow#recoverDevices(ce30c813b115780d).(statusLine); |
| 435 | mDevicesPanecxx . . $ MainWindow#mDevicesPane.->notifycxx . . $ DevicesPane#notify(544790aa27d183a0).(statusLine); |
| 436 | } |
| 437 | else if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).0] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'G') |
| 438 | mGRegisters32cxx . . $ MainWindow#mGRegisters32.->notifycxx . . $ Regs32#notify(544790aa27d183a0).(statusLine); |
| 439 | else if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).0] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'C') |
| 440 | mCRegisters32cxx . . $ MainWindow#mCRegisters32.->notifycxx . . $ Regs32#notify(544790aa27d183a0).(statusLine); |
| 441 | else if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).0] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'F') |
| 442 | mFRegisters32cxx . . $ MainWindow#mFRegisters32.->notifycxx . . $ Regs32#notify(544790aa27d183a0).(statusLine); |
| 443 | else if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).0] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'A') |
| 444 | mARegisters32cxx . . $ MainWindow#mARegisters32.->notifycxx . . $ Regs32#notify(544790aa27d183a0).(statusLine); |
| 445 | else if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).0] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). '6') |
| 446 | { |
| 447 | if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).3] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'G') |
| 448 | mGRegisters64cxx . . $ MainWindow#mGRegisters64.->notifycxx . . $ Regs64#notify(544790aa27d183a0).(statusLine); |
| 449 | else if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).3] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'C') |
| 450 | mCRegisters64cxx . . $ MainWindow#mCRegisters64.->notifycxx . . $ Regs64#notify(544790aa27d183a0).(statusLine); |
| 451 | else if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).3] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'F') |
| 452 | mFRegisters64cxx . . $ MainWindow#mFRegisters64.->notifycxx . . $ Regs64#notify(544790aa27d183a0).(statusLine); |
| 453 | } |
| 454 | else |
| 455 | { |
| 456 | if (mMainPanelcxx . . $ MainWindow#mMainPanel.->notifycxx . . $ MainPanel#notify(544790aa27d183a0).(statusLine)) |
| 457 | mStatusReceivedcxx . . $ MainWindow#mStatusReceived. = true; |
| 458 | mPswcxx . . $ MainWindow#mPsw.->notifycxx . . $ Psw#notify(544790aa27d183a0).(statusLine); |
| 459 | } |
| 460 | } |
| 461 | mStatusQueuecxx . . $ MainWindow#mStatusQueue..pop_frontcxx . . $ SynchronizedQueue#pop_front(49f6e7a06ebc5aa8).(); |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | void MainWindowcxx . . $ MainWindow#::recoverDevicescxx . . $ MainWindow#recoverDevices(ce30c813b115780d).(QByteArraycxx . . $ QByteArray#& statusLine) |
| 466 | { |
| 467 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(3,"recorver:" <<statusLine.data()); |
| 468 | if (statusLine.startsWithcxx . . $ QByteArray#startsWith(7d4bdb1abc417636).("DEVX=")) return; |
| 469 | if (statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).4] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). 'X') |
| 470 | { |
| 471 | if ( mDevicesRecoveryCommencedcxx . . $ MainWindow#mDevicesRecoveryCommenced. ) |
| 472 | { |
| 473 | mDevicesRecoveryCommencedcxx . . $ MainWindow#mDevicesRecoveryCommenced. = false; |
| 474 | mDevicesRecoverycxx . . $ MainWindow#mDevicesRecovery. = false; |
| 475 | } |
| 476 | else |
| 477 | { |
| 478 | mDevicesRecoveryCommencedcxx . . $ MainWindow#mDevicesRecoveryCommenced. = true; |
| 479 | } |
| 480 | return; |
| 481 | } |
| 482 | else if (statusLine.startsWithcxx . . $ QByteArray#startsWith(7d4bdb1abc417636).("DEV=")) |
| 483 | statusLine =cxx . . $ QByteArray#`operator=`(85c7caed82076bbb). "DEVA=" +cxx . . $ operator+(c76e440e68d4afec). statusLine.midcxx . . $ QByteArray#mid(7d967001c4837235).(4); |
| 484 | else if (statusLine.startsWithcxx . . $ QByteArray#startsWith(7d4bdb1abc417636).("DEV") && statusLine[cxx . . $ QByteArray#`operator[]`(6eaff86c84670f1a).4] ==cxx . . $ QByteRef#`operator==`(aec1b1cad4a17585). '=') |
| 485 | statusLine =cxx . . $ QByteArray#`operator=`(85c7caed82076bbb). "DEVA=" +cxx . . $ operator+(c76e440e68d4afec). statusLine.midcxx . . $ QByteArray#mid(7d967001c4837235).(5); |
| 486 | |
| 487 | } |
| 488 | |
| 489 | void MainWindowcxx . . $ MainWindow#::newCommandcxx . . $ MainWindow#newCommand(49f6e7a06ebc5aa8).() |
| 490 | { |
| 491 | if (mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) return; |
| 492 | CommandLinecxx . . $ CommandLine# *cl = static_cast<CommandLinecxx . . $ CommandLine# *>(QObjectcxx . . $ QObject#::sendercxx . . $ QObject#sender(2dbb680a34285c44).()); |
| 493 | if (cl == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) return; |
| 494 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(2, cl->text().toStdString()); |
| 495 | if (!mLogWindowcxx . . $ MainWindow#mLogWindow.->isOSLogcxx . . $ PlainLogWidget#isOSLog(c9857a73d68e59ba).() || cl->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().leftcxx . . $ QString#left(3f3c3d0e9c0eb37f).(1).comparecxx . . $ QString#compare(38964227c2ffb4ec).("."cxx . . $ QString#QString(85c52e162fed56f9).) == 0) |
| 496 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueFormattedCommandcxx . . $ HerculesExecutor#issueFormattedCommand(2fa786934fe80e24).("%s\n",cl->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toUtf8cxx . . $ QString#toUtf8(7c2073558a834e49).().datacxx . . $ QByteArray#data(41208ce6ca65dd58).()); |
| 497 | else |
| 498 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueFormattedCommandcxx . . $ HerculesExecutor#issueFormattedCommand(2fa786934fe80e24).(".%s\n",cl->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toUtf8cxx . . $ QString#toUtf8(7c2073558a834e49).().datacxx . . $ QByteArray#data(41208ce6ca65dd58).()); |
| 499 | setIpledcxx . . $ MainWindow#setIpled(7df51288a9ebd664).(clcxx . . $ QString#QString(e1217c004a86c950).->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).()); |
| 500 | } |
| 501 | |
| 502 | |
| 503 | void MainWindowcxx . . $ MainWindow#::newConfigcxx . . $ MainWindow#newConfig(49f6e7a06ebc5aa8).() |
| 504 | { |
| 505 | mConfigFilecxx . . $ MainWindow#mConfigFile. = new ConfigFilecxx . . $ ConfigFile#("/usr/share/herculesstudio/template.conf"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 506 | mConfigFilecxx . . $ MainWindow#mConfigFile.->setNewcxx . . $ ConfigFile#setNew(b45ddcbc8423892c).(true); |
| 507 | mConfigurationcxx . . $ MainWindow#mConfiguration. = new Configurationcxx . . $ Configuration#(mConfigFilecxx . . $ MainWindow#mConfigFile., true, this); |
| 508 | mConfigurationcxx . . $ MainWindow#mConfiguration.->showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 509 | this->setWindowTitlecxx . . $ QWidget#setWindowTitle(3520e46b33348bf6).("(new file) - Hercules Studio"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 510 | } |
| 511 | |
| 512 | void MainWindowcxx . . $ MainWindow#::configcxx . . $ MainWindow#config(49f6e7a06ebc5aa8).() |
| 513 | { |
| 514 | if (mConfigFilecxx . . $ MainWindow#mConfigFile. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 515 | openConfigcxx . . $ MainWindow#openConfig(49f6e7a06ebc5aa8).(); |
| 516 | if (mConfigFilecxx . . $ MainWindow#mConfigFile. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 517 | return; |
| 518 | mConfigurationcxx . . $ MainWindow#mConfiguration. = new Configurationcxx . . $ Configuration#(mConfigFilecxx . . $ MainWindow#mConfigFile., false, this); |
| 519 | mConfigurationcxx . . $ MainWindow#mConfiguration.->showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 520 | } |
| 521 | |
| 522 | void MainWindowcxx . . $ MainWindow#::openConfigcxx . . $ MainWindow#openConfig(49f6e7a06ebc5aa8).() |
| 523 | { |
| 524 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"config at:" << Preferences::getInstance().configDir() << "."); |
| 525 | stdcxx . . $ std/::stringcxx . . $ std/string# scxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f). = QFileDialogcxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).::getOpenFileNamecxx . . $ QFileDialog#getOpenFileName(a6b29be4bec65236).(this, |
| 526 | trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Open configuration"), |
| 527 | Preferencescxx . . $ QString#QString(85c52e162fed56f9).::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().configDircxx . . $ Preferences#configDir(219584694fe2b248).().c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(), |
| 528 | trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Hercules configuration files (*.conf *.cnf);;All files(*)")).toUtf8cxx . . $ QString#toUtf8(7c2073558a834e49).().datacxx . . $ QByteArray#data(41208ce6ca65dd58).(); |
| 529 | if (s.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() == 0) |
| 530 | return; |
| 531 | |
| 532 | mConfigFilecxx . . $ MainWindow#mConfigFile. = new ConfigFilecxx . . $ ConfigFile#(s); |
| 533 | QFileInfocxx . . $ QFileInfo# fcxx . . $ QFileInfo#QFileInfo(3520e46b33348bf6).(scxx . . $ QString#QString(85c52e162fed56f9)..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 534 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setVolatileConfigDircxx . . $ Preferences#setVolatileConfigDir(9c546c94e5fcce4e).(fcxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d)..dircxx . . $ QFileInfo#dir(ac6552cf9b6b4ed1).().absolutePathcxx . . $ QDir#absolutePath(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).().c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 535 | this->setWindowTitlecxx . . $ QWidget#setWindowTitle(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).mConfigFilecxx . . $ MainWindow#mConfigFile.->getFileNamecxx . . $ ConfigFile#getFileName(f4fff0029955a25f).() +cxx . . $ std/operator+(40fc1db9226233c6). " - Hercules Studio").c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 536 | } |
| 537 | |
| 538 | void MainWindowcxx . . $ MainWindow#::saveConfigcxx . . $ MainWindow#saveConfig(49f6e7a06ebc5aa8).() |
| 539 | { |
| 540 | if (mConfigFilecxx . . $ MainWindow#mConfigFile. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) return; |
| 541 | if (mConfigFilecxx . . $ MainWindow#mConfigFile.->isNewcxx . . $ ConfigFile#isNew(50ce9a9e25b4a850).()) |
| 542 | { |
| 543 | saveConfigAscxx . . $ MainWindow#saveConfigAs(49f6e7a06ebc5aa8).(); |
| 544 | } |
| 545 | else |
| 546 | { |
| 547 | mConfigFilecxx . . $ MainWindow#mConfigFile.->appendNewLinescxx . . $ ConfigFile#appendNewLines(49f6e7a06ebc5aa8).(); |
| 548 | mConfigFilecxx . . $ MainWindow#mConfigFile.->writecxx . . $ ConfigFile#write(c9857a73d68e59ba).(); |
| 549 | } |
| 550 | } |
| 551 | |
| 552 | void MainWindowcxx . . $ MainWindow#::saveConfigAscxx . . $ MainWindow#saveConfigAs(49f6e7a06ebc5aa8).() |
| 553 | { |
| 554 | if (mConfigFilecxx . . $ MainWindow#mConfigFile. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) return; |
| 555 | |
| 556 | if (mConfigFilecxx . . $ MainWindow#mConfigFile.->isNewcxx . . $ ConfigFile#isNew(50ce9a9e25b4a850).()) |
| 557 | { |
| 558 | if (mConfigFilecxx . . $ MainWindow#mConfigFile.->numberOfDevicescxx . . $ ConfigFile#numberOfDevices(b126dc7c1de90089).() == 0) |
| 559 | { |
| 560 | int reply = QMessageBoxcxx . . $ QMessageBox#::warningcxx . . $ QMessageBox#warning(21b6fd1dd558cc82).(this, "New Configuration"cxx . . $ QString#QString(85c52e162fed56f9)., |
| 561 | "The new configuration does not contain any devices.\n"cxx . . $ QString#QString(85c52e162fed56f9). |
| 562 | "In most cases Hercules will not be able to process it\n\n" |
| 563 | "Are you sure you want to save this configuration?", |
| 564 | QMessageBoxcxx . . $ QMessageBox#::Okcxx . . $ QMessageBox#Ok., |
| 565 | QMessageBoxcxx . . $ QMessageBox#::Cancelcxx . . $ QMessageBox#Cancel.); |
| 566 | if (reply != QMessageBoxcxx . . $ QMessageBox#::Okcxx . . $ QMessageBox#Ok.) |
| 567 | { |
| 568 | mConfigurationcxx . . $ MainWindow#mConfiguration. = new Configurationcxx . . $ Configuration#(mConfigFilecxx . . $ MainWindow#mConfigFile.,false,this); |
| 569 | mConfigurationcxx . . $ MainWindow#mConfiguration.->setVisiblecxx . . $ QDialog#setVisible(b45ddcbc8423892c).(true); |
| 570 | return ; |
| 571 | } |
| 572 | } |
| 573 | } |
| 574 | |
| 575 | stdcxx . . $ std/::stringcxx . . $ std/string# scxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f). = QFileDialogcxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).::getSaveFileNamecxx . . $ QFileDialog#getSaveFileName(a6b29be4bec65236).(this, |
| 576 | "Save configuration"cxx . . $ QString#QString(85c52e162fed56f9)., |
| 577 | Preferencescxx . . $ QString#QString(85c52e162fed56f9).::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().configDircxx . . $ Preferences#configDir(219584694fe2b248).().c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(), |
| 578 | trcxx . . $ MainWindow#tr(75d9f1c324b4579d).("Hercules configuration files (*.conf *.cnf);;All files(*)")).toUtf8cxx . . $ QString#toUtf8(7c2073558a834e49).().datacxx . . $ QByteArray#data(41208ce6ca65dd58).(); |
| 579 | if (s.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() == 0) |
| 580 | return; |
| 581 | int pos = s.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).()-5; |
| 582 | if ( (s.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(pos,5) !=cxx . . $ std/`operator!=`(4b17aa87c9f300c6). ".conf") && (s.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(pos+1,4) !=cxx . . $ std/`operator!=`(4b17aa87c9f300c6). ".cnf") ) |
| 583 | s +=cxx . . $ std/__cxx11/basic_string#`operator+=`(978ca1133b5f6e74). ".conf"; |
| 584 | mConfigFilecxx . . $ MainWindow#mConfigFile.->appendNewLinescxx . . $ ConfigFile#appendNewLines(49f6e7a06ebc5aa8).(); |
| 585 | mConfigFilecxx . . $ MainWindow#mConfigFile.->writecxx . . $ ConfigFile#write(7c222eea44a24d43).(s); |
| 586 | this->setWindowTitlecxx . . $ QWidget#setWindowTitle(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).mConfigFilecxx . . $ MainWindow#mConfigFile.->getFileNamecxx . . $ ConfigFile#getFileName(f4fff0029955a25f).() +cxx . . $ std/operator+(40fc1db9226233c6). " - Hercules Studio").c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 587 | } |
| 588 | |
| 589 | void MainWindowcxx . . $ MainWindow#::exitNowcxx . . $ MainWindow#exitNow(49f6e7a06ebc5aa8).() |
| 590 | { |
| 591 | powerOffcxx . . $ MainWindow#powerOff(49f6e7a06ebc5aa8).(); |
| 592 | closecxx . . $ QWidget#close(c9857a73d68e59ba).(); |
| 593 | } |
| 594 | |
| 595 | void MainWindowcxx . . $ MainWindow#::editViewControlscxx . . $ MainWindow#editViewControls(49f6e7a06ebc5aa8).() |
| 596 | { |
| 597 | mTopDockcxx . . $ MainWindow#mTopDock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(!mTopDockcxx . . $ MainWindow#mTopDock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).()); |
| 598 | uicxx . . $ MainWindow#ui..actionViewControlscxx . . $ Ui_MainWindowClass#actionViewControls.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(mTopDockcxx . . $ MainWindow#mTopDock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).()); |
| 599 | } |
| 600 | |
| 601 | void MainWindowcxx . . $ MainWindow#::editViewDevicescxx . . $ MainWindow#editViewDevices(49f6e7a06ebc5aa8).() |
| 602 | { |
| 603 | mDevicesDockcxx . . $ MainWindow#mDevicesDock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(!mDevicesDockcxx . . $ MainWindow#mDevicesDock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).()); |
| 604 | uicxx . . $ MainWindow#ui..actionViewDevicescxx . . $ Ui_MainWindowClass#actionViewDevices.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(mDevicesDockcxx . . $ MainWindow#mDevicesDock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).()); |
| 605 | } |
| 606 | |
| 607 | void MainWindowcxx . . $ MainWindow#::editViewCommandcxx . . $ MainWindow#editViewCommand(49f6e7a06ebc5aa8).() |
| 608 | { |
| 609 | mBottomDockcxx . . $ MainWindow#mBottomDock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(!mBottomDockcxx . . $ MainWindow#mBottomDock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).()); |
| 610 | uicxx . . $ MainWindow#ui..actionViewCommandcxx . . $ Ui_MainWindowClass#actionViewCommand.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(mBottomDockcxx . . $ MainWindow#mBottomDock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).()); |
| 611 | } |
| 612 | |
| 613 | void MainWindowcxx . . $ MainWindow#::editView32BitGrcxx . . $ MainWindow#editView32BitGr(49f6e7a06ebc5aa8).() |
| 614 | { |
| 615 | bool newVal = !mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).(); |
| 616 | mGRegisters32Dockcxx . . $ MainWindow#mGRegisters32Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(newVal); |
| 617 | mGRegisters32cxx . . $ MainWindow#mGRegisters32.->setActivecxx . . $ Regs32#setActive(b45ddcbc8423892c).(newVal); |
| 618 | uicxx . . $ MainWindow#ui..actionView_32_bit_General_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_General_Registers.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(newVal); |
| 619 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setRegscxx . . $ Preferences#setRegs(2709a3bc6a6e05a).(Preferencescxx . . $ Preferences#::ViewGR32cxx . . $ Preferences#ViewGR32., newVal); |
| 620 | } |
| 621 | |
| 622 | void MainWindowcxx . . $ MainWindow#::editView32BitCrcxx . . $ MainWindow#editView32BitCr(49f6e7a06ebc5aa8).() |
| 623 | { |
| 624 | bool newVal = !mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).(); |
| 625 | mCRegisters32Dockcxx . . $ MainWindow#mCRegisters32Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(newVal); |
| 626 | mCRegisters32cxx . . $ MainWindow#mCRegisters32.->setActivecxx . . $ Regs32#setActive(b45ddcbc8423892c).(newVal); |
| 627 | uicxx . . $ MainWindow#ui..actionView_32_bit_Control_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Control_Registers.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(newVal); |
| 628 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setRegscxx . . $ Preferences#setRegs(2709a3bc6a6e05a).(Preferencescxx . . $ Preferences#::ViewCR32cxx . . $ Preferences#ViewCR32., newVal); |
| 629 | } |
| 630 | |
| 631 | void MainWindowcxx . . $ MainWindow#::editView32BitFrcxx . . $ MainWindow#editView32BitFr(49f6e7a06ebc5aa8).() |
| 632 | { |
| 633 | bool newVal = !mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).(); |
| 634 | mFRegisters32Dockcxx . . $ MainWindow#mFRegisters32Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(newVal); |
| 635 | mFRegisters32cxx . . $ MainWindow#mFRegisters32.->setActivecxx . . $ Regs32#setActive(b45ddcbc8423892c).(newVal); |
| 636 | uicxx . . $ MainWindow#ui..actionView_32_bit_Floating_Point_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Floating_Point_Registers.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(newVal); |
| 637 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setRegscxx . . $ Preferences#setRegs(2709a3bc6a6e05a).(Preferencescxx . . $ Preferences#::ViewFR32cxx . . $ Preferences#ViewFR32., newVal); |
| 638 | } |
| 639 | |
| 640 | void MainWindowcxx . . $ MainWindow#::editView32BitArcxx . . $ MainWindow#editView32BitAr(49f6e7a06ebc5aa8).() |
| 641 | { |
| 642 | bool newVal = !mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).(); |
| 643 | mARegisters32Dockcxx . . $ MainWindow#mARegisters32Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(newVal); |
| 644 | mARegisters32cxx . . $ MainWindow#mARegisters32.->setActivecxx . . $ Regs32#setActive(b45ddcbc8423892c).(newVal); |
| 645 | uicxx . . $ MainWindow#ui..actionView_32_bit_Access_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Access_Registers.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(newVal); |
| 646 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setRegscxx . . $ Preferences#setRegs(2709a3bc6a6e05a).(Preferencescxx . . $ Preferences#::ViewAR32cxx . . $ Preferences#ViewAR32., newVal); |
| 647 | } |
| 648 | |
| 649 | void MainWindowcxx . . $ MainWindow#::editView64BitGrcxx . . $ MainWindow#editView64BitGr(49f6e7a06ebc5aa8).() |
| 650 | { |
| 651 | bool newVal = !mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).(); |
| 652 | mGRegisters64Dockcxx . . $ MainWindow#mGRegisters64Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(newVal); |
| 653 | mGRegisters64cxx . . $ MainWindow#mGRegisters64.->setActivecxx . . $ Regs64#setActive(b45ddcbc8423892c).(newVal); |
| 654 | uicxx . . $ MainWindow#ui..actionView_64_bit_General_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_General_Registers.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(newVal); |
| 655 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setRegscxx . . $ Preferences#setRegs(2709a3bc6a6e05a).(Preferencescxx . . $ Preferences#::ViewGR64cxx . . $ Preferences#ViewGR64., newVal); |
| 656 | } |
| 657 | |
| 658 | void MainWindowcxx . . $ MainWindow#::editView64BitCrcxx . . $ MainWindow#editView64BitCr(49f6e7a06ebc5aa8).() |
| 659 | { |
| 660 | bool newVal = !mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).(); |
| 661 | mCRegisters64Dockcxx . . $ MainWindow#mCRegisters64Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(newVal); |
| 662 | mCRegisters64cxx . . $ MainWindow#mCRegisters64.->setActivecxx . . $ Regs64#setActive(b45ddcbc8423892c).(newVal); |
| 663 | uicxx . . $ MainWindow#ui..actionView_64_bit_Control_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_Control_Registers.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(newVal); |
| 664 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setRegscxx . . $ Preferences#setRegs(2709a3bc6a6e05a).(Preferencescxx . . $ Preferences#::ViewCR64cxx . . $ Preferences#ViewCR64., newVal); |
| 665 | } |
| 666 | |
| 667 | void MainWindowcxx . . $ MainWindow#::editView64BitFrcxx . . $ MainWindow#editView64BitFr(49f6e7a06ebc5aa8).() |
| 668 | { |
| 669 | bool newVal = !mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock.->isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).(); |
| 670 | mFRegisters64Dockcxx . . $ MainWindow#mFRegisters64Dock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(newVal); |
| 671 | mFRegisters64cxx . . $ MainWindow#mFRegisters64.->setActivecxx . . $ Regs64#setActive(b45ddcbc8423892c).(newVal); |
| 672 | uicxx . . $ MainWindow#ui..actionView_64_bit_Floating_Point_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_Floating_Point_Registers.->setCheckedcxx . . $ QAction#setChecked(b45ddcbc8423892c).(newVal); |
| 673 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setRegscxx . . $ Preferences#setRegs(2709a3bc6a6e05a).(Preferencescxx . . $ Preferences#::ViewFR64cxx . . $ Preferences#ViewFR64., newVal); |
| 674 | } |
| 675 | |
| 676 | void MainWindowcxx . . $ MainWindow#::editViewPSWcxx . . $ MainWindow#editViewPSW(49f6e7a06ebc5aa8).() |
| 677 | { |
| 678 | bool newVal = uicxx . . $ MainWindow#ui..actionView_PSWcxx . . $ Ui_MainWindowClass#actionView_PSW.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).(); |
| 679 | Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().setRegscxx . . $ Preferences#setRegs(2709a3bc6a6e05a).(Preferencescxx . . $ Preferences#::ViewPswcxx . . $ Preferences#ViewPsw., newVal); |
| 680 | mPswcxx . . $ MainWindow#mPsw.->setVisiblecxx . . $ Psw#setVisible(b0b38cda41d4ede4).(newVal, Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().themecxx . . $ Preferences#theme(26a9862789320542).() == Preferencescxx . . $ Preferences#::Moderncxx . . $ Preferences#Modern.); |
| 681 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().pswModecxx . . $ Preferences#pswMode(3b27ccb883cb3a2e).() == Pswcxx . . $ Psw#::Dockedcxx . . $ Psw#Docked.) |
| 682 | { |
| 683 | mPswDockcxx . . $ MainWindow#mPswDock.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(newVal); |
| 684 | } |
| 685 | } |
| 686 | |
| 687 | void MainWindowcxx . . $ MainWindow#::editCopycxx . . $ MainWindow#editCopy(49f6e7a06ebc5aa8).() |
| 688 | { |
| 689 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4, "COPY"); |
| 690 | |
| 691 | if (mLogWindowcxx . . $ MainWindow#mLogWindow.->textIsSelectedcxx . . $ PlainLogWidget#textIsSelected(c9857a73d68e59ba).()) |
| 692 | { |
| 693 | mLogWindowcxx . . $ MainWindow#mLogWindow.->copySelectedTextcxx . . $ PlainLogWidget#copySelectedText(4365c3963150523e).(); |
| 694 | } |
| 695 | } |
| 696 | |
| 697 | void MainWindowcxx . . $ MainWindow#::deleteMessagescxx . . $ MainWindow#deleteMessages(49f6e7a06ebc5aa8).() |
| 698 | { |
| 699 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) |
| 700 | { |
| 701 | QMessageBoxcxx . . $ QMessageBox# msgBoxcxx . . $ QMessageBox#QMessageBox(108f35f7aa7f3cf9).; |
| 702 | msgBox.setTextcxx . . $ QMessageBox#setText(3520e46b33348bf6).("Messages belong to to a running Hercules."cxx . . $ QString#QString(85c52e162fed56f9).); |
| 703 | msgBox.setInformativeTextcxx . . $ QMessageBox#setInformativeText(3520e46b33348bf6).("Are you sure you want to delete history messages?"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 704 | msgBox.setStandardButtonscxx . . $ QMessageBox#setStandardButtons(4a518dc19368b384).(QMessageBoxcxx . . $ QMessageBox#::Yescxx . . $ QMessageBox#Yes. |cxx . . $ `operator|`(9741a579ef5e058f). QMessageBoxcxx . . $ QMessageBox#::Nocxx . . $ QMessageBox#No.); |
| 705 | msgBox.setDefaultButtoncxx . . $ QMessageBox#setDefaultButton(7bbe32d9411e0477).(QMessageBoxcxx . . $ QMessageBox#::Yescxx . . $ QMessageBox#Yes.); |
| 706 | msgBox.setIconcxx . . $ QMessageBox#setIcon(1f09eb2268fa2fc4).(QMessageBoxcxx . . $ QMessageBox#::Warningcxx . . $ QMessageBox#Warning.); |
| 707 | int ret = msgBox.execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 708 | if (ret != QMessageBoxcxx . . $ QMessageBox#::Yescxx . . $ QMessageBox#Yes.) |
| 709 | return ; |
| 710 | } |
| 711 | mLogWindowcxx . . $ MainWindow#mLogWindow.->clearcxx . . $ PlainLogWidget#clear(49f6e7a06ebc5aa8).(); |
| 712 | } |
| 713 | |
| 714 | |
| 715 | void MainWindowcxx . . $ MainWindow#::saveMessagescxx . . $ MainWindow#saveMessages(49f6e7a06ebc5aa8).() |
| 716 | { |
| 717 | mLogWindowcxx . . $ MainWindow#mLogWindow.->writeToFilecxx . . $ PlainLogWidget#writeToFile(c5c4b58b43b7b49).(PlainLogWidgetcxx . . $ PlainLogWidget#::MenuCommandcxx . . $ PlainLogWidget#MenuCommand.); |
| 718 | return; |
| 719 | } |
| 720 | |
| 721 | void MainWindowcxx . . $ MainWindow#::preferencescxx . . $ MainWindow#preferences(49f6e7a06ebc5aa8).() |
| 722 | { |
| 723 | PreferencesWincxx . . $ PreferencesWin# * pw = new PreferencesWincxx . . $ PreferencesWin#(mCurrentPathcxx . . $ MainWindow#mCurrentPath..toStdStringcxx . . $ QString#toStdString(219584694fe2b248).(), this); |
| 724 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(pw, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(preferencesChanged()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(preferencesChanged())); |
| 725 | pw->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 726 | } |
| 727 | |
| 728 | ConfigFilecxx . . $ ConfigFile# * MainWindowcxx . . $ MainWindow#::getConfigurationFilecxx . . $ MainWindow#getConfigurationFile(64b32935410def52).() |
| 729 | { |
| 730 | return mConfigFilecxx . . $ MainWindow#mConfigFile.; |
| 731 | } |
| 732 | |
| 733 | |
| 734 | void MainWindowcxx . . $ MainWindow#::powerOncxx . . $ MainWindow#powerOn(49f6e7a06ebc5aa8).() |
| 735 | { |
| 736 | stdcxx . . $ std/::stringcxx . . $ std/string# configNamecxx . . $ std/__cxx11/basic_string#basic_string(49f6e7a06ebc5aa8).; |
| 737 | mStatusReceivedcxx . . $ MainWindow#mStatusReceived.=false; |
| 738 | if (!mRecoverycxx . . $ MainWindow#mRecovery.) |
| 739 | { |
| 740 | if (mConfigFilecxx . . $ MainWindow#mConfigFile. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) openConfigcxx . . $ MainWindow#openConfig(49f6e7a06ebc5aa8).(); |
| 741 | if (mConfigFilecxx . . $ MainWindow#mConfigFile. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) return; |
| 742 | configName =cxx . . $ std/__cxx11/basic_string#`operator=`(c0b47be1fddc0e75). mConfigFilecxx . . $ MainWindow#mConfigFile.->getFileNamecxx . . $ ConfigFile#getFileName(f4fff0029955a25f).(); |
| 743 | } |
| 744 | else |
| 745 | { |
| 746 | configName =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). mRecoveryConfigcxx . . $ MainWindow#mRecoveryConfig..toStdStringcxx . . $ QString#toStdString(219584694fe2b248).(); |
| 747 | mConfigFilecxx . . $ MainWindow#mConfigFile. = new ConfigFilecxx . . $ ConfigFile#(configName); |
| 748 | } |
| 749 | |
| 750 | if (configName.emptycxx . . $ std/__cxx11/basic_string#empty(50ce9a9e25b4a850).()) return; |
| 751 | if (mConfigFilecxx . . $ MainWindow#mConfigFile.->changedcxx . . $ ConfigFile#changed(c9857a73d68e59ba).()) |
| 752 | { |
| 753 | int ret = QMessageBoxcxx . . $ QMessageBox#::warningcxx . . $ QMessageBox#warning(a9e3742e6f7b4147).(this, "Configuration"cxx . . $ QString#QString(85c52e162fed56f9)., |
| 754 | "Configuration file was updated since last save action\n"cxx . . $ QString#QString(85c52e162fed56f9). |
| 755 | "Do you want to save it now?", |
| 756 | QMessageBoxcxx . . $ QMessageBox#::Savecxx . . $ QMessageBox#Save. |cxx . . $ `operator|`(9741a579ef5e058f). QMessageBoxcxx . . $ QMessageBox#::Cancelcxx . . $ QMessageBox#Cancel., |
| 757 | QMessageBoxcxx . . $ QMessageBox#::NoButtoncxx . . $ QMessageBox#NoButton.); |
| 758 | if (ret == QMessageBoxcxx . . $ QMessageBox#::Savecxx . . $ QMessageBox#Save.) |
| 759 | { |
| 760 | saveConfigcxx . . $ MainWindow#saveConfig(49f6e7a06ebc5aa8).(); |
| 761 | if (mConfigFilecxx . . $ MainWindow#mConfigFile.->changedcxx . . $ ConfigFile#changed(c9857a73d68e59ba).()) // was save done? if not - bail out |
| 762 | return; |
| 763 | } |
| 764 | else return; |
| 765 | } |
| 766 | |
| 767 | if (mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) return; |
| 768 | uicxx . . $ MainWindow#ui..menuFilecxx . . $ Ui_MainWindowClass#menuFile.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(false); |
| 769 | int herculesPid = 0; |
| 770 | if (!mRecoverycxx . . $ MainWindow#mRecovery.) |
| 771 | { |
| 772 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"not recovery"); |
| 773 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor. = new HerculesExecutorcxx . . $ HerculesExecutor#(*this); |
| 774 | herculesPid = mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->runcxx . . $ HerculesExecutor#run(6649784b9cb66156).(configNamecxx . . $ std/__cxx11/basic_string#basic_string(a47f53d4115f6ce5)., Preferencescxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().hercDircxx . . $ Preferences#hercDir(219584694fe2b248).()); |
| 775 | mDevicesRecoverycxx . . $ MainWindow#mDevicesRecovery. = false; |
| 776 | } |
| 777 | else |
| 778 | { |
| 779 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(2,"recovery"); |
| 780 | herculesPid = NamedPipecxx . . $ NamedPipe#::getInstancecxx . . $ NamedPipe#getInstance(464fad7f4e589b3).().getHerculesPidcxx . . $ NamedPipe#getHerculesPid(b126dc7c1de90089).(); |
| 781 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor. = new HerculesExecutorcxx . . $ HerculesExecutor#(*this, herculesPid); |
| 782 | mDevicesRecoverycxx . . $ MainWindow#mDevicesRecovery. = true; |
| 783 | } |
| 784 | |
| 785 | if (herculesPid < 0) |
| 786 | { |
| 787 | QMessageBoxcxx . . $ QMessageBox#::criticalcxx . . $ QMessageBox#critical(a9e3742e6f7b4147).(this,"Hercules not started"cxx . . $ QString#QString(85c52e162fed56f9)., |
| 788 | "The Hercules program could not be started or not found.\n"cxx . . $ QString#QString(85c52e162fed56f9). |
| 789 | "Please set the correct path to the hercules program\n" |
| 790 | "using the Preferences window", |
| 791 | QMessageBoxcxx . . $ QFlags#QFlags(9b289cee16747614).::Okcxx . . $ QMessageBox#Ok.); |
| 792 | delete mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.; |
| 793 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 794 | return; |
| 795 | } |
| 796 | |
| 797 | #ifndef hFramework |
| 798 | NamedPipecxx . . $ NamedPipe#::getInstancecxx . . $ NamedPipe#getInstance(464fad7f4e589b3).().generatePidcxx . . $ NamedPipe#generatePid(3e454b8ccf442868).(getpid(), herculesPid); |
| 799 | #endif |
| 800 | |
| 801 | mLogRunnercxx . . $ MainWindow#mLogRunner. = new LogRunnercxx . . $ LogRunner#(mLogQueuecxx . . $ MainWindow#mLogQueue., mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor., Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().logFileLinescxx . . $ Preferences#logFileLines(455f465bc33b4cdf).()); |
| 802 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mLogRunnercxx . . $ MainWindow#mLogRunner., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(newData()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLogFromQueue())); |
| 803 | mLogRunnercxx . . $ MainWindow#mLogRunner.->startcxx . . $ QThread#start(bd4fe741c868f69f).(); |
| 804 | |
| 805 | mStatusRunnercxx . . $ MainWindow#mStatusRunner. = new StatusRunnercxx . . $ StatusRunner#(mStatusQueuecxx . . $ MainWindow#mStatusQueue., mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.); |
| 806 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mStatusRunnercxx . . $ MainWindow#mStatusRunner., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(newData()), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(dispatchStatus())); |
| 807 | mStatusRunnercxx . . $ MainWindow#mStatusRunner.->startcxx . . $ QThread#start(bd4fe741c868f69f).(); |
| 808 | |
| 809 | #ifndef hFramework |
| 810 | mWatchdogcxx . . $ MainWindow#mWatchdog. = new Watchdogcxx . . $ Watchdog#(herculesPid, !mRecoverycxx . . $ MainWindow#mRecovery.); |
| 811 | #else |
| 812 | mWatchdog = new Watchdog(mHerculesExecutor->getQProcess()); |
| 813 | #endif |
| 814 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mWatchdogcxx . . $ MainWindow#mWatchdog., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(HerculesEnded()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(herculesEndedSlot())); |
| 815 | mWatchdogcxx . . $ MainWindow#mWatchdog.->startcxx . . $ QThread#start(bd4fe741c868f69f).(); |
| 816 | |
| 817 | mHerculesActivecxx . . $ MainWindow#mHerculesActive. = true; |
| 818 | mMinimizeOnClosecxx . . $ MainWindow#mMinimizeOnClose.=true; |
| 819 | mCommandLinecxx . . $ MainWindow#mCommandLine.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(false); |
| 820 | |
| 821 | mMainPanelcxx . . $ MainWindow#mMainPanel.->standbycxx . . $ MainPanel#standby(49f6e7a06ebc5aa8).(); |
| 822 | mPswcxx . . $ MainWindow#mPsw.->standbycxx . . $ Psw#standby(49f6e7a06ebc5aa8).(); |
| 823 | this->setWindowTitlecxx . . $ QWidget#setWindowTitle(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).mConfigFilecxx . . $ MainWindow#mConfigFile.->getFileNamecxx . . $ ConfigFile#getFileName(f4fff0029955a25f).() +cxx . . $ std/operator+(40fc1db9226233c6). " - Hercules Studio").c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 824 | #ifndef hFramework |
| 825 | if (mRecoverycxx . . $ MainWindow#mRecovery.) |
| 826 | { |
| 827 | // refresh devices list |
| 828 | issueCommandcxx . . $ MainWindow#issueCommand(7c222eea44a24d43).("]DEVLIST=1"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 829 | usleep(500000); |
| 830 | issueCommandcxx . . $ MainWindow#issueCommand(7c222eea44a24d43).("]NEWDEVLIST=1"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 831 | |
| 832 | } |
| 833 | #endif |
| 834 | mRecoverycxx . . $ MainWindow#mRecovery. = false; |
| 835 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->showcxx . . $ QSystemTrayIcon#show(49f6e7a06ebc5aa8).(); |
| 836 | |
| 837 | if (uicxx . . $ MainWindow#ui..actionView_32_bit_General_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_General_Registers.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) |
| 838 | this->mGRegisters32cxx . . $ MainWindow#mGRegisters32.->setActivecxx . . $ Regs32#setActive(b45ddcbc8423892c).(true); |
| 839 | if (uicxx . . $ MainWindow#ui..actionView_32_bit_Control_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Control_Registers.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) |
| 840 | this->mCRegisters32cxx . . $ MainWindow#mCRegisters32.->setActivecxx . . $ Regs32#setActive(b45ddcbc8423892c).(true); |
| 841 | if (uicxx . . $ MainWindow#ui..actionView_32_bit_Floating_Point_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Floating_Point_Registers.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) |
| 842 | this->mFRegisters32cxx . . $ MainWindow#mFRegisters32.->setActivecxx . . $ Regs32#setActive(b45ddcbc8423892c).(true); |
| 843 | if (uicxx . . $ MainWindow#ui..actionView_32_bit_Access_Registerscxx . . $ Ui_MainWindowClass#actionView_32_bit_Access_Registers.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) |
| 844 | this->mARegisters32cxx . . $ MainWindow#mARegisters32.->setActivecxx . . $ Regs32#setActive(b45ddcbc8423892c).(true); |
| 845 | if (uicxx . . $ MainWindow#ui..actionView_64_bit_General_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_General_Registers.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) |
| 846 | this->mGRegisters64cxx . . $ MainWindow#mGRegisters64.->setActivecxx . . $ Regs64#setActive(b45ddcbc8423892c).(true); |
| 847 | if (uicxx . . $ MainWindow#ui..actionView_64_bit_Control_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_Control_Registers.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) |
| 848 | this->mCRegisters64cxx . . $ MainWindow#mCRegisters64.->setActivecxx . . $ Regs64#setActive(b45ddcbc8423892c).(true); |
| 849 | if (uicxx . . $ MainWindow#ui..actionView_64_bit_Floating_Point_Registerscxx . . $ Ui_MainWindowClass#actionView_64_bit_Floating_Point_Registers.->isCheckedcxx . . $ QAction#isChecked(50ce9a9e25b4a850).()) |
| 850 | this->mFRegisters64cxx . . $ MainWindow#mFRegisters64.->setActivecxx . . $ Regs64#setActive(b45ddcbc8423892c).(true); |
| 851 | } |
| 852 | |
| 853 | void MainWindowcxx . . $ MainWindow#::powerOffcxx . . $ MainWindow#powerOff(49f6e7a06ebc5aa8).() |
| 854 | { |
| 855 | if (!mHerculesActivecxx . . $ MainWindow#mHerculesActive.) return ; |
| 856 | mMinimizeOnClosecxx . . $ MainWindow#mMinimizeOnClose.=false; |
| 857 | printf("Goodbye!\n"); |
| 858 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueCommandcxx . . $ HerculesExecutor#issueCommand(85c52e162fed56f9).("quit\n"); |
| 859 | #ifndef hFramework |
| 860 | usleep(100000); // TODO32 |
| 861 | #endif |
| 862 | mDevicesPanecxx . . $ MainWindow#mDevicesPane.->clearcxx . . $ DevicesPane#clear(49f6e7a06ebc5aa8).(); |
| 863 | // mMainPanel->setDormant(); |
| 864 | mPswcxx . . $ MainWindow#mPsw.->setDormantcxx . . $ Psw#setDormant(49f6e7a06ebc5aa8).(); |
| 865 | mCommandLinecxx . . $ MainWindow#mCommandLine.->savecxx . . $ CommandLine#save(49f6e7a06ebc5aa8).(); |
| 866 | } |
| 867 | |
| 868 | void MainWindowcxx . . $ MainWindow#::loadcxx . . $ MainWindow#load(49f6e7a06ebc5aa8).() |
| 869 | { |
| 870 | if (!mHerculesActivecxx . . $ MainWindow#mHerculesActive.) return; |
| 871 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().themecxx . . $ Preferences#theme(26a9862789320542).()==Preferencescxx . . $ Preferences#::Moderncxx . . $ Preferences#Modern.) // modern theme does not have dials |
| 872 | { |
| 873 | loadCommandcxx . . $ MainWindow#loadCommand(49f6e7a06ebc5aa8).(); // present menu etc. |
| 874 | return; |
| 875 | } |
| 876 | int addr = mMainPanelcxx . . $ MainWindow#mMainPanel.->getLoadAddresscxx . . $ MainPanel#getLoadAddress(b126dc7c1de90089).(); |
| 877 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(1, "going to load " << addr); |
| 878 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueFormattedCommandcxx . . $ HerculesExecutor#issueFormattedCommand(34d26762b42c433a).("IPL %X\n",addr); |
| 879 | mIplDevnocxx . . $ MainWindow#mIplDevno..setNumcxx . . $ QString#setNum(6483560ce2afa901).(addr,16); |
| 880 | mLogWindowcxx . . $ MainWindow#mLogWindow.->setIpledcxx . . $ PlainLogWidget#setIpled(b45ddcbc8423892c).(true); |
| 881 | } |
| 882 | |
| 883 | void MainWindowcxx . . $ MainWindow#::loadCommandcxx . . $ MainWindow#loadCommand(49f6e7a06ebc5aa8).() |
| 884 | { |
| 885 | if (!mHerculesActivecxx . . $ MainWindow#mHerculesActive.) return; |
| 886 | int lpIndex = -1; |
| 887 | if (mAdHocLoadParmcxx . . $ MainWindow#mAdHocLoadParm. ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "") |
| 888 | { |
| 889 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5, "lastSYS=" << mConfigFile->getLastSys()) |
| 890 | for (int i=0; i<= mConfigFilecxx . . $ MainWindow#mConfigFile.->getLastSyscxx . . $ ConfigFile#getLastSys(b126dc7c1de90089).(); i++) |
| 891 | { |
| 892 | if ((*mConfigFilecxx . . $ MainWindow#mConfigFile.)[cxx . . $ ConfigFile#`operator[]`(78b98f7fd5f54797).i]->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(0) ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "loadparm") |
| 893 | { |
| 894 | lpIndex = i; |
| 895 | mAdHocLoadParmcxx . . $ MainWindow#mAdHocLoadParm. =cxx . . $ QString#`operator=`(d02845eef0c33901). (*mConfigFilecxx . . $ MainWindow#mConfigFile.)[cxx . . $ ConfigFile#`operator[]`(78b98f7fd5f54797).i]->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1).c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); |
| 896 | break; |
| 897 | } |
| 898 | else hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"skipping " << i << ": " << (*mConfigFile)[i]->getLowercaseToken(0)); |
| 899 | } |
| 900 | if (lpIndex == -1) mAdHocLoadParmcxx . . $ MainWindow#mAdHocLoadParm. =cxx . . $ QString#`operator=`(d02845eef0c33901). "......"; |
| 901 | } |
| 902 | if (mIplDevnocxx . . $ MainWindow#mIplDevno..isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()) |
| 903 | mIplDevnocxx . . $ MainWindow#mIplDevno. =cxx . . $ QString#`operator=`(d02845eef0c33901). "0000"; |
| 904 | if (Preferencescxx . . $ Preferences#::getInstancecxx . . $ Preferences#getInstance(2e7be89de0a5bc0).().themecxx . . $ Preferences#theme(26a9862789320542).() == Preferencescxx . . $ Preferences#::Classiccxx . . $ Preferences#Classic.) |
| 905 | mIplDevnocxx . . $ MainWindow#mIplDevno. =cxx . . $ QString#`operator=`(7b76e6691bca1027). QStringcxx . . $ QString#::numbercxx . . $ QString#number(f4fd9db251ca774b).(mMainPanelcxx . . $ MainWindow#mMainPanel.->getLoadAddresscxx . . $ MainPanel#getLoadAddress(b126dc7c1de90089).(),16); |
| 906 | |
| 907 | IplConfigcxx . . $ IplConfig# * iplConfig = new IplConfigcxx . . $ IplConfig#(mIplDevnocxx . . $ MainWindow#mIplDevno.,mAdHocLoadParmcxx . . $ MainWindow#mAdHocLoadParm., this); |
| 908 | |
| 909 | int i = iplConfig->execcxx . . $ QDialog#exec(b126dc7c1de90089).() ; |
| 910 | if (i == QDialogcxx . . $ QDialog#::Acceptedcxx . . $ QDialog#Accepted.) |
| 911 | { |
| 912 | QStringcxx . . $ QString# loadCommand = "LOADPARM "cxx . . $ QString#QString(3520e46b33348bf6). +cxx . . $ operator+(c75c3ae4eb9af1a8). mAdHocLoadParmcxx . . $ MainWindow#mAdHocLoadParm.; |
| 913 | issueCommandcxx . . $ MainWindow#issueCommand(7c222eea44a24d43).(loadCommand.toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 914 | mMainPanelcxx . . $ MainWindow#mMainPanel.->setLoadAddresscxx . . $ MainPanel#setLoadAddress(85c52e162fed56f9).(mIplDevnocxx . . $ MainWindow#mIplDevno..toStdStringcxx . . $ QString#toStdString(219584694fe2b248).().c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 915 | stdcxx . . $ std/::stringcxx . . $ std/string# iplCommand = "IPL "cxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f). +cxx . . $ std/operator+(39ed2c165380f78e). mIplDevnocxx . . $ MainWindow#mIplDevno..toStdStringcxx . . $ QString#toStdString(219584694fe2b248).(); |
| 916 | issueCommandcxx . . $ MainWindow#issueCommand(7c222eea44a24d43).(iplCommand); |
| 917 | mLogWindowcxx . . $ MainWindow#mLogWindow.->setIpledcxx . . $ PlainLogWidget#setIpled(b45ddcbc8423892c).(true); |
| 918 | } |
| 919 | } |
| 920 | |
| 921 | void MainWindowcxx . . $ MainWindow#::extInterruptcxx . . $ MainWindow#extInterrupt(49f6e7a06ebc5aa8).() |
| 922 | { |
| 923 | if (!mHerculesActivecxx . . $ MainWindow#mHerculesActive.) return; |
| 924 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(1, "going to externally interrupt "); |
| 925 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueCommandcxx . . $ HerculesExecutor#issueCommand(85c52e162fed56f9).("ext\n"); |
| 926 | return; |
| 927 | } |
| 928 | |
| 929 | void MainWindowcxx . . $ MainWindow#::devInterruptcxx . . $ MainWindow#devInterrupt(49f6e7a06ebc5aa8).() |
| 930 | { |
| 931 | if (!mHerculesActivecxx . . $ MainWindow#mHerculesActive.) return; |
| 932 | int addr = mMainPanelcxx . . $ MainWindow#mMainPanel.->getLoadAddresscxx . . $ MainPanel#getLoadAddress(b126dc7c1de90089).(); |
| 933 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(1, "going to interrupt " << addr); |
| 934 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueFormattedCommandcxx . . $ HerculesExecutor#issueFormattedCommand(34d26762b42c433a).("I %X\n", addr); |
| 935 | } |
| 936 | |
| 937 | void MainWindowcxx . . $ MainWindow#::restartcxx . . $ MainWindow#restart(49f6e7a06ebc5aa8).() |
| 938 | { |
| 939 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) |
| 940 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueCommandcxx . . $ HerculesExecutor#issueCommand(85c52e162fed56f9).("restart\n"); |
| 941 | } |
| 942 | |
| 943 | void MainWindowcxx . . $ MainWindow#::storecxx . . $ MainWindow#store(49f6e7a06ebc5aa8).() |
| 944 | { |
| 945 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) |
| 946 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueCommandcxx . . $ HerculesExecutor#issueCommand(85c52e162fed56f9).("store\n"); |
| 947 | } |
| 948 | |
| 949 | void MainWindowcxx . . $ MainWindow#::startcxx . . $ MainWindow#start(49f6e7a06ebc5aa8).() |
| 950 | { |
| 951 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) |
| 952 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueCommandcxx . . $ HerculesExecutor#issueCommand(85c52e162fed56f9).("startall\n"); |
| 953 | } |
| 954 | |
| 955 | void MainWindowcxx . . $ MainWindow#::stopcxx . . $ MainWindow#stop(49f6e7a06ebc5aa8).() |
| 956 | { |
| 957 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) |
| 958 | { |
| 959 | if (mMainPanelcxx . . $ MainWindow#mMainPanel.->isStoppedcxx . . $ MainPanel#isStopped(50ce9a9e25b4a850).()) // this is already done |
| 960 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueCommandcxx . . $ HerculesExecutor#issueCommand(85c52e162fed56f9).("stopall\n"); |
| 961 | else |
| 962 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueCommandcxx . . $ HerculesExecutor#issueCommand(85c52e162fed56f9).("startall\n"); |
| 963 | } |
| 964 | } |
| 965 | |
| 966 | void MainWindowcxx . . $ MainWindow#::dasdinitcxx . . $ MainWindow#dasdinit(49f6e7a06ebc5aa8).() |
| 967 | { |
| 968 | DasdInitcxx . . $ DasdInit# * dasdinit = new DasdInitcxx . . $ DasdInit#(this); |
| 969 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(dasdinit, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 970 | dasdinit->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 971 | } |
| 972 | |
| 973 | void MainWindowcxx . . $ MainWindow#::dasdloadcxx . . $ MainWindow#dasdload(49f6e7a06ebc5aa8).() |
| 974 | { |
| 975 | DasdLoadcxx . . $ DasdLoad# * dasdload = new DasdLoadcxx . . $ DasdLoad#(this); |
| 976 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(dasdload, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 977 | dasdload->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 978 | } |
| 979 | |
| 980 | void MainWindowcxx . . $ MainWindow#::dasdisupcxx . . $ MainWindow#dasdisup(49f6e7a06ebc5aa8).() |
| 981 | { |
| 982 | DasdIsupcxx . . $ DasdIsup# * dasdisup = new DasdIsupcxx . . $ DasdIsup#(this); |
| 983 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(dasdisup, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 984 | dasdisup->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 985 | } |
| 986 | |
| 987 | void MainWindowcxx . . $ MainWindow#::dasdlscxx . . $ MainWindow#dasdls(49f6e7a06ebc5aa8).() |
| 988 | { |
| 989 | Dasdlscxx . . $ Dasdls# * dasdls = new Dasdlscxx . . $ Dasdls#(this); |
| 990 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(dasdls, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 991 | dasdls->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 992 | } |
| 993 | |
| 994 | void MainWindowcxx . . $ MainWindow#::dasdcatcxx . . $ MainWindow#dasdcat(49f6e7a06ebc5aa8).() |
| 995 | { |
| 996 | Dasdcatcxx . . $ Dasdcat# * dasdcat = new Dasdcatcxx . . $ Dasdcat#(this); |
| 997 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(dasdcat, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 998 | dasdcat->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 999 | } |
| 1000 | |
| 1001 | void MainWindowcxx . . $ MainWindow#::dasdconvcxx . . $ MainWindow#dasdconv(49f6e7a06ebc5aa8).() |
| 1002 | { |
| 1003 | Dasdconvcxx . . $ Dasdconv# * dasdconv = new Dasdconvcxx . . $ Dasdconv#(this); |
| 1004 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(dasdconv, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1005 | dasdconv->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1006 | } |
| 1007 | |
| 1008 | void MainWindowcxx . . $ MainWindow#::dasdcopycxx . . $ MainWindow#dasdcopy(49f6e7a06ebc5aa8).() |
| 1009 | { |
| 1010 | Dasdcopycxx . . $ Dasdcopy# * dasdcopy = new Dasdcopycxx . . $ Dasdcopy#(this); |
| 1011 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(dasdcopy, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1012 | dasdcopy->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1013 | } |
| 1014 | |
| 1015 | void MainWindowcxx . . $ MainWindow#::tapemapcxx . . $ MainWindow#tapemap(49f6e7a06ebc5aa8).() |
| 1016 | { |
| 1017 | TapeMapcxx . . $ TapeMap# * tapemap = new TapeMapcxx . . $ TapeMap#(this); |
| 1018 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(tapemap, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1019 | tapemap->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1020 | } |
| 1021 | |
| 1022 | void MainWindowcxx . . $ MainWindow#::tapecopycxx . . $ MainWindow#tapecopy(49f6e7a06ebc5aa8).() |
| 1023 | { |
| 1024 | TapeCopycxx . . $ TapeCopy# * tapecopy = new TapeCopycxx . . $ TapeCopy#(this); |
| 1025 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(tapecopy, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1026 | tapecopy->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1027 | } |
| 1028 | |
| 1029 | void MainWindowcxx . . $ MainWindow#::tapesplitcxx . . $ MainWindow#tapesplit(49f6e7a06ebc5aa8).() |
| 1030 | { |
| 1031 | TapeSpltcxx . . $ TapeSplt# * tapesplit = new TapeSpltcxx . . $ TapeSplt#(this); |
| 1032 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(tapesplit, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1033 | tapesplit->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1034 | } |
| 1035 | |
| 1036 | void MainWindowcxx . . $ MainWindow#::hetinitcxx . . $ MainWindow#hetinit(49f6e7a06ebc5aa8).() |
| 1037 | { |
| 1038 | HetInitcxx . . $ HetInit# * hetinit = new HetInitcxx . . $ HetInit#(this); |
| 1039 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(hetinit, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1040 | hetinit->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1041 | } |
| 1042 | |
| 1043 | void MainWindowcxx . . $ MainWindow#::hetgetcxx . . $ MainWindow#hetget(49f6e7a06ebc5aa8).() |
| 1044 | { |
| 1045 | HetGetcxx . . $ HetGet# * hetget = new HetGetcxx . . $ HetGet#(this); |
| 1046 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(hetget, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1047 | hetget->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1048 | } |
| 1049 | |
| 1050 | void MainWindowcxx . . $ MainWindow#::hetupdcxx . . $ MainWindow#hetupd(49f6e7a06ebc5aa8).() |
| 1051 | { |
| 1052 | HetUpdcxx . . $ HetUpd# * hetupd = new HetUpdcxx . . $ HetUpd#(this); |
| 1053 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(hetupd, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1054 | hetupd->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1055 | } |
| 1056 | |
| 1057 | void MainWindowcxx . . $ MainWindow#::hetmapcxx . . $ MainWindow#hetmap(49f6e7a06ebc5aa8).() |
| 1058 | { |
| 1059 | HetMapcxx . . $ HetMap# * hetmap = new HetMapcxx . . $ HetMap#(this); |
| 1060 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(hetmap, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(output(QByteArray)), this , SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(writeToLog(QByteArray))); |
| 1061 | hetmap->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1062 | } |
| 1063 | |
| 1064 | void MainWindowcxx . . $ MainWindow#::printercxx . . $ MainWindow#printer(49f6e7a06ebc5aa8).() |
| 1065 | { |
| 1066 | if (mPrinterDialogcxx . . $ MainWindow#mPrinterDialog. == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 1067 | mPrinterDialogcxx . . $ MainWindow#mPrinterDialog. = new PrinterDialogcxx . . $ PrinterDialog#PrinterDialog(d71cd35ae558283).(0); |
| 1068 | mPrinterDialogcxx . . $ MainWindow#mPrinterDialog.->showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 1069 | connectcxx . . $ QObject#connect(158df1d9a01a3410).(mPrinterDialogcxx . . $ MainWindow#mPrinterDialog., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(destroyed()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(printerFinished())); |
| 1070 | } |
| 1071 | |
| 1072 | void MainWindowcxx . . $ MainWindow#::printerFinishedcxx . . $ MainWindow#printerFinished(49f6e7a06ebc5aa8).() |
| 1073 | { |
| 1074 | mPrinterDialogcxx . . $ MainWindow#mPrinterDialog. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 1075 | } |
| 1076 | |
| 1077 | void MainWindowcxx . . $ MainWindow#::stationerycxx . . $ MainWindow#stationery(49f6e7a06ebc5aa8).() |
| 1078 | { |
| 1079 | StationeryDialogcxx . . $ StationeryDialog#* stationeryDialog = new StationeryDialogcxx . . $ StationeryDialog#StationeryDialog(d71cd35ae558283).(this); |
| 1080 | stationeryDialog->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1081 | } |
| 1082 | |
| 1083 | void MainWindowcxx . . $ MainWindow#::decolationcxx . . $ MainWindow#decolation(49f6e7a06ebc5aa8).() |
| 1084 | { |
| 1085 | DecolationDialogcxx . . $ DecolationDialog#* dialog = new DecolationDialogcxx . . $ DecolationDialog#(this); |
| 1086 | dialog->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1087 | } |
| 1088 | |
| 1089 | void MainWindowcxx . . $ MainWindow#::herculesEndedSlotcxx . . $ MainWindow#herculesEndedSlot(49f6e7a06ebc5aa8).() |
| 1090 | { |
| 1091 | stdcxx . . $ std/::cerrcxx . . $ std/cerr. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "############ ended ##############" <<cxx . . $ std/basic_ostream#`operator<<`(f46f7e25851d787a). stdcxx . . $ std/::endlcxx . . $ std/endl(345bf97a19cc83a9).; |
| 1092 | mLogWindowcxx . . $ MainWindow#mLogWindow.->setIpledcxx . . $ PlainLogWidget#setIpled(b45ddcbc8423892c).(false); |
| 1093 | mLogWindowcxx . . $ MainWindow#mLogWindow.->writeToFilecxx . . $ PlainLogWidget#writeToFile(c5c4b58b43b7b49).(PlainLogWidgetcxx . . $ PlainLogWidget#::Shutdowncxx . . $ PlainLogWidget#Shutdown.); |
| 1094 | mLogRunnercxx . . $ MainWindow#mLogRunner.->terminatecxx . . $ QThread#terminate(49f6e7a06ebc5aa8).(); |
| 1095 | mStatusRunnercxx . . $ MainWindow#mStatusRunner.->terminatecxx . . $ QThread#terminate(49f6e7a06ebc5aa8).(); |
| 1096 | mWatchdogcxx . . $ MainWindow#mWatchdog.->terminatecxx . . $ QThread#terminate(49f6e7a06ebc5aa8).(); |
| 1097 | if (mWatchdogcxx . . $ MainWindow#mWatchdog. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) delete mWatchdogcxx . . $ MainWindow#mWatchdog.; |
| 1098 | mWatchdogcxx . . $ MainWindow#mWatchdog. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 1099 | mHerculesActivecxx . . $ MainWindow#mHerculesActive. = false; |
| 1100 | mCommandLinecxx . . $ MainWindow#mCommandLine.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(true); |
| 1101 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!; |
| 1102 | mMainPanelcxx . . $ MainWindow#mMainPanel.->setDormantcxx . . $ MainPanel#setDormant(49f6e7a06ebc5aa8).(); |
| 1103 | mPswcxx . . $ MainWindow#mPsw.->setDormantcxx . . $ Psw#setDormant(49f6e7a06ebc5aa8).(); |
| 1104 | uicxx . . $ MainWindow#ui..menuFilecxx . . $ Ui_MainWindowClass#menuFile.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(true); |
| 1105 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->setVisiblecxx . . $ QSystemTrayIcon#setVisible(b45ddcbc8423892c).(false); |
| 1106 | setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true); |
| 1107 | mMinimizeOnClosecxx . . $ MainWindow#mMinimizeOnClose.=false; |
| 1108 | testGuicxx . . $ MainWindow#testGui(49f6e7a06ebc5aa8).(); |
| 1109 | } |
| 1110 | |
| 1111 | void MainWindowcxx . . $ MainWindow#::helpAboutcxx . . $ MainWindow#helpAbout(49f6e7a06ebc5aa8).() |
| 1112 | { |
| 1113 | HelpAboutcxx . . $ HelpAbout# *ha = new HelpAboutcxx . . $ HelpAbout#(this); |
| 1114 | ha->execcxx . . $ QDialog#exec(b126dc7c1de90089).(); |
| 1115 | } |
| 1116 | |
| 1117 | void MainWindowcxx . . $ MainWindow#::systrayHintcxx . . $ MainWindow#systrayHint(49f6e7a06ebc5aa8).() |
| 1118 | { |
| 1119 | if (!mSystrayHintEjectedcxx . . $ MainWindow#mSystrayHintEjected.) |
| 1120 | { |
| 1121 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->showMessagecxx . . $ QSystemTrayIcon#showMessage(d234e6c04c1013f3).("Hercules is still active"cxx . . $ QString#QString(85c52e162fed56f9).,"Click the Hercules icon to restore the main window"cxx . . $ QString#QString(85c52e162fed56f9).,QSystemTrayIconcxx . . $ QSystemTrayIcon#::Informationcxx . . $ QSystemTrayIcon#Information.,5000); |
| 1122 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->setToolTipcxx . . $ QSystemTrayIcon#setToolTip(3520e46b33348bf6).("Click on this icon to restore the main window"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 1123 | mSystrayHintEjectedcxx . . $ MainWindow#mSystrayHintEjected. = true; |
| 1124 | } |
| 1125 | } |
| 1126 | |
| 1127 | void MainWindowcxx . . $ MainWindow#::closeEventcxx . . $ MainWindow#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent# *event) |
| 1128 | { |
| 1129 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive. && mMinimizeOnClosecxx . . $ MainWindow#mMinimizeOnClose.) |
| 1130 | { |
| 1131 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"systray"); |
| 1132 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->setVisiblecxx . . $ QSystemTrayIcon#setVisible(b45ddcbc8423892c).(true); |
| 1133 | systrayHintcxx . . $ MainWindow#systrayHint(49f6e7a06ebc5aa8).(); |
| 1134 | setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 1135 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->contextMenucxx . . $ QSystemTrayIcon#contextMenu(ed4378587ff805df).()->actionscxx . . $ QWidget#actions(6326ecb0baf05155).().atcxx . . $ QList#at(e2681f9bb6b2f357).(0)->setTextcxx . . $ QAction#setText(3520e46b33348bf6).("&Restore"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 1136 | |
| 1137 | event->ignorecxx . . $ QEvent#ignore(49f6e7a06ebc5aa8).(); |
| 1138 | } |
| 1139 | else |
| 1140 | { |
| 1141 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"Close"); |
| 1142 | |
| 1143 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) |
| 1144 | { |
| 1145 | if( QMessageBoxcxx . . $ QMessageBox#::warningcxx . . $ QMessageBox#warning(21b6fd1dd558cc82).(this,"Hercules Is Still Running"cxx . . $ QString#QString(85c52e162fed56f9)., |
| 1146 | "\nPress OK - To Wait Until Hercules Finishes Running\n"cxx . . $ QString#QString(85c52e162fed56f9). |
| 1147 | "Or\n" |
| 1148 | "Press Abort - To Force Exit", |
| 1149 | QMessageBoxcxx . . $ QMessageBox#::Okcxx . . $ QMessageBox#Ok., QMessageBoxcxx . . $ QMessageBox#::Abortcxx . . $ QMessageBox#Abort.) != QMessageBoxcxx . . $ QMessageBox#::Abortcxx . . $ QMessageBox#Abort.) |
| 1150 | { |
| 1151 | event->ignorecxx . . $ QEvent#ignore(49f6e7a06ebc5aa8).(); |
| 1152 | QTimercxx . . $ QTimer#::singleShotcxx . . $ QTimer#singleShot(24d02da3284e5f26).(5000, this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(tryAbort())); |
| 1153 | } |
| 1154 | else hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"abort"); |
| 1155 | } |
| 1156 | |
| 1157 | if (mPrinterDialogcxx . . $ MainWindow#mPrinterDialog. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) |
| 1158 | { |
| 1159 | if (mPrinterDialogcxx . . $ MainWindow#mPrinterDialog.->isConnectedcxx . . $ PrinterDialog#isConnected(c9857a73d68e59ba).()) |
| 1160 | { |
| 1161 | if( QMessageBoxcxx . . $ QMessageBox#::warningcxx . . $ QMessageBox#warning(21b6fd1dd558cc82).(this,"Printer Is Still Connected"cxx . . $ QString#QString(85c52e162fed56f9)., |
| 1162 | "Press Close - To Close The Printer\n"cxx . . $ QString#QString(85c52e162fed56f9). |
| 1163 | "Or\n" |
| 1164 | "Press Cancel - To Return", |
| 1165 | QMessageBoxcxx . . $ QMessageBox#::Cancelcxx . . $ QMessageBox#Cancel., QMessageBoxcxx . . $ QMessageBox#::Closecxx . . $ QMessageBox#Close.) == QMessageBoxcxx . . $ QMessageBox#::Cancelcxx . . $ QMessageBox#Cancel.) |
| 1166 | { |
| 1167 | event->ignorecxx . . $ QEvent#ignore(49f6e7a06ebc5aa8).(); |
| 1168 | } |
| 1169 | else |
| 1170 | { |
| 1171 | mPrinterDialogcxx . . $ MainWindow#mPrinterDialog.->closecxx . . $ QWidget#close(c9857a73d68e59ba).(); |
| 1172 | delete mPrinterDialogcxx . . $ MainWindow#mPrinterDialog.; |
| 1173 | } |
| 1174 | } |
| 1175 | else |
| 1176 | { |
| 1177 | mPrinterDialogcxx . . $ MainWindow#mPrinterDialog.->closecxx . . $ QWidget#close(c9857a73d68e59ba).(); |
| 1178 | delete mPrinterDialogcxx . . $ MainWindow#mPrinterDialog.; |
| 1179 | } |
| 1180 | } |
| 1181 | } |
| 1182 | } |
| 1183 | |
| 1184 | void MainWindowcxx . . $ MainWindow#::tryAbortcxx . . $ MainWindow#tryAbort(49f6e7a06ebc5aa8).() |
| 1185 | { |
| 1186 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"tryAbort"); |
| 1187 | setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true); |
| 1188 | closecxx . . $ QWidget#close(c9857a73d68e59ba).(); |
| 1189 | } |
| 1190 | |
| 1191 | void MainWindowcxx . . $ MainWindow#::systrayClickcxx . . $ MainWindow#systrayClick(dc7279b31293a212).(QSystemTrayIconcxx . . $ QSystemTrayIcon#::ActivationReasoncxx . . $ QSystemTrayIcon#ActivationReason#) |
| 1192 | { |
| 1193 | hideRestorecxx . . $ MainWindow#hideRestore(49f6e7a06ebc5aa8).(); |
| 1194 | } |
| 1195 | |
| 1196 | void MainWindowcxx . . $ MainWindow#::hideRestorecxx . . $ MainWindow#hideRestore(49f6e7a06ebc5aa8).() |
| 1197 | { |
| 1198 | if (isVisiblecxx . . $ QWidget#isVisible(50ce9a9e25b4a850).()) |
| 1199 | { |
| 1200 | setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false); |
| 1201 | systrayHintcxx . . $ MainWindow#systrayHint(49f6e7a06ebc5aa8).(); |
| 1202 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->contextMenucxx . . $ QSystemTrayIcon#contextMenu(ed4378587ff805df).()->actionscxx . . $ QWidget#actions(6326ecb0baf05155).().atcxx . . $ QList#at(e2681f9bb6b2f357).(0)->setTextcxx . . $ QAction#setText(3520e46b33348bf6).("Restore"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 1203 | |
| 1204 | } |
| 1205 | else |
| 1206 | { |
| 1207 | setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true); |
| 1208 | mSystemTrayIconcxx . . $ MainWindow#mSystemTrayIcon.->contextMenucxx . . $ QSystemTrayIcon#contextMenu(ed4378587ff805df).()->actionscxx . . $ QWidget#actions(6326ecb0baf05155).().atcxx . . $ QList#at(e2681f9bb6b2f357).(0)->setTextcxx . . $ QAction#setText(3520e46b33348bf6).("Hide"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 1209 | } |
| 1210 | } |
| 1211 | |
| 1212 | void MainWindowcxx . . $ MainWindow#::keyPressEventcxx . . $ MainWindow#keyPressEvent(c92999c1b6b09cc0).(QKeyEventcxx . . $ QKeyEvent# * event) |
| 1213 | { |
| 1214 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"key:" << event->key() << " " << (event->key() == Qt::Key_Up)); |
| 1215 | QMainWindowcxx . . $ QMainWindow#::keyPressEventcxx . . $ QWidget#keyPressEvent(c92999c1b6b09cc0).(event); |
| 1216 | if (!mCommandLinecxx . . $ MainWindow#mCommandLine.->hasFocuscxx . . $ QWidget#hasFocus(50ce9a9e25b4a850).()) |
| 1217 | mCommandLinecxx . . $ MainWindow#mCommandLine.->setFocuscxx . . $ QWidget#setFocus(49f6e7a06ebc5aa8).(); |
| 1218 | } |
| 1219 | |
| 1220 | void MainWindowcxx . . $ MainWindow#::restartDevicescxx . . $ MainWindow#restartDevices(49f6e7a06ebc5aa8).() |
| 1221 | { |
| 1222 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(3,"MainWindow::restartRecovery"); |
| 1223 | mDevicesRecoverycxx . . $ MainWindow#mDevicesRecovery. = true; |
| 1224 | issueCommandcxx . . $ MainWindow#issueCommand(7c222eea44a24d43).("]DEVLIST=1"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 1225 | #ifndef hFramework |
| 1226 | usleep(500000); // TODO32 |
| 1227 | #endif |
| 1228 | issueCommandcxx . . $ MainWindow#issueCommand(7c222eea44a24d43).("]NEWDEVLIST=1"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 1229 | } |
| 1230 | |
| 1231 | bool MainWindowcxx . . $ MainWindow#::issueCommandcxx . . $ MainWindow#issueCommand(7c222eea44a24d43).(const stdcxx . . $ std/::stringcxx . . $ std/string#& command) |
| 1232 | { |
| 1233 | QStringcxx . . $ QString# qCommandcxx . . $ QString#QString(e1217c004a86c950). = commandcxx . . $ QString#QString(85c52e162fed56f9)..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); |
| 1234 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) |
| 1235 | { |
| 1236 | mHerculesExecutorcxx . . $ MainWindow#mHerculesExecutor.->issueFormattedCommandcxx . . $ HerculesExecutor#issueFormattedCommand(2fa786934fe80e24).("%s\n", command.c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 1237 | setIpledcxx . . $ MainWindow#setIpled(7df51288a9ebd664).(qCommandcxx . . $ QString#QString(3520e46b33348bf6).); |
| 1238 | } |
| 1239 | |
| 1240 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(2,"issue command:" << command); |
| 1241 | return true; |
| 1242 | } |
| 1243 | |
| 1244 | void MainWindowcxx . . $ MainWindow#::testGuicxx . . $ MainWindow#testGui(49f6e7a06ebc5aa8).() |
| 1245 | { |
| 1246 | if ( !mStatusReceivedcxx . . $ MainWindow#mStatusReceived. && |
| 1247 | (mLogWindowcxx . . $ MainWindow#mLogWindow.->toPlainTextcxx . . $ PlainLogWidget#toPlainText(4365c3963150523e).().indexOfcxx . . $ QString#indexOf(a1e52806cd31c200).("No External GUI support"cxx . . $ QString#QString(85c52e162fed56f9).) > 0) ) |
| 1248 | { |
| 1249 | QMessageBoxcxx . . $ QMessageBox#::criticalcxx . . $ QMessageBox#critical(a9e3742e6f7b4147).(this,"No GUI Support"cxx . . $ QString#QString(85c52e162fed56f9)., |
| 1250 | "The Hercules program that you are running does not support external GUI\n"cxx . . $ QString#QString(85c52e162fed56f9). |
| 1251 | "Please obtain a module that was built with GUI support", |
| 1252 | QMessageBoxcxx . . $ QFlags#QFlags(9b289cee16747614).::Okcxx . . $ QMessageBox#Ok.); |
| 1253 | } |
| 1254 | } |
| 1255 | |
| 1256 | void MainWindowcxx . . $ MainWindow#::setIpledcxx . . $ MainWindow#setIpled(7df51288a9ebd664).(QStringcxx . . $ QString# command) |
| 1257 | { |
| 1258 | if (mHerculesActivecxx . . $ MainWindow#mHerculesActive.) |
| 1259 | { |
| 1260 | if (command.toLowercxx . . $ QString#toLower(dca2c5857e9adf82).().leftJustifiedcxx . . $ QString#leftJustified(63a88914f7cad4ec).(4).startsWithcxx . . $ QString#startsWith(8cce4688c16f48f3).("ipl "cxx . . $ QString#QString(85c52e162fed56f9).)) |
| 1261 | { |
| 1262 | mLogWindowcxx . . $ MainWindow#mLogWindow.->setIpledcxx . . $ PlainLogWidget#setIpled(b45ddcbc8423892c).(true); |
| 1263 | } |
| 1264 | else if (command.toLowercxx . . $ QString#toLower(dca2c5857e9adf82).().leftJustifiedcxx . . $ QString#leftJustified(63a88914f7cad4ec).(5).startsWithcxx . . $ QString#startsWith(8cce4688c16f48f3).("quit "cxx . . $ QString#QString(85c52e162fed56f9).)) |
| 1265 | { |
| 1266 | mLogWindowcxx . . $ MainWindow#mLogWindow.->setIpledcxx . . $ PlainLogWidget#setIpled(b45ddcbc8423892c).(false); |
| 1267 | } |
| 1268 | |
| 1269 | } |
| 1270 | } |
| 1271 | |
| 1272 | void MainWindowcxx . . $ MainWindow#::setDarkBackgroundcxx . . $ MainWindow#setDarkBackground(b45ddcbc8423892c).(bool dark) |
| 1273 | { |
| 1274 | if (dark) |
| 1275 | { |
| 1276 | QFilecxx . . $ QFile# filecxx . . $ QFile#QFile(3520e46b33348bf6).(":/icons/darkorange.css"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 1277 | if (!file.opencxx . . $ QFile#open(dca164408be960c8).(QIODevicecxx . . $ QIODevice#::ReadOnlycxx . . $ QIODevice#ReadOnly. |cxx . . $ `operator|`(e858de6b2553445b). QIODevicecxx . . $ QIODevice#::Textcxx . . $ QIODevice#Text.)) |
| 1278 | return; |
| 1279 | QByteArraycxx . . $ QByteArray# ss = filecxx . . $ QByteArray#QByteArray(3203d9f8f38841a4)..readAllcxx . . $ QIODevice#readAll(b3c286cec66e09f4).(); |
| 1280 | setStyleSheetcxx . . $ QWidget#setStyleSheet(3520e46b33348bf6).(sscxx . . $ QString#QString(45672f3c6961a244).); |
| 1281 | } |
| 1282 | else |
| 1283 | setStyleSheetcxx . . $ QWidget#setStyleSheet(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).); |
| 1284 | } |