| 1 | // File: assemblerlistingpane.hcxx . . $ `<file>/assemblerlistingpane.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 ASSEMBLERLISTINGPANE_H |
| 23 | #define ASSEMBLERLISTINGPANE_Hcxx . . $ `assemblerlistingpane.h:23:9`! |
| 24 | |
| 25 | #include <QWidget> |
| 26 | #include "pephighlighter.h"cxx . . $ `<file>/pephighlighter.h`/ |
| 27 | #include "enu.h"cxx . . $ `<file>/enu.h`/ |
| 28 | |
| 29 | namespace Uicxx . . $ Ui/ { |
| 30 | class AssemblerListingPanecxx . . $ Ui/AssemblerListingPane#; |
| 31 | } |
| 32 | |
| 33 | class AssemblerListingPanecxx . . $ AssemblerListingPane# : public QWidgetcxx . . $ QWidget# { |
| 34 | Q_OBJECTcxx . . $ AssemblerListingPane#staticMetaObject. |
| 35 | Q_DISABLE_COPYcxx . . $ `<external>/15045578679651060896/qglobal.h:444:9`!(AssemblerListingPane) |
| 36 | public: |
| 37 | explicit AssemblerListingPanecxx . . $ AssemblerListingPane#AssemblerListingPane(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 38 | virtual ~cxx . . $ AssemblerListingPane#`~AssemblerListingPane`(ced63f7c635d850d).AssemblerListingPanecxx . . $ AssemblerListingPane#(); |
| 39 | void setAssemblerListingcxx . . $ AssemblerListingPane#setAssemblerListing(fc47db3ea09604d9).(QStringListcxx . . $ QStringList# assemblerListingList); |
| 40 | void clearAssemblerListingcxx . . $ AssemblerListingPane#clearAssemblerListing(49f6e7a06ebc5aa8).(); |
| 41 | |
| 42 | bool isModifiedcxx . . $ AssemblerListingPane#isModified(c9857a73d68e59ba).(); |
| 43 | // Post: Returns true if the assembler listing pane has been modified |
| 44 | |
| 45 | QStringcxx . . $ QString# toPlainTextcxx . . $ AssemblerListingPane#toPlainText(4365c3963150523e).(); |
| 46 | // Post: Contents of the source code pane are returned |
| 47 | |
| 48 | void setCurrentFilecxx . . $ AssemblerListingPane#setCurrentFile(7df51288a9ebd664).(QStringcxx . . $ QString# string); |
| 49 | // Post: Title bar of the window is set to "Assembler Listing - 'string'" |
| 50 | |
| 51 | void highlightOnFocuscxx . . $ AssemblerListingPane#highlightOnFocus(49f6e7a06ebc5aa8).(); |
| 52 | // Post: Highlights the label based on the label window color saved in the UI file |
| 53 | |
| 54 | bool hasFocuscxx . . $ AssemblerListingPane#hasFocus(c9857a73d68e59ba).(); |
| 55 | // Post: returns if the pane has focus |
| 56 | |
| 57 | void copycxx . . $ AssemblerListingPane#copy(49f6e7a06ebc5aa8).(); |
| 58 | // Copies selected text to the clipboard |
| 59 | |
| 60 | void setFocuscxx . . $ AssemblerListingPane#setFocus(49f6e7a06ebc5aa8).(); |
| 61 | // Post: the text edit has focus |
| 62 | |
| 63 | bool isEmptycxx . . $ AssemblerListingPane#isEmpty(c9857a73d68e59ba).(); |
| 64 | // Post: returns if the assembler listing is empty |
| 65 | |
| 66 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 67 | void onFontChangedcxx . . $ AssemblerListingPane#onFontChanged(19c44da831d1de49).(QFontcxx . . $ QFont# font); |
| 68 | |
| 69 | private: |
| 70 | Uicxx . . $ Ui/::AssemblerListingPanecxx . . $ Ui/AssemblerListingPane# *uicxx . . $ AssemblerListingPane#ui.; |
| 71 | |
| 72 | PepHighlightercxx . . $ PepHighlighter# *pepHighlightercxx . . $ AssemblerListingPane#pepHighlighter.; |
| 73 | |
| 74 | void mouseReleaseEventcxx . . $ AssemblerListingPane#mouseReleaseEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent# *); |
| 75 | |
| 76 | void mouseDoubleClickEventcxx . . $ AssemblerListingPane#mouseDoubleClickEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent# *); |
| 77 | |
| 78 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 79 | |
| 80 | void labelDoubleClickedcxx . . $ AssemblerListingPane#labelDoubleClicked(d9b7ee7ebef3c77).(Enucxx . . $ Enu/::EPanecxx . . $ Enu/EPane# pane); |
| 81 | }; |
| 82 | |
| 83 | #endif // ASSEMBLERLISTINGPANE_H |