5#ifndef TOOL_WIDGETEDITOR_H
6#define TOOL_WIDGETEDITOR_H
8#include <QtDesigner/abstractformwindowtool.h>
10#include <QtGui/qevent.h>
11#include <QtCore/qpointer.h>
21class QDesignerMimeData;
54 bool restoreDropHighlighting();
55 void detectDockDrag(
const QDesignerMimeData *mimeData);
60 bool mainWindowSeparatorEvent(
QWidget *widget, QEvent *event);
61 bool isPassiveInteractor(
QWidget *widget, QEvent *event);
62 QPointer<QMainWindow> m_separator_drag_mw;
63 QPointer<QWidget> m_lastDropTarget;
64 bool m_specialDockDrag;
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