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
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef ORDERDIALOG_P_H
16#define ORDERDIALOG_P_H
17
19
20#include <QtWidgets/qdialog.h>
21#include <QtCore/qmap.h>
22
24
25class QDesignerFormEditorInterface;
26
27namespace qdesigner_internal {
28
29namespace Ui {
30 class OrderDialog;
31}
32
34{
36public:
39
41
42 void setPageList(const QWidgetList &pages);
43 QWidgetList pageList() const;
44
45 void setDescription(const QString &d);
46
47 enum Format { // Display format
48 PageOrderFormat, // Container pages, ranging 0..[n-1]
49 TabOrderFormat // List of widgets, ranging 1..1
50 };
51
53 Format format() const { return m_format; }
54
55private slots:
56 void upButtonClicked();
57 void downButtonClicked();
60 void slotReset();
61
62private:
63 void buildList();
64 void enableButtons(int r);
65
66 QMap<int, QWidget *> m_orderMap;
69};
70
71} // namespace qdesigner_internal
72
73QT_END_NAMESPACE
74
75#endif // ORDERDIALOG_P_H
The QDesignerMetaDataBaseItemInterface class provides an interface to individual items in \QD's meta ...
friend class QWidget
Definition qpainter.h:421
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