Krita Source Code Documentation
Loading...
Searching...
No Matches
DbExplorer.cpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2018 Boudewijn Rempt <boud@valdyas.org>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#include "
DbExplorer.h
"
8
9
#include <cmath>
10
11
#include <klocalizedstring.h>
12
#include <
kis_debug.h
>
13
#include <kpluginfactory.h>
14
#include <
kis_icon.h
>
15
#include <
KisViewManager.h
>
16
#include <
kis_action.h
>
17
#include "
DlgDbExplorer.h
"
18
19
K_PLUGIN_FACTORY_WITH_JSON
(DbExplorerFactory,
"kritadbexplorer.json"
, registerPlugin<DbExplorer>();)
20
21
DbExplorer::DbExplorer
(QObject *parent,
const
QVariantList &)
22
:
KisActionPlugin
(parent)
23
{
24
KisAction
*action = createAction(
"dbexplorer"
);
25
connect
(action, SIGNAL(triggered()),
this
, SLOT(slotDbExplorer()));
26
}
27
28
29
DbExplorer::~DbExplorer
()
30
{
31
}
32
33
void
DbExplorer::slotDbExplorer
()
34
{
35
DlgDbExplorer
dlgDbExplorer(
viewManager
()->mainWindowAsQWidget());
36
dlgDbExplorer.exec();
37
}
38
39
#include "DbExplorer.moc"
DbExplorer.h
DlgDbExplorer.h
KisViewManager.h
connect
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
DbExplorer::DbExplorer
DbExplorer(QObject *parent, const QVariantList &)
Definition
DbExplorer.cpp:21
DbExplorer::~DbExplorer
~DbExplorer() override
Definition
DbExplorer.cpp:29
DbExplorer::slotDbExplorer
void slotDbExplorer()
Definition
DbExplorer.cpp:33
DlgDbExplorer
Definition
DlgDbExplorer.h:32
KisActionPlugin
Definition
KisActionPlugin.h:24
KisActionPlugin::viewManager
QPointer< KisViewManager > viewManager() const
Definition
KisActionPlugin.cpp:53
KisAction
Definition
kis_action.cpp:12
kis_action.h
K_PLUGIN_FACTORY_WITH_JSON
K_PLUGIN_FACTORY_WITH_JSON(KritaASCCDLFactory, "kritaasccdl.json", registerPlugin< KritaASCCDL >();) KritaASCCDL
Definition
kis_asccdl_filter.cpp:16
kis_debug.h
kis_icon.h
plugins
extensions
dbexplorer
DbExplorer.cpp
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52