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
abstractresourcebrowser.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#ifndef ABSTRACTRESOURCEBROWSER_H
5#define ABSTRACTRESOURCEBROWSER_H
6
7#include <QtDesigner/sdk_global.h>
8
9#include <QtWidgets/qwidget.h>
10
11QT_BEGIN_NAMESPACE
12
13class QWidget; // FIXME: fool syncqt
14
15class QDESIGNER_SDK_EXPORT QDesignerResourceBrowserInterface : public QWidget
16{
17 Q_OBJECT
18public:
19 explicit QDesignerResourceBrowserInterface(QWidget *parent = nullptr);
20 virtual ~QDesignerResourceBrowserInterface();
21
22 virtual void setCurrentPath(const QString &filePath) = 0;
23 virtual QString currentPath() const = 0;
24
25Q_SIGNALS:
26 void currentPathChanged(const QString &filePath);
27 void pathActivated(const QString &filePath);
28};
29
30QT_END_NAMESPACE
31
32#endif // ABSTRACTFORMEDITOR_H
QDesignerIntegrationInterfacePrivate(QDesignerFormEditorInterface *core)
QDesignerFormEditorInterface * m_core
The QDesignerIntegrationInterface glues together parts of \QD and allows for overwriting functionalit...
The QDesignerIntegration class is \QD's implementation of QDesignerIntegrationInterface.
virtual QString propertyGroup(int index) const =0
virtual int indexOf(const QString &name) const =0
The QDesignerWidgetBoxInterface class allows you to control the contents of \QD's widget box.
friend class QWidget
Definition qpainter.h:421
void getSelection(qdesigner_internal::Selection &s)
static void initializePlugins(QDesignerFormEditorInterface *formEditor)
QDesignerIntegrationInterface::Feature m_features
void setupFormWindow(QDesignerFormWindowInterface *formWindow)
void addDynamicProperty(const QString &name, const QVariant &value)
void updateProperty(const QString &name, const QVariant &value, bool enableSubPropertyHandling)
QDesignerIntegrationInterface::ResourceFileWatcherBehaviour m_resourceFileWatcherBehaviour
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static QString fixHelpClassName(const QString &className)
static QString classForProperty(QDesignerFormEditorInterface *core, QObject *object, const QString &property)