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
orderdialog_p.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
//
6
// W A R N I N G
7
// -------------
8
//
9
// This file is not part of the Qt API. It exists purely as an
10
// implementation detail. This header file may change from version to
11
// version without notice, or even be removed.
12
//
13
// We mean it.
14
//
15
16
#
ifndef
ORDERDIALOG_P_H
17
#
define
ORDERDIALOG_P_H
18
19
#
include
"shared_global_p.h"
20
21
#
include
<
QtWidgets
/
qdialog
.
h
>
22
#
include
<
QtCore
/
qmap
.
h
>
23
24
QT_BEGIN_NAMESPACE
25
26
class
QDesignerFormEditorInterface;
27
28
namespace
qdesigner_internal
{
29
30
namespace
Ui
{
31
class
OrderDialog;
32
}
33
34
class
QDESIGNER_SHARED_EXPORT
OrderDialog
:
public
QDialog
35
{
36
Q_OBJECT
37
public
:
38
OrderDialog
(
QWidget
*
parent
);
39
~
OrderDialog
()
override
;
40
41
static
QWidgetList
pagesOfContainer
(
const
QDesignerFormEditorInterface
*
core
,
QWidget
*
container
);
42
43
void
setPageList
(
const
QWidgetList
&
pages
);
44
QWidgetList
pageList
()
const
;
45
46
void
setDescription
(
const
QString
&
d
);
47
48
enum
Format
{
// Display format
49
PageOrderFormat
,
// Container pages, ranging 0..[n-1]
50
TabOrderFormat
// List of widgets, ranging 1..1
51
};
52
53
void
setFormat
(
Format
f
) {
m_format
=
f
; }
54
Format
format
()
const
{
return
m_format
; }
55
56
private
slots
:
57
void
upButtonClicked
();
58
void
downButtonClicked
();
59
void
pageListCurrentRowChanged
(
int
row
);
60
void
slotEnableButtonsAfterDnD
();
61
void
slotReset
();
62
63
private
:
64
void
buildList
();
65
void
enableButtons
(
int
r
);
66
67
QMap
<
int
,
QWidget
*>
m_orderMap
;
68
Ui
::
OrderDialog
*
m_ui
;
69
Format
m_format
;
70
};
71
72
}
// namespace qdesigner_internal
73
74
QT_END_NAMESPACE
75
76
#
endif
// ORDERDIALOG_P_H
QDesignerMetaDataBaseItemInterface
The QDesignerMetaDataBaseItemInterface class provides an interface to individual items in \QD's meta ...
Definition
abstractmetadatabase.h:22
QDesignerPropertySheetExtension
Definition
propertysheet.h:15
QPainter::QWidget
friend class QWidget
Definition
qpainter.h:432
qdesigner_internal::OrderDialog
Definition
orderdialog_p.h:35
qdesigner_internal::TabOrderEditor
Definition
tabordereditor.h:24
qdesigner_internal::TabOrderEditor::widgetRemoved
void widgetRemoved(QWidget *)
Definition
tabordereditor.cpp:87
qdesigner_internal::TabOrderEditor::initTabOrder
void initTabOrder()
Definition
tabordereditor.cpp:182
qdesigner_internal::TabOrderEditor::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *e) override
This event handler, for event event, can be reimplemented in a subclass to receive widget context men...
Definition
tabordereditor.cpp:325
qdesigner_internal::TabOrderEditor::mouseDoubleClickEvent
void mouseDoubleClickEvent(QMouseEvent *e) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse double click...
Definition
tabordereditor.cpp:353
qdesigner_internal::TabOrderEditor::formWindow
QDesignerFormWindowInterface * formWindow() const
Definition
tabordereditor.cpp:61
qdesigner_internal::TabOrderEditor::mousePressEvent
void mousePressEvent(QMouseEvent *e) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse press events...
Definition
tabordereditor.cpp:265
qdesigner_internal::TabOrderEditor::showEvent
void showEvent(QShowEvent *e) override
This event handler can be reimplemented in a subclass to receive widget show events which are passed ...
Definition
tabordereditor.cpp:92
qdesigner_internal::TabOrderEditor::paintEvent
void paintEvent(QPaintEvent *e) override
This event handler can be reimplemented in a subclass to receive paint events passed in event.
Definition
tabordereditor.cpp:127
qdesigner_internal::TabOrderEditor::resizeEvent
void resizeEvent(QResizeEvent *e) override
This event handler can be reimplemented in a subclass to receive widget resize events which are passe...
Definition
tabordereditor.cpp:367
qdesigner_internal::TabOrderEditor::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *e) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse move events ...
Definition
tabordereditor.cpp:239
qdesigner_internal::TabOrderEditor::updateBackground
void updateBackground()
Definition
tabordereditor.cpp:76
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qdesigner_internal::Ui
Definition
templateoptionspage.h:21
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:67
qdesigner_internal::isWidgetVisible
static bool isWidgetVisible(QWidget *widget)
Definition
tabordereditor.cpp:115
QDESIGNER_SHARED_EXPORT
#define QDESIGNER_SHARED_EXPORT
Definition
shared_global_p.h:33
fixRect
static QRect fixRect(QRect r)
Definition
tabordereditor.cpp:35
QT_TABORDEREDITOR_EXPORT
#define QT_TABORDEREDITOR_EXPORT
Definition
tabordereditor_global.h:17
qttools
src
designer
src
lib
shared
orderdialog_p.h
Generated on
for Qt by
1.18.0