47 m_editor =
new BuddyEditor(formWindow(),
nullptr);
48 connect(formWindow(), &QDesignerFormWindowInterface::mainContainerChanged,
49 m_editor.data(), &BuddyEditor::setBackground);
50 connect(formWindow(), &QDesignerFormWindowInterface::changed,
51 m_editor.data(), &BuddyEditor::updateBackground);