KVIrc
5.2.6
Developer APIs
src
modules
theme
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
34
class
QLineEdit;
35
class
QPushButton;
36
class
QLabel;
37
class
QTextEdit;
38
class
QCheckBox;
39
class
KviFileSelector
;
40
41
class
SaveThemeDialog
:
public
KviTalWizard
42
{
43
Q_OBJECT
44
public
:
45
SaveThemeDialog
(QWidget * pParent);
46
virtual
~SaveThemeDialog
();
47
48
protected
:
49
QString
m_szScreenshotPath
;
50
KviFileSelector
*
m_pImageSelector
;
51
QLabel *
m_pImageLabel
;
52
QLineEdit *
m_pThemeNameEdit
;
53
QTextEdit *
m_pThemeDescriptionEdit
;
54
QLineEdit *
m_pThemeVersionEdit
;
55
QLineEdit *
m_pAuthorNameEdit
;
56
QWidget *
m_pImageSelectionPage
;
57
QCheckBox *
m_pSaveIconsCheckBox
;
58
59
protected
:
60
void
accept
()
override
;
61
bool
saveTheme
();
62
protected
slots:
63
void
makeScreenshot
();
64
void
imageSelectionChanged
(
const
QString & szImagePath);
65
};
66
67
#endif
KviPointerList.h
C++ Template based double linked pointer list class.
KviTalWizard.h
KviTheme.h
KviFileSelector
Definition
KviSelectors.h:215
KviTalWizard::KviTalWizard
KviTalWizard(QWidget *pParent)
Definition
KviTalWizard.cpp:154
SaveThemeDialog::SaveThemeDialog
SaveThemeDialog(QWidget *pParent)
Definition
SaveThemeDialog.cpp:59
SaveThemeDialog::accept
void accept() override
Definition
SaveThemeDialog.cpp:237
SaveThemeDialog::imageSelectionChanged
void imageSelectionChanged(const QString &szImagePath)
Definition
SaveThemeDialog.cpp:213
SaveThemeDialog::saveTheme
bool saveTheme()
Definition
SaveThemeDialog.cpp:257
SaveThemeDialog::m_pAuthorNameEdit
QLineEdit * m_pAuthorNameEdit
Definition
SaveThemeDialog.h:55
SaveThemeDialog::m_pThemeVersionEdit
QLineEdit * m_pThemeVersionEdit
Definition
SaveThemeDialog.h:54
SaveThemeDialog::makeScreenshot
void makeScreenshot()
Definition
SaveThemeDialog.cpp:244
SaveThemeDialog::m_pImageSelectionPage
QWidget * m_pImageSelectionPage
Definition
SaveThemeDialog.h:56
SaveThemeDialog::m_pImageLabel
QLabel * m_pImageLabel
Definition
SaveThemeDialog.h:51
SaveThemeDialog::~SaveThemeDialog
virtual ~SaveThemeDialog()
SaveThemeDialog::m_pSaveIconsCheckBox
QCheckBox * m_pSaveIconsCheckBox
Definition
SaveThemeDialog.h:57
SaveThemeDialog::m_szScreenshotPath
QString m_szScreenshotPath
Definition
SaveThemeDialog.h:49
SaveThemeDialog::m_pThemeDescriptionEdit
QTextEdit * m_pThemeDescriptionEdit
Definition
SaveThemeDialog.h:53
SaveThemeDialog::m_pThemeNameEdit
QLineEdit * m_pThemeNameEdit
Definition
SaveThemeDialog.h:52
SaveThemeDialog::m_pImageSelector
KviFileSelector * m_pImageSelector
Definition
SaveThemeDialog.h:50
kvi_settings.h
This file contains compile time settings.
Generated on Mon May 5 2025 09:18:55 for KVIrc by
1.13.2