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
buddyeditor_global.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 BUDDYEDITOR_GLOBAL_H
5#define BUDDYEDITOR_GLOBAL_H
6
7#include <QtCore/qglobal.h>
8
9#ifdef Q_OS_WIN
10#ifdef QT_BUDDYEDITOR_LIBRARY
11# define QT_BUDDYEDITOR_EXPORT
12#else
13# define QT_BUDDYEDITOR_EXPORT
14#endif
15#else
16#define QT_BUDDYEDITOR_EXPORT
17#endif
18
19#endif // BUDDYEDITOR_GLOBAL_H
static bool canBeBuddy(QWidget *w, QDesignerFormWindowInterface *form)
static QString buddy(QLabel *label, QDesignerFormEditorInterface *core)
static constexpr auto buddyPropertyC
#define QT_BUDDYEDITOR_EXPORT
friend class QWidget
Definition qpainter.h:421
void setBackground(QWidget *background) override
QDesignerFormWindowInterface * formWindow() const
void endConnection(QWidget *target, const QPoint &pos) override
void widgetRemoved(QWidget *w) override
QWidget * widgetAt(const QPoint &pos) const override
Connection * createConnection(QWidget *source, QWidget *destination) override
void createContextMenu(QMenu &menu) override
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static QUndoCommand * createBuddyCommand(QDesignerFormWindowInterface *fw, QLabel *label, QWidget *buddy)