| 1 | // File: listingtracepane.hcxx . . $ `<file>/listingtracepane.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 LISTINGTRACEPANE_H |
| 23 | #define LISTINGTRACEPANE_Hcxx . . $ `listingtracepane.h:23:9`! |
| 24 | |
| 25 | #include <QWidget> |
| 26 | #include <QTableWidgetItem> |
| 27 | #include "enu.h"cxx . . $ `<file>/enu.h`/ |
| 28 | |
| 29 | namespace Uicxx . . $ Ui/ { |
| 30 | class ListingTracePanecxx . . $ Ui/ListingTracePane#; |
| 31 | } |
| 32 | |
| 33 | class ListingTracePanecxx . . $ ListingTracePane# : public QWidgetcxx . . $ QWidget# { |
| 34 | Q_OBJECTcxx . . $ ListingTracePane#QPrivateSignal# |
| 35 | Q_DISABLE_COPYcxx . . $ ListingTracePane#`operator=`(705797b64ed736d3).(ListingTracePane) |
| 36 | public: |
| 37 | explicit ListingTracePanecxx . . $ ListingTracePane#ListingTracePane(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 38 | virtual ~cxx . . $ ListingTracePane#`~ListingTracePane`(ced63f7c635d850d).ListingTracePanecxx . . $ ListingTracePane#(); |
| 39 | |
| 40 | void setListingTracecxx . . $ ListingTracePane#setListingTrace(fbf163fdf621be2d).(QStringListcxx . . $ QStringList# listingTraceList, QListcxx . . $ QList#<bool> hasCheckBox); |
| 41 | // Post: Populate listingTraceTable from assemblerListingList and hasCheckBox |
| 42 | |
| 43 | void clearListingTracecxx . . $ ListingTracePane#clearListingTrace(49f6e7a06ebc5aa8).(); |
| 44 | |
| 45 | void updateListingTracecxx . . $ ListingTracePane#updateListingTrace(49f6e7a06ebc5aa8).(); |
| 46 | // Post: the listing trace pane selection is updated |
| 47 | |
| 48 | void setDebuggingStatecxx . . $ ListingTracePane#setDebuggingState(b45ddcbc8423892c).(bool b); |
| 49 | // Post: resume and single step buttons clickability is set to b |
| 50 | // Also clears the selection |
| 51 | |
| 52 | void showAssemblerListingcxx . . $ ListingTracePane#showAssemblerListing(49f6e7a06ebc5aa8).(); |
| 53 | // Post: The tableWidget containing the assembler listing is shown |
| 54 | // and the OS tableWidget is hidden |
| 55 | |
| 56 | void highlightOnFocuscxx . . $ ListingTracePane#highlightOnFocus(49f6e7a06ebc5aa8).(); |
| 57 | // Post: Highlights the label based on the label window color saved in the UI file |
| 58 | |
| 59 | bool hasFocuscxx . . $ ListingTracePane#hasFocus(c9857a73d68e59ba).(); |
| 60 | // Post: returns if the pane has focus |
| 61 | |
| 62 | void setFocuscxx . . $ ListingTracePane#setFocus(49f6e7a06ebc5aa8).(); |
| 63 | // Post: gives the text edit focus |
| 64 | |
| 65 | // void resizeDocWidth(); |
| 66 | // Post: the document widths of the trace panes are set |
| 67 | // This is commented, but preserved in case we want to bring back the resizing of the document width to the width of the window. |
| 68 | |
| 69 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 70 | void onFontChangedcxx . . $ ListingTracePane#onFontChanged(19c44da831d1de49).(QFontcxx . . $ QFont# font); |
| 71 | |
| 72 | private: |
| 73 | Uicxx . . $ Ui/::ListingTracePanecxx . . $ Ui/ListingTracePane# *uicxx . . $ ListingTracePane#ui.; |
| 74 | |
| 75 | void mouseReleaseEventcxx . . $ ListingTracePane#mouseReleaseEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent# *); |
| 76 | |
| 77 | QListcxx . . $ QList#<QTableWidgetItemcxx . . $ QTableWidgetItem# *> highlightedItemListcxx . . $ ListingTracePane#highlightedItemList.; |
| 78 | |
| 79 | // int programDocWidth; |
| 80 | // int osDocWidth; |
| 81 | // These are commented, but preserved in case we want to bring back the resizing of the document width to the width of the window. |
| 82 | void mouseDoubleClickEventcxx . . $ ListingTracePane#mouseDoubleClickEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent# *); |
| 83 | |
| 84 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 85 | void updateIsCheckedTablecxx . . $ ListingTracePane#updateIsCheckedTable(554f3a74aaf98b06).(QTableWidgetItemcxx . . $ QTableWidgetItem# *item); |
| 86 | |
| 87 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 88 | void labelDoubleClickedcxx . . $ ListingTracePane#labelDoubleClicked(d9b7ee7ebef3c77).(Enucxx . . $ Enu/::EPanecxx . . $ Enu/EPane# pane); |
| 89 | |
| 90 | }; |
| 91 | |
| 92 | #endif // LISTINGTRACEPANE_H |