| 1 | // File: helpdialog.hcxx . . $ `<file>/helpdialog.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 HELPDIALOG_H |
| 23 | #define HELPDIALOG_Hcxx . . $ `helpdialog.h:23:9`! |
| 24 | |
| 25 | #include <QDialog> |
| 26 | #include <QTreeWidgetItem> |
| 27 | #include "pephighlighter.h"cxx . . $ `<file>/pephighlighter.h`/ // For syntax highlighting |
| 28 | #include "cpphighlighter.h"cxx . . $ `<file>/cpphighlighter.h`/ |
| 29 | #include "enu.h"cxx . . $ `<file>/enu.h`/ |
| 30 | |
| 31 | namespace Uicxx . . $ Ui/ { |
| 32 | class HelpDialogcxx . . $ Ui/HelpDialog#; |
| 33 | } |
| 34 | |
| 35 | class HelpDialogcxx . . $ HelpDialog# : public QDialogcxx . . $ QDialog# { |
| 36 | Q_OBJECTcxx . . $ HelpDialog#tr(75d9f1c324b4579d). |
| 37 | Q_DISABLE_COPYcxx . . $ `<external>/15045578679651060896/qglobal.h:444:9`!(HelpDialog) |
| 38 | public: |
| 39 | explicit HelpDialogcxx . . $ HelpDialog#HelpDialog(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 40 | virtual ~cxx . . $ HelpDialog#`~HelpDialog`(ced63f7c635d850d).HelpDialogcxx . . $ HelpDialog#(); |
| 41 | |
| 42 | void machineLanguageClickedcxx . . $ HelpDialog#machineLanguageClicked(49f6e7a06ebc5aa8).(); |
| 43 | void assemblyLanguageClickedcxx . . $ HelpDialog#assemblyLanguageClicked(49f6e7a06ebc5aa8).(); |
| 44 | void debuggingProgramsClickedcxx . . $ HelpDialog#debuggingProgramsClicked(49f6e7a06ebc5aa8).(); |
| 45 | void writingTrapHandlersClickedcxx . . $ HelpDialog#writingTrapHandlersClicked(49f6e7a06ebc5aa8).(); |
| 46 | void pep8ReferenceClickedcxx . . $ HelpDialog#pep8ReferenceClicked(49f6e7a06ebc5aa8).(); |
| 47 | void examplesClickedcxx . . $ HelpDialog#examplesClicked(49f6e7a06ebc5aa8).(); |
| 48 | void operatingSystemClickedcxx . . $ HelpDialog#operatingSystemClicked(49f6e7a06ebc5aa8).(); |
| 49 | QStringcxx . . $ QString# getCodecxx . . $ HelpDialog#getCode(6214456c4041c138).(Enucxx . . $ Enu/::EPanecxx . . $ Enu/EPane# &destPane, Enucxx . . $ Enu/::EPanecxx . . $ Enu/EPane# &inputDest, QStringcxx . . $ QString# &input); |
| 50 | |
| 51 | bool hasFocuscxx . . $ HelpDialog#hasFocus(c9857a73d68e59ba).(); |
| 52 | // Post: returns true if either of the text edits have focus |
| 53 | |
| 54 | void copycxx . . $ HelpDialog#copy(49f6e7a06ebc5aa8).(); |
| 55 | // Post: the text edit that has focus has the copy() operation performed |
| 56 | |
| 57 | void setCopyButtonDisabledcxx . . $ HelpDialog#setCopyButtonDisabled(b45ddcbc8423892c).(bool b); |
| 58 | // Post: the enabled state of the copy to source/object code button is set to b |
| 59 | |
| 60 | private: |
| 61 | Uicxx . . $ Ui/::HelpDialogcxx . . $ Ui/HelpDialog# *uicxx . . $ HelpDialog#ui.; |
| 62 | |
| 63 | void selectItemcxx . . $ HelpDialog#selectItem(7df51288a9ebd664).(QStringcxx . . $ QString# string); |
| 64 | PepHighlightercxx . . $ PepHighlighter# *leftHighlightercxx . . $ HelpDialog#leftHighlighter.; |
| 65 | CppHighlightercxx . . $ CppHighlighter# *rightCppHighlightercxx . . $ HelpDialog#rightCppHighlighter.; |
| 66 | PepHighlightercxx . . $ PepHighlighter# *rightPepHighlightercxx . . $ HelpDialog#rightPepHighlighter.; |
| 67 | |
| 68 | enum Rowcxx . . $ HelpDialog#Row# { |
| 69 | |
| 70 | eWRITINGcxx . . $ HelpDialog#eWRITING. = 0, |
| 71 | eDEBUGGINGcxx . . $ HelpDialog#eDEBUGGING. = 1, |
| 72 | eTRAPcxx . . $ HelpDialog#eTRAP. = 2, |
| 73 | eREFERENCEcxx . . $ HelpDialog#eREFERENCE. = 3, |
| 74 | eEXAMPLEScxx . . $ HelpDialog#eEXAMPLES. = 4, |
| 75 | eOScxx . . $ HelpDialog#eOS. = 5, |
| 76 | |
| 77 | eASSEMBLYcxx . . $ HelpDialog#eASSEMBLY. = 1, |
| 78 | eMACHINEcxx . . $ HelpDialog#eMACHINE. = 0, |
| 79 | |
| 80 | eFIG432cxx . . $ HelpDialog#eFIG432. = 0, |
| 81 | eFIG434cxx . . $ HelpDialog#eFIG434. = 1, |
| 82 | eFIG435cxx . . $ HelpDialog#eFIG435. = 2, |
| 83 | eFIG436cxx . . $ HelpDialog#eFIG436. = 3, |
| 84 | eFIG503cxx . . $ HelpDialog#eFIG503. = 4, |
| 85 | eFIG506cxx . . $ HelpDialog#eFIG506. = 5, |
| 86 | eFIG507cxx . . $ HelpDialog#eFIG507. = 6, |
| 87 | eFIG510cxx . . $ HelpDialog#eFIG510. = 7, |
| 88 | eFIG511cxx . . $ HelpDialog#eFIG511. = 8, |
| 89 | eFIG512cxx . . $ HelpDialog#eFIG512. = 9, |
| 90 | eFIG513cxx . . $ HelpDialog#eFIG513. = 10, |
| 91 | eFIG514acxx . . $ HelpDialog#eFIG514a.= 11, |
| 92 | eFIG514bcxx . . $ HelpDialog#eFIG514b.= 12, |
| 93 | eFIG515cxx . . $ HelpDialog#eFIG515. = 13, |
| 94 | eFIG516cxx . . $ HelpDialog#eFIG516. = 14, |
| 95 | eFIG518cxx . . $ HelpDialog#eFIG518. = 15, |
| 96 | eFIG521cxx . . $ HelpDialog#eFIG521. = 16, |
| 97 | eFIG526cxx . . $ HelpDialog#eFIG526. = 17, |
| 98 | eFIG601cxx . . $ HelpDialog#eFIG601. = 18, |
| 99 | eFIG604cxx . . $ HelpDialog#eFIG604. = 19, |
| 100 | eFIG606cxx . . $ HelpDialog#eFIG606. = 20, |
| 101 | eFIG608cxx . . $ HelpDialog#eFIG608. = 21, |
| 102 | eFIG610cxx . . $ HelpDialog#eFIG610. = 22, |
| 103 | eFIG612cxx . . $ HelpDialog#eFIG612. = 23, |
| 104 | eFIG614cxx . . $ HelpDialog#eFIG614. = 24, |
| 105 | eFIG616cxx . . $ HelpDialog#eFIG616. = 25, |
| 106 | eFIG618cxx . . $ HelpDialog#eFIG618. = 26, |
| 107 | eFIG621cxx . . $ HelpDialog#eFIG621. = 27, |
| 108 | eFIG623cxx . . $ HelpDialog#eFIG623. = 28, |
| 109 | eFIG625cxx . . $ HelpDialog#eFIG625. = 29, |
| 110 | eFIG627cxx . . $ HelpDialog#eFIG627. = 30, // Interactive input |
| 111 | eFIG629cxx . . $ HelpDialog#eFIG629. = 31, // Interactive input |
| 112 | eFIG632cxx . . $ HelpDialog#eFIG632. = 32, |
| 113 | eFIG634cxx . . $ HelpDialog#eFIG634. = 33, |
| 114 | eFIG636cxx . . $ HelpDialog#eFIG636. = 34, |
| 115 | eFIG638cxx . . $ HelpDialog#eFIG638. = 35, |
| 116 | eFIG640cxx . . $ HelpDialog#eFIG640. = 36, // Interactive input |
| 117 | eFIG641cxx . . $ HelpDialog#eFIG641. = 37, |
| 118 | eFIG643cxx . . $ HelpDialog#eFIG643. = 38, |
| 119 | eFIG645cxx . . $ HelpDialog#eFIG645. = 39, |
| 120 | eFIG647cxx . . $ HelpDialog#eFIG647. = 40, |
| 121 | eEXER804cxx . . $ HelpDialog#eEXER804. = 41, |
| 122 | ePROB829cxx . . $ HelpDialog#ePROB829. = 42, |
| 123 | ePROB832cxx . . $ HelpDialog#ePROB832. = 43, |
| 124 | }; |
| 125 | |
| 126 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 127 | void onFontChangedcxx . . $ HelpDialog#onFontChanged(19c44da831d1de49).(QFontcxx . . $ QFont# font); |
| 128 | |
| 129 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 130 | void onCurrentItemChangedcxx . . $ HelpDialog#onCurrentItemChanged(5ef89140c59dd28e).(QTreeWidgetItemcxx . . $ QTreeWidgetItem#*,QTreeWidgetItemcxx . . $ QTreeWidgetItem#*); |
| 131 | |
| 132 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 133 | void clickedcxx . . $ HelpDialog#clicked(49f6e7a06ebc5aa8).(); |
| 134 | }; |
| 135 | |
| 136 | #endif // HELPDIALOG_H |