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
qdesigner_taskmenu_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 for the convenience
10// of Qt Designer. This header
11// file may change from version to version without notice, or even be removed.
12//
13// We mean it.
14//
15
16#ifndef QDESIGNER_TASKMENU_H
17#define QDESIGNER_TASKMENU_H
18
21#include <QtDesigner/taskmenu.h>
22
23#include <QtGui/qwindowdefs.h>
24
25#include <QtCore/qobject.h>
26#include <QtCore/qpointer.h>
27#include <QtCore/qlist.h>
28
30
31class QDesignerFormWindowInterface;
32class QDesignerFormEditorInterface;
33
34namespace qdesigner_internal {
36
38{
41public:
44
45 QWidget *widget() const;
46
48
50
53 const QString &defaultSignal = QString());
54
55protected:
56
59
61
62 /* Retrieve the list of objects the task menu is supposed to act on. Note that a task menu can be invoked for
63 * an unmanaged widget [as of 4.5], in which case it must not use the cursor selection,
64 * but the unmanaged selection of the object inspector. */
67
69
70private slots:
71 void changeObjectName();
72 void changeToolTip();
73 void changeWhatsThis();
74 void changeStyleSheet();
75 void createMenuBar();
77 void createStatusBar();
78 void removeStatusBar();
80 void slotNavigateToSlot();
81 void applySize(QAction *a);
83
84private:
86};
87
89
90} // namespace qdesigner_internal
91
92QT_END_NAMESPACE
93
94#endif // QDESIGNER_TASKMENU_H
virtual bool dynamicPropertiesAllowed() const =0
virtual bool isDynamicProperty(int index) const =0
virtual int addDynamicProperty(const QString &propertyName, const QVariant &value)=0
virtual bool canAddDynamicProperty(const QString &propertyName) const =0
virtual bool removeDynamicProperty(int index)=0
virtual ~QDesignerDynamicPropertySheetExtension()=default
QDesignerPropertySheetFactory(QExtensionManager *parent=nullptr)
static void registerExtension(QExtensionManager *mgr)
friend class QWidget
Definition qpainter.h:432
FormEditorOptionsPage(QDesignerFormEditorInterface *core)
QWidget * createPage(QWidget *parent) override
FormEditor(const QStringList &pluginPaths, QObject *parent=nullptr)
Adds header fake properties to QTreeView and QTableView objects.
void setProperty(int index, const QVariant &value) override
QVariant property(int index) const override
void setChanged(int index, bool changed) override
QHash< QString, QString > propertyNameMap() const
Returns the mapping of fake property names to real property names.
void setProperty(int index, const QVariant &value) override
void setChanged(int index, bool changed) override
QVariant property(int index) const override
QString propertyGroup(int index) const override
bool isVisible(int index) const override
void setProperty(int index, const QVariant &value) override
void setProperty(int index, const QVariant &value) override
QWidget * widget(int index) const override
void insertWidget(int index, QWidget *widget) override
void addWidget(QWidget *widget) override
static void positionNewMdiChild(const QWidget *area, QWidget *mdiChild)
QWidget * widget(int index) const override
void insertWidget(int index, QWidget *widget) override
void setProperty(int index, const QVariant &value) override
static bool checkProperty(const QString &propertyName)
QVariant property(int index) const override
void addWidget(QWidget *widget) override
QWidget * widget(int index) const override
void insertWidget(int index, QWidget *widget) override
bool isVisible(int index) const override
void setProperty(int index, const QVariant &value) override
QWidget * createPage(QWidget *parent) override
static QString chooseTemplatePath(QDesignerFormEditorInterface *core, QWidget *parent)
#define QT_FORMEDITOR_EXPORT
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
QDesignerPropertySheetFactory< QWizardPage, QWizardPagePropertySheet > QWizardPagePropertySheetFactory
#define QDESIGNER_SHARED_EXPORT