16#ifndef SELECTSIGNALDIALOG_H
17#define SELECTSIGNALDIALOG_H
19#include <QtWidgets/qdialog.h>
20#include <QtCore/qstringlist.h>
24class QDesignerFormEditorInterface;
25class QStandardItemModel;
27namespace Ui {
class SelectSignalDialog; }
52 void populate(QDesignerFormEditorInterface *core, QObject *object,
53 const QString &defaultSignal);
57 void activated(
const QModelIndex &);
60 Method methodFromIndex(
const QModelIndex &)
const;
61 void populateModel(QDesignerFormEditorInterface *core, QObject *object);
64 QPushButton *m_okButton;
65 QStandardItemModel *m_model;
72Q_DECLARE_METATYPE(qdesigner_internal::SelectSignalDialog::Method)
SelectSignalDialog(QWidget *parent=nullptr)
~SelectSignalDialog() override
Method selectedMethod() const
void populate(QDesignerFormEditorInterface *core, QObject *object, const QString &defaultSignal)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static void createSizeCommand(QDesignerFormWindowInterface *fw, QWidget *w, int flags)
static void getApplicableObjects(const QDesignerFormWindowInterface *fw, QWidget *current, QDesignerTaskMenu::PropertyMode pm, Container *c)