Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
20
21#include <QtWidgets/qdialog.h>
22#include <QtCore/qmap.h>
23
25
26class QDesignerFormEditorInterface;
27
28namespace qdesigner_internal {
29
30namespace Ui {
31 class OrderDialog;
32}
33
35{
37public:
40
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
54 Format format() const { return m_format; }
55
56private slots:
57 void upButtonClicked();
58 void downButtonClicked();
61 void slotReset();
62
63private:
64 void buildList();
65 void enableButtons(int r);
66
67 QMap<int, QWidget *> m_orderMap;
70};
71
72} // namespace qdesigner_internal
73
74QT_END_NAMESPACE
75
76#endif // ORDERDIALOG_P_H
The QDesignerMetaDataBaseItemInterface class provides an interface to individual items in \QD's meta ...
friend class QWidget
Definition qpainter.h:432
void contextMenuEvent(QContextMenuEvent *e) override
This event handler, for event event, can be reimplemented in a subclass to receive widget context men...
void mouseDoubleClickEvent(QMouseEvent *e) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse double click...
QDesignerFormWindowInterface * formWindow() const
void mousePressEvent(QMouseEvent *e) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse press events...
void showEvent(QShowEvent *e) override
This event handler can be reimplemented in a subclass to receive widget show events which are passed ...
void paintEvent(QPaintEvent *e) override
This event handler can be reimplemented in a subclass to receive paint events passed in event.
void resizeEvent(QResizeEvent *e) override
This event handler can be reimplemented in a subclass to receive widget resize events which are passe...
void mouseMoveEvent(QMouseEvent *e) override
This event handler, for event event, can be reimplemented in a subclass to receive mouse move events ...
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static bool isWidgetVisible(QWidget *widget)
#define QDESIGNER_SHARED_EXPORT
static QRect fixRect(QRect r)
#define QT_TABORDEREDITOR_EXPORT