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