| 1 | /* |
| 2 | * File: CommandLine.h |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Aug 7, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This object manages the command line widget |
| 11 | * |
| 12 | * This program is free software: you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation, either version 3 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | * |
| 25 | */ |
| 26 | |
| 27 | #ifndef COMMANDLINE_H_ |
| 28 | #define COMMANDLINE_H_cxx . . $ `HercStudio/CommandLine.h:28:9`! |
| 29 | |
| 30 | #include "HerculesStudio.h"cxx . . $ `<file>/HercStudio/HerculesStudio.h`/ |
| 31 | |
| 32 | #include <QtWidgets/QWidget> |
| 33 | #include <QLineEdit> |
| 34 | |
| 35 | class CommandLinecxx . . $ CommandLine# : public QLineEditcxx . . $ QLineEdit# |
| 36 | { |
| 37 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 38 | public: |
| 39 | CommandLinecxx . . $ CommandLine#CommandLine(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# * parent=NULLcxx . . $ `<external>/15298297234472979974/stddef.h:416:9`! ); |
| 40 | virtual ~cxx . . $ CommandLine#`~CommandLine`(49f6e7a06ebc5aa8).CommandLinecxx . . $ CommandLine#(); |
| 41 | void setFontcxx . . $ CommandLine#setFont(49f6e7a06ebc5aa8).(); |
| 42 | bool emptycxx . . $ CommandLine#empty(c9857a73d68e59ba).(); |
| 43 | void savecxx . . $ CommandLine#save(49f6e7a06ebc5aa8).(); |
| 44 | void restorecxx . . $ CommandLine#restore(49f6e7a06ebc5aa8).(); |
| 45 | |
| 46 | using QLineEditcxx . . $ QLineEdit#::sizeHintcxx . . $ QLineEdit#sizeHint(4b3b776e5ee2b367).; |
| 47 | QSizecxx . . $ QSize# sizeHintcxx . . $ CommandLine#sizeHint(dc21773d1a733566).(); |
| 48 | |
| 49 | protected: |
| 50 | virtual void keyPressEventcxx . . $ CommandLine#keyPressEvent(c92999c1b6b09cc0). ( QKeyEventcxx . . $ QKeyEvent# * event ); |
| 51 | |
| 52 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 53 | void enterPressedcxx . . $ CommandLine#enterPressed(3520e46b33348bf6).(const QStringcxx . . $ QString# & text); |
| 54 | |
| 55 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 56 | void ctrl_ccxx . . $ CommandLine#ctrl_c(49f6e7a06ebc5aa8).(); |
| 57 | |
| 58 | private: |
| 59 | QVectorcxx . . $ QVector#<QStringcxx . . $ QString#> mHistorycxx . . $ CommandLine#mHistory.; |
| 60 | int mHistoryPtrcxx . . $ CommandLine#mHistoryPtr.; |
| 61 | |
| 62 | void setLinecxx . . $ CommandLine#setLine(49f6e7a06ebc5aa8).(); |
| 63 | }; |
| 64 | |
| 65 | #endif /* COMMANDLINE_H_ */ |