Krita Source Code Documentation
Loading...
Searching...
No Matches
KoDocumentInfoDlg.h
Go to the documentation of this file.
1
/*
2
This file is part of the KDE project
3
4
SPDX-FileCopyrightText: 2000 Simon Hausmann <hausmann@kde.org>
5
SPDX-FileCopyrightText: 2006 Martin Pfeiffer <hubipete@gmx.net>
6
7
SPDX-License-Identifier: LGPL-2.0-or-later
8
*/
9
10
#ifndef __koDocumentInfoDlg_h__
11
#define __koDocumentInfoDlg_h__
12
13
#include <kpagedialog.h>
14
15
class
KoDocumentInfo
;
16
class
KPageWidgetItem;
17
class
KoPageWidgetItem
;
18
19
#include "kritaui_export.h"
20
39
class
KRITAUI_EXPORT
KoDocumentInfoDlg
:
public
KPageDialog
40
{
41
Q_OBJECT
42
43
public
:
49
KoDocumentInfoDlg
(QWidget *parent,
KoDocumentInfo
* docInfo);
50
52
~KoDocumentInfoDlg
()
override
;
53
54
QList<KPageWidgetItem*>
pages()
const
;
55
57
bool
isDocumentSaved();
58
60
void
setReadOnly(
bool
ro);
61
62
void
addPageItem(
KoPageWidgetItem
*item);
63
64
public
Q_SLOTS:
// QDialog API
65
void
accept()
override
;
66
67
protected
:
// QWidget API
68
void
hideEvent(QHideEvent * event)
override
;
69
70
private
Q_SLOTS:
72
void
slotResetMetaData();
73
74
Q_SIGNALS:
75
void
saveRequested
();
76
77
private
:
79
void
initAboutTab();
81
void
initAuthorTab();
83
void
saveAboutData();
84
85
void
updateEditingTime();
86
87
class
KoDocumentInfoDlgPrivate
;
88
KoDocumentInfoDlgPrivate
*
const
d
;
89
};
90
91
#endif
KoDocumentInfoDlg::KoDocumentInfoDlgPrivate
Definition
KoDocumentInfoDlg.cpp:53
KoDocumentInfoDlg
The dialog that shows information about the document.
Definition
KoDocumentInfoDlg.h:40
KoDocumentInfoDlg::saveRequested
void saveRequested()
KoDocumentInfoDlg::d
KoDocumentInfoDlgPrivate *const d
Definition
KoDocumentInfoDlg.h:88
KoDocumentInfo
The class containing all meta information about a document.
Definition
KoDocumentInfo.h:37
KoPageWidgetItem
Definition
KoPageWidgetItem.h:19
QList
Definition
KisQStringListFwd.h:16
libs
ui
KoDocumentInfoDlg.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52