5#ifndef WIDGETSELECTION_H
6#define WIDGETSELECTION_H
9#include <invisible_widget_p.h>
11#include <QtCore/qhash.h>
12#include <QtCore/qpointer.h>
16class QDesignerFormEditorInterface;
50 QDesignerFormEditorInterface *
core()
const;
59 void changeGridLayoutItemSpan();
60 void changeFormLayoutItemSpan();
61 void trySetGeometry(
QWidget *w,
int x,
int y,
int width,
int height);
62 void tryResize(
QWidget *w,
int width,
int height);
67 QPoint m_origPressPos;
70 QRect m_geom, m_origGeom;
91 QDesignerFormEditorInterface *
core()
const;
93 bool eventFilter(QObject *object, QEvent *event)
override;
100 QPointer<QWidget> m_widget;
QDesignerResource(FormWindow *fw)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static unsigned mouseFlags(Qt::KeyboardModifiers mod)
static void insertNames(const QDesignerMetaDataBaseInterface *metaDataBase, Iterator it, const Iterator &end, QObject *excludedObject, QSet< QString > &nameSet)
static void clearObjectInspectorSelection(const QDesignerFormEditorInterface *core)
static bool canDragWidgetInLayout(const QDesignerFormEditorInterface *core, QWidget *w)
@ ToggleSelectionModifier
static bool isDescendant(const QWidget *parent, const QWidget *child)
static QSet< QString > languageKeywords()
static QWidget * findSelectedParent(QDesignerFormWindowInterface *fw, const QWidget *w, bool selected)
#define QDESIGNER_SHARED_EXPORT
QRect apply(QRect rect) const