64 void slotIncludeFileChanged(
const QString &);
72 QString m_promotedHeaderSuffix;
73 bool m_promotedHeaderLowerCase =
false;
75 QComboBox *m_baseClassCombo;
76 QLineEdit *m_classNameEdit;
77 QLineEdit *m_includeFileEdit;
78 QCheckBox *m_globalIncludeCheckBox;
79 QPushButton *m_addButton;
91 const QString &promotableWidgetClassName = QString(),
92 QString *promoteTo =
nullptr);
100 void slotAcceptPromoteTo();
101 void slotSelectionChanged(
const QItemSelection &,
const QItemSelection &);
106 void slotUpdateFromWidgetDatabase();
107 void slotTreeViewContextMenu(
const QPoint &);
108 void slotEditSignalsSlots();
111 QDialogButtonBox *createButtonBox();
112 void delayedUpdateFromWidgetDatabase();
114 enum { Referenced = 1, CanPromote = 2 };
116 void displayError(
const QString &message);
119 const QString m_promotableWidgetClassName;
120 QDesignerFormEditorInterface *m_core;
121 QString *m_promoteTo;
122 QDesignerPromotionInterface *m_promotion;
124 QTreeView *m_treeView;
125 QDialogButtonBox *m_buttonBox;
126 QPushButton *m_removeButton;
127 QString m_lastSelectedBaseClass;