Debian Codegraph @

mainwindow.h

raw symbols SCIP
1 // File: mainwindow.hcxx . . $ `<file>/mainwindow.h`/
2 /*
3 Pep8-1 is a virtual machine for writing machine language and assembly
4 language programs.
5
6 Copyright (C) 2009 J. Stanley Warford, Pepperdine University
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef MAINWINDOW_H
23 #define MAINWINDOW_Hcxx . . $ `mainwindow.h:23:9`!
24
25 #include <QtWidgets/QMainWindow>
26 #include "byteconverterdec.h"cxx . . $ `<file>/byteconverterdec.h`/
27 #include "byteconverterhex.h"cxx . . $ `<file>/byteconverterhex.h`/
28 #include "byteconverterbin.h"cxx . . $ `<file>/byteconverterbin.h`/
29 #include "byteconverterchar.h"cxx . . $ `<file>/byteconverterchar.h`/
30 #include "byteconverterinstr.h"cxx . . $ `<file>/byteconverterinstr.h`/
31
32 // Left pane
33 #include "sourcecodepane.h"cxx . . $ `<file>/sourcecodepane.h`/
34 #include "objectcodepane.h"cxx . . $ `<file>/objectcodepane.h`/
35 #include "assemblerlistingpane.h"cxx . . $ `<file>/assemblerlistingpane.h`/
36 #include "listingtracepane.h"cxx . . $ `<file>/listingtracepane.h`/
37 #include "memorytracepane.h"cxx . . $ `<file>/memorytracepane.h`/
38
39 // Middle pane
40 #include "cpupane.h"cxx . . $ `<file>/cpupane.h`/
41 #include "inputpane.h"cxx . . $ `<file>/inputpane.h`/
42 #include "outputpane.h"cxx . . $ `<file>/outputpane.h`/
43 #include "terminalpane.h"cxx . . $ `<file>/terminalpane.h`/
44
45 // Right pane
46 #include "memorydumppane.h"cxx . . $ `<file>/memorydumppane.h`/
47
48 // Dialog boxes
49 #include "redefinemnemonicsdialog.h"cxx . . $ `<file>/redefinemnemonicsdialog.h`/
50 #include "helpdialog.h"cxx . . $ `<file>/helpdialog.h`/
51 #include "aboutpep.h"cxx . . $ `<file>/aboutpep.h`/
52
53 namespace Uicxx . . $ Ui/
54 {
55 class MainWindowClasscxx . . $ Ui/MainWindowClass#;
56 }
57
58 class MainWindowcxx . . $ MainWindow# : public QMainWindowcxx . . $ QMainWindow#
59 {
60 Q_OBJECTcxx . . $ MainWindow#QPrivateSignal#
61
62 public:
63 MainWindowcxx . . $ MainWindow#MainWindow(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0);
64 ~cxx . . $ MainWindow#`~MainWindow`(ced63f7c635d850d).MainWindowcxx . . $ MainWindow#();
65
66 protected:
67 void closeEventcxx . . $ MainWindow#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent# *event);
68
69 private:
70 Uicxx . . $ Ui/::MainWindowClasscxx . . $ Ui/MainWindowClass# *uicxx . . $ MainWindow#ui.;
71 QFontcxx . . $ QFont# codeFontcxx . . $ MainWindow#codeFont.;
72 // Left pane
73 SourceCodePanecxx . . $ SourceCodePane# *sourceCodePanecxx . . $ MainWindow#sourceCodePane.;
74 ObjectCodePanecxx . . $ ObjectCodePane# *objectCodePanecxx . . $ MainWindow#objectCodePane.;
75 AssemblerListingPanecxx . . $ AssemblerListingPane# *assemblerListingPanecxx . . $ MainWindow#assemblerListingPane.;
76 ListingTracePanecxx . . $ ListingTracePane# *listingTracePanecxx . . $ MainWindow#listingTracePane.;
77 MemoryTracePanecxx . . $ MemoryTracePane# *memoryTracePanecxx . . $ MainWindow#memoryTracePane.;
78
79 // Middle pane
80 CpuPanecxx . . $ CpuPane# *cpuPanecxx . . $ MainWindow#cpuPane.;
81 InputPanecxx . . $ InputPane# *inputPanecxx . . $ MainWindow#inputPane.;
82 OutputPanecxx . . $ OutputPane# *outputPanecxx . . $ MainWindow#outputPane.;
83 TerminalPanecxx . . $ TerminalPane# *terminalPanecxx . . $ MainWindow#terminalPane.;
84
85 // Right pane
86 MemoryDumpPanecxx . . $ MemoryDumpPane# *memoryDumpPanecxx . . $ MainWindow#memoryDumpPane.;
87
88 // Dialog boxes
89 RedefineMnemonicsDialogcxx . . $ RedefineMnemonicsDialog# *redefineMnemonicsDialogcxx . . $ MainWindow#redefineMnemonicsDialog.;
90 HelpDialogcxx . . $ HelpDialog# *helpDialogcxx . . $ MainWindow#helpDialog.;
91 AboutPepcxx . . $ AboutPep# *aboutPepDialogcxx . . $ MainWindow#aboutPepDialog.;
92
93 // Byte converter
94 ByteConverterDeccxx . . $ ByteConverterDec# *byteConverterDeccxx . . $ MainWindow#byteConverterDec.;
95 ByteConverterHexcxx . . $ ByteConverterHex# *byteConverterHexcxx . . $ MainWindow#byteConverterHex.;
96 ByteConverterBincxx . . $ ByteConverterBin# *byteConverterBincxx . . $ MainWindow#byteConverterBin.;
97 ByteConverterCharcxx . . $ ByteConverterChar# *byteConverterCharcxx . . $ MainWindow#byteConverterChar.;
98 ByteConverterInstrcxx . . $ ByteConverterInstr# *byteConverterInstrcxx . . $ MainWindow#byteConverterInstr.;
99
100 // Save methods
101 bool saveSourcecxx . . $ MainWindow#saveSource(c9857a73d68e59ba).();
102 bool saveObjectcxx . . $ MainWindow#saveObject(c9857a73d68e59ba).();
103 bool saveListingcxx . . $ MainWindow#saveListing(c9857a73d68e59ba).();
104 void readSettingscxx . . $ MainWindow#readSettings(49f6e7a06ebc5aa8).();
105 void writeSettingscxx . . $ MainWindow#writeSettings(49f6e7a06ebc5aa8).();
106 bool maybeSaveSourcecxx . . $ MainWindow#maybeSaveSource(c9857a73d68e59ba).();
107 bool maybeSaveObjectcxx . . $ MainWindow#maybeSaveObject(c9857a73d68e59ba).();
108 void loadFilecxx . . $ MainWindow#loadFile(3520e46b33348bf6).(const QStringcxx . . $ QString# &fileName);
109 bool saveFileSourcecxx . . $ MainWindow#saveFileSource(e1defb592416720d).(const QStringcxx . . $ QString# &fileName);
110 bool saveFileObjectcxx . . $ MainWindow#saveFileObject(e1defb592416720d).(const QStringcxx . . $ QString# &fileName);
111 bool saveFileListingcxx . . $ MainWindow#saveFileListing(e1defb592416720d).(const QStringcxx . . $ QString# &fileName);
112 void setCurrentFilecxx . . $ MainWindow#setCurrentFile(30e909e7afe2d54e).(const QStringcxx . . $ QString# &fileName, Enucxx . . $ Enu/::EPanecxx . . $ Enu/EPane# pane);
113 QStringcxx . . $ QString# strippedNamecxx . . $ MainWindow#strippedName(fd988a2ab94d906b).(const QStringcxx . . $ QString# &fullFileName);
114
115 QStringcxx . . $ QString# curSourceFilecxx . . $ MainWindow#curSourceFile.;
116 QStringcxx . . $ QString# curObjectFilecxx . . $ MainWindow#curObjectFile.;
117 QStringcxx . . $ QString# curListingFilecxx . . $ MainWindow#curListingFile.;
118 QStringcxx . . $ QString# curPathcxx . . $ MainWindow#curPath.;
119
120 // Recent Files methods
121 void updateRecentFileActionscxx . . $ MainWindow#updateRecentFileActions(49f6e7a06ebc5aa8).();
122 enumcxx . . $ MainWindow#$anonymous_type_0# { MaxRecentFilescxx . . $ MainWindow#MaxRecentFiles. = 5};
123 QActioncxx . . $ QAction# *recentFileActscxx . . $ MainWindow#recentFileActs.[MaxRecentFilescxx . . $ MainWindow#MaxRecentFiles.];
124 QActioncxx . . $ QAction# *separatorActcxx . . $ MainWindow#separatorAct.;
125
126 bool assemblecxx . . $ MainWindow#assemble(c9857a73d68e59ba).();
127 bool loadcxx . . $ MainWindow#load(c9857a73d68e59ba).();
128
129 void setDebugStatecxx . . $ MainWindow#setDebugState(b45ddcbc8423892c).(bool b);
130
131 bool eventFiltercxx . . $ MainWindow#eventFilter(978aa4af1d030efa).(QObjectcxx . . $ QObject# *, QEventcxx . . $ QEvent# *event);
132
133 private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
134 // File
135 void on_actionFile_New_triggeredcxx . . $ MainWindow#on_actionFile_New_triggered(49f6e7a06ebc5aa8).();
136 void on_actionFile_Open_triggeredcxx . . $ MainWindow#on_actionFile_Open_triggered(49f6e7a06ebc5aa8).();
137 bool on_actionFile_Save_Source_triggeredcxx . . $ MainWindow#on_actionFile_Save_Source_triggered(c9857a73d68e59ba).();
138 bool on_actionFile_Save_Source_As_triggeredcxx . . $ MainWindow#on_actionFile_Save_Source_As_triggered(c9857a73d68e59ba).();
139 bool on_actionFile_Save_Object_As_triggeredcxx . . $ MainWindow#on_actionFile_Save_Object_As_triggered(c9857a73d68e59ba).();
140 bool on_actionFile_Save_Listing_As_triggeredcxx . . $ MainWindow#on_actionFile_Save_Listing_As_triggered(c9857a73d68e59ba).();
141 void on_actionFile_Print_Source_triggeredcxx . . $ MainWindow#on_actionFile_Print_Source_triggered(49f6e7a06ebc5aa8).();
142 void on_actionFile_Print_Object_triggeredcxx . . $ MainWindow#on_actionFile_Print_Object_triggered(49f6e7a06ebc5aa8).();
143 void on_actionFile_Print_Listing_triggeredcxx . . $ MainWindow#on_actionFile_Print_Listing_triggered(49f6e7a06ebc5aa8).();
144
145 // Edit
146 void on_actionEdit_Undo_triggeredcxx . . $ MainWindow#on_actionEdit_Undo_triggered(49f6e7a06ebc5aa8).();
147 void on_actionEdit_Redo_triggeredcxx . . $ MainWindow#on_actionEdit_Redo_triggered(49f6e7a06ebc5aa8).();
148 void on_actionEdit_Cut_triggeredcxx . . $ MainWindow#on_actionEdit_Cut_triggered(49f6e7a06ebc5aa8).();
149 void on_actionEdit_Copy_triggeredcxx . . $ MainWindow#on_actionEdit_Copy_triggered(49f6e7a06ebc5aa8).();
150 void on_actionEdit_Paste_triggeredcxx . . $ MainWindow#on_actionEdit_Paste_triggered(49f6e7a06ebc5aa8).();
151 void on_actionEdit_Format_From_Listing_triggeredcxx . . $ MainWindow#on_actionEdit_Format_From_Listing_triggered(49f6e7a06ebc5aa8).();
152 void on_actionEdit_Font_triggeredcxx . . $ MainWindow#on_actionEdit_Font_triggered(49f6e7a06ebc5aa8).();
153 void on_actionReset_Fonts_to_Defaults_triggeredcxx . . $ MainWindow#on_actionReset_Fonts_to_Defaults_triggered(49f6e7a06ebc5aa8).();
154 void on_actionEdit_Remove_Error_Messages_triggeredcxx . . $ MainWindow#on_actionEdit_Remove_Error_Messages_triggered(49f6e7a06ebc5aa8).();
155
156 // Build
157 void on_actionBuild_Assemble_triggeredcxx . . $ MainWindow#on_actionBuild_Assemble_triggered(49f6e7a06ebc5aa8).();
158 void on_actionBuild_Load_triggeredcxx . . $ MainWindow#on_actionBuild_Load_triggered(49f6e7a06ebc5aa8).();
159 void on_actionBuild_Execute_triggeredcxx . . $ MainWindow#on_actionBuild_Execute_triggered(49f6e7a06ebc5aa8).();
160 void on_actionBuild_Run_Source_triggeredcxx . . $ MainWindow#on_actionBuild_Run_Source_triggered(49f6e7a06ebc5aa8).();
161 void on_actionBuild_Start_Debugging_Source_triggeredcxx . . $ MainWindow#on_actionBuild_Start_Debugging_Source_triggered(49f6e7a06ebc5aa8).();
162 void on_actionBuild_Run_Object_triggeredcxx . . $ MainWindow#on_actionBuild_Run_Object_triggered(49f6e7a06ebc5aa8).();
163 void on_actionBuild_Start_Debugging_Object_triggeredcxx . . $ MainWindow#on_actionBuild_Start_Debugging_Object_triggered(49f6e7a06ebc5aa8).();
164 void on_actionBuild_Start_Debugging_Loader_triggeredcxx . . $ MainWindow#on_actionBuild_Start_Debugging_Loader_triggered(49f6e7a06ebc5aa8).();
165 void on_actionBuild_Stop_Debugging_triggeredcxx . . $ MainWindow#on_actionBuild_Stop_Debugging_triggered(49f6e7a06ebc5aa8).();
166 void on_actionBuild_Interrupt_Execution_triggeredcxx . . $ MainWindow#on_actionBuild_Interrupt_Execution_triggered(49f6e7a06ebc5aa8).();
167
168 // View
169 void on_actionView_Code_Only_triggeredcxx . . $ MainWindow#on_actionView_Code_Only_triggered(49f6e7a06ebc5aa8).();
170 void on_actionView_Code_CPU_triggeredcxx . . $ MainWindow#on_actionView_Code_CPU_triggered(49f6e7a06ebc5aa8).();
171 void on_actionView_Code_CPU_Memory_triggeredcxx . . $ MainWindow#on_actionView_Code_CPU_Memory_triggered(49f6e7a06ebc5aa8).();
172 void on_actionView_Code_Tab_triggeredcxx . . $ MainWindow#on_actionView_Code_Tab_triggered(49f6e7a06ebc5aa8).();
173 void on_actionView_Trace_Tab_triggeredcxx . . $ MainWindow#on_actionView_Trace_Tab_triggered(49f6e7a06ebc5aa8).();
174 void on_actionView_Batch_I_O_Tab_triggeredcxx . . $ MainWindow#on_actionView_Batch_I_O_Tab_triggered(49f6e7a06ebc5aa8).();
175 void on_actionView_Terminal_Tab_triggeredcxx . . $ MainWindow#on_actionView_Terminal_Tab_triggered(49f6e7a06ebc5aa8).();
176
177 // System
178 void on_actionSystem_Clear_Memory_triggeredcxx . . $ MainWindow#on_actionSystem_Clear_Memory_triggered(49f6e7a06ebc5aa8).();
179 void on_actionSystem_Redefine_Mnemonics_triggeredcxx . . $ MainWindow#on_actionSystem_Redefine_Mnemonics_triggered(49f6e7a06ebc5aa8).();
180 void on_actionSystem_Assemble_Install_New_OS_triggeredcxx . . $ MainWindow#on_actionSystem_Assemble_Install_New_OS_triggered(49f6e7a06ebc5aa8).();
181 void on_actionSystem_Reinstall_Default_OS_triggeredcxx . . $ MainWindow#on_actionSystem_Reinstall_Default_OS_triggered(49f6e7a06ebc5aa8).();
182
183 // Help
184 void on_actionHelp_triggeredcxx . . $ MainWindow#on_actionHelp_triggered(49f6e7a06ebc5aa8).();
185 void on_actionHelp_Check_for_updates_triggeredcxx . . $ MainWindow#on_actionHelp_Check_for_updates_triggered(49f6e7a06ebc5aa8).();
186 void on_actionHelp_Machine_Language_triggeredcxx . . $ MainWindow#on_actionHelp_Machine_Language_triggered(49f6e7a06ebc5aa8).();
187 void on_actionHelp_Assembly_Language_triggeredcxx . . $ MainWindow#on_actionHelp_Assembly_Language_triggered(49f6e7a06ebc5aa8).();
188 void on_actionHelp_Debugging_Programs_triggeredcxx . . $ MainWindow#on_actionHelp_Debugging_Programs_triggered(49f6e7a06ebc5aa8).();
189 void on_actionHelp_Writing_Trap_Handlers_triggeredcxx . . $ MainWindow#on_actionHelp_Writing_Trap_Handlers_triggered(49f6e7a06ebc5aa8).();
190 void on_actionHelp_Pep_8_Reference_triggeredcxx . . $ MainWindow#on_actionHelp_Pep_8_Reference_triggered(49f6e7a06ebc5aa8).();
191 void on_actionHelp_Examples_triggeredcxx . . $ MainWindow#on_actionHelp_Examples_triggered(49f6e7a06ebc5aa8).();
192 void on_actionHelp_Pep_8_Operating_System_triggeredcxx . . $ MainWindow#on_actionHelp_Pep_8_Operating_System_triggered(49f6e7a06ebc5aa8).();
193 void on_actionAbout_Pep8_triggeredcxx . . $ MainWindow#on_actionAbout_Pep8_triggered(49f6e7a06ebc5aa8).();
194 void on_actionAbout_Qt_triggeredcxx . . $ MainWindow#on_actionAbout_Qt_triggered(49f6e7a06ebc5aa8).();
195
196 void helpCopyToSourceButtonClickedcxx . . $ MainWindow#helpCopyToSourceButtonClicked(49f6e7a06ebc5aa8).();
197
198 // Byte converter
199 void slotByteConverterDecEditedcxx . . $ MainWindow#slotByteConverterDecEdited(3520e46b33348bf6).(const QStringcxx . . $ QString# &);
200 void slotByteConverterHexEditedcxx . . $ MainWindow#slotByteConverterHexEdited(3520e46b33348bf6).(const QStringcxx . . $ QString# &);
201 void slotByteConverterBinEditedcxx . . $ MainWindow#slotByteConverterBinEdited(3520e46b33348bf6).(const QStringcxx . . $ QString# &);
202 void slotByteConverterCharEditedcxx . . $ MainWindow#slotByteConverterCharEdited(3520e46b33348bf6).(const QStringcxx . . $ QString# &);
203
204 // Focus coloring Undo/Redo/Cut/Copy/Paste activate/deactivate
205 void mainWindowUtilitiescxx . . $ MainWindow#mainWindowUtilities(84f7ac92c52de9f6).(QWidgetcxx . . $ QWidget# *, QWidgetcxx . . $ QWidget# *);
206 void setUndoabilitycxx . . $ MainWindow#setUndoability(b45ddcbc8423892c).(bool b);
207 void setRedoabilitycxx . . $ MainWindow#setRedoability(b45ddcbc8423892c).(bool b);
208
209 void doubleClickedCodeLabelcxx . . $ MainWindow#doubleClickedCodeLabel(d9b7ee7ebef3c77).(Enucxx . . $ Enu/::EPanecxx . . $ Enu/EPane# pane);
210 // void resizeDocWidth(int, int);
211
212 // For updating the CPU and Memory trace from listing trace pane
213 void updateSimulationViewcxx . . $ MainWindow#updateSimulationView(49f6e7a06ebc5aa8).();
214 void vonNeumannSteppedcxx . . $ MainWindow#vonNeumannStepped(49f6e7a06ebc5aa8).();
215 void appendOutputcxx . . $ MainWindow#appendOutput(7df51288a9ebd664).(QStringcxx . . $ QString# str);
216
217 // Terminal IO:
218 void waitingForInputcxx . . $ MainWindow#waitingForInput(49f6e7a06ebc5aa8).();
219 void inputReceivedcxx . . $ MainWindow#inputReceived(49f6e7a06ebc5aa8).();
220
221 void resumeButtonClickedcxx . . $ MainWindow#resumeButtonClicked(49f6e7a06ebc5aa8).();
222 void singleStepButtonClickedcxx . . $ MainWindow#singleStepButtonClicked(49f6e7a06ebc5aa8).();
223
224 // Recent files
225 void openRecentFilecxx . . $ MainWindow#openRecentFile(49f6e7a06ebc5aa8).();
226
227 /*
228 These belong in the other panes
229 // Trace
230 void on_pepMemSingleStepPushButton_clicked();
231 void on_pepMemResumePushButton_clicked();
232 void pepResumePushButtonClicked();
233
234 // Memory pane
235 void on_pepMemRefreshPushButton_clicked();
236
237 // CPU stats
238 void slotSaveTraceProgram(int);
239 void slotSaveTraceTraps(int);
240 void slotSaveTraceLoader(int);
241 */
242 signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!:
243 void fontChangedcxx . . $ MainWindow#fontChanged(19c44da831d1de49).(QFontcxx . . $ QFont# font);
244 };
245
246 #endif // MAINWINDOW_H