| 1 | // File: inputpane.hcxx . . $ `<file>/inputpane.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 INPUTPANE_H |
| 23 | #define INPUTPANE_Hcxx . . $ `inputpane.h:23:9`! |
| 24 | |
| 25 | #include <QWidget> |
| 26 | |
| 27 | namespace Uicxx . . $ Ui/ { |
| 28 | class InputPanecxx . . $ Ui/InputPane#; |
| 29 | } |
| 30 | |
| 31 | class InputPanecxx . . $ InputPane# : public QWidgetcxx . . $ QWidget# { |
| 32 | Q_OBJECTcxx . . $ InputPane#staticMetaObject. |
| 33 | Q_DISABLE_COPYcxx . . $ InputPane#InputPane(1aa1192db4c46d7e).(InputPane) |
| 34 | public: |
| 35 | explicit InputPanecxx . . $ InputPane#InputPane(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 36 | virtual ~cxx . . $ InputPane#`~InputPane`(ced63f7c635d850d).InputPanecxx . . $ InputPane#(); |
| 37 | |
| 38 | QStringcxx . . $ QString# toPlainTextcxx . . $ InputPane#toPlainText(4365c3963150523e).(); |
| 39 | // Post: input text edit text is returned |
| 40 | |
| 41 | void setTextcxx . . $ InputPane#setText(7df51288a9ebd664).(QStringcxx . . $ QString# input); |
| 42 | // Post: the input pane text edit text is set to string |
| 43 | |
| 44 | void highlightOnFocuscxx . . $ InputPane#highlightOnFocus(49f6e7a06ebc5aa8).(); |
| 45 | // Post: Highlights the label based on the label window color saved in the UI file |
| 46 | |
| 47 | bool hasFocuscxx . . $ InputPane#hasFocus(c9857a73d68e59ba).(); |
| 48 | // Post: returns if the pane has focus |
| 49 | |
| 50 | void undocxx . . $ InputPane#undo(49f6e7a06ebc5aa8).(); |
| 51 | // Post: the last action in the text edit is undone |
| 52 | |
| 53 | void redocxx . . $ InputPane#redo(49f6e7a06ebc5aa8).(); |
| 54 | // Post: the last undo in the text edit is redone |
| 55 | |
| 56 | bool isUndoablecxx . . $ InputPane#isUndoable(c9857a73d68e59ba).(); |
| 57 | // Returns the undoability of the text edit |
| 58 | |
| 59 | bool isRedoablecxx . . $ InputPane#isRedoable(c9857a73d68e59ba).(); |
| 60 | // Returns the redoability of the text edit |
| 61 | |
| 62 | void cutcxx . . $ InputPane#cut(49f6e7a06ebc5aa8).(); |
| 63 | // Post: selected text in the text edit is cut to the clipboard |
| 64 | |
| 65 | void copycxx . . $ InputPane#copy(49f6e7a06ebc5aa8).(); |
| 66 | // Post: selected text in the text edit is copied to the clipboard |
| 67 | |
| 68 | void pastecxx . . $ InputPane#paste(49f6e7a06ebc5aa8).(); |
| 69 | // Post: selected text in the clipboard is pasted to the text edit |
| 70 | |
| 71 | void setReadOnlycxx . . $ InputPane#setReadOnly(b45ddcbc8423892c).(bool b); |
| 72 | // Post: the text edit's read only attribute is set to b |
| 73 | |
| 74 | void tabcxx . . $ InputPane#tab(49f6e7a06ebc5aa8).(); |
| 75 | // Post: a tab is inserted in the input pane if it is not read only |
| 76 | |
| 77 | public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 78 | void onFontChangedcxx . . $ InputPane#onFontChanged(19c44da831d1de49).(QFontcxx . . $ QFont# font); |
| 79 | |
| 80 | private: |
| 81 | Uicxx . . $ Ui/::InputPanecxx . . $ Ui/InputPane# *uicxx . . $ InputPane#ui.; |
| 82 | |
| 83 | void mouseReleaseEventcxx . . $ InputPane#mouseReleaseEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent# *); |
| 84 | |
| 85 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 86 | void undoAvailablecxx . . $ InputPane#undoAvailable(b45ddcbc8423892c).(bool); |
| 87 | void redoAvailablecxx . . $ InputPane#redoAvailable(b45ddcbc8423892c).(bool); |
| 88 | |
| 89 | }; |
| 90 | |
| 91 | #endif // INPUTPANE_H |