Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
abstractformwindowtool.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
ABSTRACTFORMWINDOWTOOL_H
6
#
define
ABSTRACTFORMWINDOWTOOL_H
7
8
#
include
<
QtDesigner
/
sdk_global
.
h
>
9
10
#
include
<
QtCore
/
qobject
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QDesignerFormEditorInterface;
15
class
QDesignerFormWindowInterface;
16
class
QWidget
;
17
class
QAction;
18
class
DomUI;
19
20
class
QDESIGNER_SDK_EXPORT
QDesignerFormWindowToolInterface
:
public
QObject
21
{
22
Q_OBJECT
23
public
:
24
explicit
QDesignerFormWindowToolInterface(QObject *parent =
nullptr
);
25
~QDesignerFormWindowToolInterface() override;
26
27
virtual
QDesignerFormEditorInterface *core()
const
= 0;
28
virtual
QDesignerFormWindowInterface *formWindow()
const
= 0;
29
virtual
QWidget *editor()
const
= 0;
30
31
virtual
QAction *action()
const
= 0;
32
33
virtual
void
activated() = 0;
34
virtual
void
deactivated() = 0;
35
36
virtual
void
saveToDom(DomUI*, QWidget*) {}
37
virtual
void
loadFromDom(DomUI*, QWidget*) {}
38
39
virtual
bool
handleEvent(QWidget *widget, QWidget *managedWidget, QEvent *event) = 0;
40
};
41
42
QT_END_NAMESPACE
43
44
#
endif
// ABSTRACTFORMWINDOWTOOL_H
QDesignerFormWindowToolInterface
The QDesignerFormWindowToolInterface class provides an interface that enables tools to be used on ite...
Definition
abstractformwindowtool.h:21
QPainter::QWidget
friend class QWidget
Definition
qpainter.h:432
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qttools
src
designer
src
lib
sdk
abstractformwindowtool.h
Generated on
for Qt by
1.18.0