7#include <QtDesigner/abstractformwindow.h>
9#include <QtGui/qaction.h>
11#include <QtCore/qcoreevent.h>
18 : QDesignerFormWindowToolInterface(parent),
19 m_formWindow(formWindow),
20 m_action(
new QAction(tr(
"Edit Tab Order"),
this))
28 return m_formWindow->core();
39 Q_UNUSED(managedWidget);
41 return event->type() == QEvent::KeyPress || event->type() == QEvent::KeyRelease;
48 m_editor =
new TabOrderEditor(formWindow(),
nullptr);
49 connect(formWindow(), &QDesignerFormWindowInterface::mainContainerChanged,
50 m_editor.data(), &TabOrderEditor::setBackground);
58 connect(formWindow(), &QDesignerFormWindowInterface::changed,
59 m_editor.data(), &TabOrderEditor::updateBackground);
64 disconnect(formWindow(), &QDesignerFormWindowInterface::changed,
65 m_editor.data(), &TabOrderEditor::updateBackground);
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.