KVIrc 5.2.6
Developer APIs
CodeTesterWindow.h
Go to the documentation of this file.
1#ifndef _CODETESTER_H_
2#define _CODETESTER_H_
3//=============================================================================
4//
5// File : CodeTesterWindow.h
6// Creation date : Mon Dec 23 2002 20:24:55 CEST by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC client distribution
9// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net)
10//
11// This program is FREE software. You can redistribute it and/or
12// modify it under the terms of the GNU General Public License
13// as published by the Free Software Foundation; either version 2
14// of the License, or (at your option) any later version.
15//
16// This program is distributed in the HOPE that it will be USEFUL,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19// See the GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program. If not, write to the Free Software Foundation,
23// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24//
25//=============================================================================
26
27#include "KviWindow.h"
28#include "KviCString.h"
29
30#include <QLineEdit>
31
32class QPushButton;
33class QLabel;
34class KviScriptEditor;
35
37{
38 Q_OBJECT
39public:
42
43private:
46 QPushButton * m_pExecuteButton;
47 QLabel * m_pModeLabel;
48 QLineEdit * m_pParams;
49
50private slots:
51 void execute();
52
53protected:
54 QPixmap * myIconPtr() override;
55 void fillCaptionBuffers() override;
56 void resizeEvent(QResizeEvent * e) override;
57 void getConfigGroupName(QString & szName) override;
60};
61
62#endif //_CODETESTER_H_
#define KviTalSplitter
Definition KviTalSplitter.h:34
Contains the KviWindow class.
KviScriptEditor * m_pEditor
Definition CodeTesterWindow.h:45
void loadProperties(KviConfigurationFile *) override
Definition CodeTesterWindow.h:59
void resizeEvent(QResizeEvent *e) override
Definition CodeTesterWindow.cpp:102
QPixmap * myIconPtr() override
Definition CodeTesterWindow.cpp:97
void fillCaptionBuffers() override
Definition CodeTesterWindow.cpp:107
QLineEdit * m_pParams
Definition CodeTesterWindow.h:48
QLabel * m_pModeLabel
Definition CodeTesterWindow.h:47
void saveProperties(KviConfigurationFile *) override
Definition CodeTesterWindow.h:58
KviTalSplitter * m_pSplitter
Definition CodeTesterWindow.h:44
CodeTesterWindow()
Definition CodeTesterWindow.cpp:48
void getConfigGroupName(QString &szName) override
Definition CodeTesterWindow.cpp:112
QPushButton * m_pExecuteButton
Definition CodeTesterWindow.h:46
~CodeTesterWindow()
Definition CodeTesterWindow.cpp:82
void execute()
Definition CodeTesterWindow.cpp:88
Definition KviConfigurationFile.h:50
Definition KviScriptEditor.h:45
KviWindow(Type eType, const QString &szName, KviConsoleWindow *pConsole=nullptr)
Constructs the window object.
Definition KviWindow.cpp:106
#define e
Definition detector.cpp:70