Krita Source Code Documentation
Loading...
Searching...
No Matches
KisQQuickPopupWidget.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2025 Wolthera van Hovell tot Westerflier <griffinvalley@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
#ifndef KISQUICKPOPUPWIDGET_H
7
#define KISQUICKPOPUPWIDGET_H
8
9
#include <QFrame>
10
#include <QQuickItem>
11
12
#include <kritaqmlwidgets_export.h>
13
21
class
KRITAQMLWIDGETS_EXPORT
KisQQuickPopupWidget
:
public
QFrame
22
{
23
Q_OBJECT
24
public
:
25
KisQQuickPopupWidget
(QWidget *parent =
nullptr
);
26
~KisQQuickPopupWidget
();
27
32
QQuickItem *rootObject()
const
;
33
38
QMargins layoutContentMargins()
const
;
43
void
setLayoutMargins(
const
QMargins margins);
44
Q_SIGNALS:
45
void
signalRootObjectReady
();
46
protected
:
48
void
keyPressEvent(QKeyEvent *event)
override
;
49
50
bool
event(QEvent *e)
override
;
51
private
Q_SLOTS:
52
void
emitRootObjectReady();
53
private
:
54
struct
Private
;
55
QScopedPointer<Private>
d
;
56
};
57
58
#endif
// KISQUICKPOPUPWIDGET_H
KisQQuickPopupWidget
The KisQQuickPopupWidget class.
Definition
KisQQuickPopupWidget.h:22
KisQQuickPopupWidget::signalRootObjectReady
void signalRootObjectReady()
KisQQuickPopupWidget::d
QScopedPointer< Private > d
Definition
KisQQuickPopupWidget.h:55
Private
Definition
SvgTransformParser.cpp:20
qmlmodules
widgets
KisQQuickPopupWidget.h
Generated at
2026-06-01 02:30:02+02:00
from
Krita
branch
master
, commit
a9b6c3f4afae3a0c297c10252e67294f96104a6a