| 1 | // File: outputpane.hcxx . . $ `<file>/outputpane.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 OUTPUTPANE_H |
| 23 | #define OUTPUTPANE_Hcxx . . $ `outputpane.h:23:9`! |
| 24 | |
| 25 | #include <QWidget> |
| 26 | |
| 27 | namespace Uicxx . . $ Ui/ { |
| 28 | class OutputPanecxx . . $ Ui/OutputPane#; |
| 29 | } |
| 30 | |
| 31 | class OutputPanecxx . . $ OutputPane# : public QWidgetcxx . . $ QWidget# { |
| 32 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 33 | Q_DISABLE_COPYcxx . . $ `<external>/15045578679651060896/qglobal.h:444:9`!(OutputPane) |
| 34 | public: |
| 35 | explicit OutputPanecxx . . $ OutputPane#OutputPane(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 36 | virtual ~cxx . . $ OutputPane#`~OutputPane`(ced63f7c635d850d).OutputPanecxx . . $ OutputPane#(); |
| 37 | |
| 38 | void appendOutputcxx . . $ OutputPane#appendOutput(7df51288a9ebd664).(QStringcxx . . $ QString# str); |
| 39 | // Post: str is appended to the text edit |
| 40 | |
| 41 | void clearOutputcxx . . $ OutputPane#clearOutput(49f6e7a06ebc5aa8).(); |
| 42 | // Post: the output is cleared |
| 43 | |
| 44 | void highlightOnFocuscxx . . $ OutputPane#highlightOnFocus(49f6e7a06ebc5aa8).(); |
| 45 | // Post: Highlights the label based on the label window color saved in the UI file |
| 46 | |
| 47 | bool hasFocuscxx . . $ OutputPane#hasFocus(c9857a73d68e59ba).(); |
| 48 | // Post: returns if the pane has focus |
| 49 | |
| 50 | void copycxx . . $ OutputPane#copy(49f6e7a06ebc5aa8).(); |
| 51 | // Post: selected text in the text edit is copied to the clipboard |
| 52 | |
| 53 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 54 | void onFontChangedcxx . . $ OutputPane#onFontChanged(19c44da831d1de49).(QFontcxx . . $ QFont# font); |
| 55 | |
| 56 | private: |
| 57 | Uicxx . . $ Ui/::OutputPanecxx . . $ Ui/OutputPane# *uicxx . . $ OutputPane#ui.; |
| 58 | |
| 59 | void mouseReleaseEventcxx . . $ OutputPane#mouseReleaseEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent# *); |
| 60 | }; |
| 61 | |
| 62 | #endif // OUTPUTPANE_H |