Warning, file /games/kmuddy/kmuddy/dialogs/dlgmxpconsole.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // 0002 // C++ Interface: dlgmxpconsole 0003 // 0004 // Description: 0005 // 0006 /* 0007 Copyright 2004-2011 Tomas Mecir <kmuddy@kmuddy.com> 0008 0009 This program is free software; you can redistribute it and/or 0010 modify it under the terms of the GNU General Public License as 0011 published by the Free Software Foundation; either version 2 of 0012 the License, or (at your option) any later version. 0013 0014 This program is distributed in the hope that it will be useful, 0015 but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0017 GNU General Public License for more details. 0018 0019 You should have received a copy of the GNU General Public License 0020 along with this program. If not, see <http://www.gnu.org/licenses/>. 0021 */ 0022 0023 #ifndef DLGMXPCONSOLE_H 0024 #define DLGMXPCONSOLE_H 0025 0026 #include <config-mxp.h> 0027 #include <QDockWidget> 0028 0029 class QTextEdit; 0030 0031 /** 0032 Dialog showing the MXP console. 0033 0034 @author Tomas Mecir 0035 */ 0036 class dlgMXPConsole : public QDockWidget 0037 { 0038 Q_OBJECT 0039 public: 0040 0041 #ifdef HAVE_MXP 0042 0043 /** constructor */ 0044 dlgMXPConsole (QWidget *parent = 0); 0045 /** destructor */ 0046 ~dlgMXPConsole (); 0047 virtual QSize sizeHint() const override; 0048 /** add new line to the dialog */ 0049 void addLine (const QString &line); 0050 protected: 0051 void createDialog (); 0052 QTextEdit *viewer; 0053 0054 #endif //HAVE_MXP 0055 0056 }; 0057 0058 #endif