KVIrc 5.2.6
Developer APIs
SaveThemeDialog.h
Go to the documentation of this file.
1#ifndef _SAVETHEMEDIALOG_H_
2#define _SAVETHEMEDIALOG_H_
3//=============================================================================
4//
5// File : SaveThemeDialog.h
6// Creation date : Wed 03 Jan 2007 03:01:34 by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC Client distribution
9// Copyright (C) 2007-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 "kvi_settings.h"
28#include "KviPointerList.h"
29#include "KviTheme.h"
30#include "KviTalWizard.h"
31
32#include <QDialog>
33
34class QLineEdit;
35class QPushButton;
36class QLabel;
37class QTextEdit;
38class QCheckBox;
39class KviFileSelector;
40
42{
43 Q_OBJECT
44public:
45 SaveThemeDialog(QWidget * pParent);
47
48protected:
51 QLabel * m_pImageLabel;
52 QLineEdit * m_pThemeNameEdit;
55 QLineEdit * m_pAuthorNameEdit;
58
59protected:
60 void accept() override;
61 bool saveTheme();
62protected slots:
63 void makeScreenshot();
64 void imageSelectionChanged(const QString & szImagePath);
65};
66
67#endif
C++ Template based double linked pointer list class.
Definition KviSelectors.h:215
Provides a wizard-style dialog with steps.
Definition KviTalWizard.h:42
Definition SaveThemeDialog.h:42
SaveThemeDialog(QWidget *pParent)
Definition SaveThemeDialog.cpp:59
void accept() override
Definition SaveThemeDialog.cpp:237
void imageSelectionChanged(const QString &szImagePath)
Definition SaveThemeDialog.cpp:213
bool saveTheme()
Definition SaveThemeDialog.cpp:257
QLineEdit * m_pAuthorNameEdit
Definition SaveThemeDialog.h:55
QLineEdit * m_pThemeVersionEdit
Definition SaveThemeDialog.h:54
void makeScreenshot()
Definition SaveThemeDialog.cpp:244
QWidget * m_pImageSelectionPage
Definition SaveThemeDialog.h:56
QLabel * m_pImageLabel
Definition SaveThemeDialog.h:51
virtual ~SaveThemeDialog()
QCheckBox * m_pSaveIconsCheckBox
Definition SaveThemeDialog.h:57
QString m_szScreenshotPath
Definition SaveThemeDialog.h:49
QTextEdit * m_pThemeDescriptionEdit
Definition SaveThemeDialog.h:53
QLineEdit * m_pThemeNameEdit
Definition SaveThemeDialog.h:52
KviFileSelector * m_pImageSelector
Definition SaveThemeDialog.h:50
This file contains compile time settings.