Krita Source Code Documentation
Loading...
Searching...
No Matches
KisTemplateCreateDia.h
Go to the documentation of this file.
1
/*
2
This file is part of the KDE project
3
SPDX-FileCopyrightText: 1998, 1999 Reginald Stadlbauer <reggie@kde.org>
4
SPDX-FileCopyrightText: 2000 Werner Trobin <trobin@kde.org>
5
6
SPDX-License-Identifier: LGPL-2.0-or-later
7
*/
8
9
#ifndef KIS_TEMPLATE_CREATE_DIA_H
10
#define KIS_TEMPLATE_CREATE_DIA_H
11
12
#include <
KoDialog.h
>
13
#include "kritaui_export.h"
14
15
class
QString;
16
class
QPixmap;
17
class
KisDocument
;
18
class
KisTemplateCreateDiaPrivate
;
19
20
/****************************************************************************
21
*
22
* Class: koTemplateCreateDia
23
*
24
****************************************************************************/
25
26
class
KRITAUI_EXPORT
KisTemplateCreateDia
:
public
KoDialog
27
{
28
Q_OBJECT
29
30
private
:
31
KisTemplateCreateDia
(
const
QString &templatesResourcePath,
32
const
QString &filePath,
const
QPixmap &thumbnail, QWidget *parent=0 );
33
~KisTemplateCreateDia
()
override
;
34
35
public
:
36
static
void
createTemplate(
const
QString &templatesResourcePath,
const
char
*suffix,
37
KisDocument
*document, QWidget *parent = 0);
38
39
private
Q_SLOTS:
40
void
slotOk();
41
42
void
slotDefault();
43
void
slotCustom();
44
void
slotSelect();
45
void
slotNameChanged(
const
QString &name);
46
47
void
slotAddGroup();
48
void
slotRemove();
49
void
slotSelectionChanged();
50
private
:
51
void
updatePixmap();
52
void
fillGroupTree();
53
54
private
:
55
KisTemplateCreateDiaPrivate
*
const
d
;
56
};
57
58
#endif
KoDialog.h
KisDocument
Definition
KisDocument.cpp:295
KisTemplateCreateDiaPrivate
Definition
KisTemplateCreateDia.cpp:47
KisTemplateCreateDia
Definition
KisTemplateCreateDia.h:27
KisTemplateCreateDia::d
KisTemplateCreateDiaPrivate *const d
Definition
KisTemplateCreateDia.h:55
KoDialog
A dialog base class with standard buttons and predefined layouts.
Definition
KoDialog.h:116
libs
ui
KisTemplateCreateDia.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52