9#include <connectionedit_p.h>
10#include <QtCore/qpointer.h>
11#include <QtCore/qset.h>
15class QDesignerFormWindowInterface;
28 QDesignerFormWindowInterface *
formWindow()
const;
39 Connection *
createConnection(QWidget *source, QWidget *destination)
override;
40 void endConnection(QWidget *target,
const QPoint &pos)
override;
44 QWidget *findBuddy(QLabel *l,
const QWidgetList &existingBuddies)
const;
46 QPointer<QDesignerFormWindowInterface> m_formWindow;
static bool canBeBuddy(QWidget *w, QDesignerFormWindowInterface *form)
static QString buddy(QLabel *label, QDesignerFormEditorInterface *core)
static constexpr auto buddyPropertyC
#define QT_BUDDYEDITOR_EXPORT
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
void deleteSelected() override
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static QUndoCommand * createBuddyCommand(QDesignerFormWindowInterface *fw, QLabel *label, QWidget *buddy)