15#ifndef SELECTSIGNALDIALOG_H
16#define SELECTSIGNALDIALOG_H
18#include <QtWidgets/qdialog.h>
19#include <QtCore/qstringlist.h>
23class QDesignerFormEditorInterface;
24class QStandardItemModel;
26namespace Ui {
class SelectSignalDialog; }
51 void populate(QDesignerFormEditorInterface *core, QObject *object,
52 const QString &defaultSignal);
56 void activated(
const QModelIndex &);
59 Method methodFromIndex(
const QModelIndex &)
const;
60 void populateModel(QDesignerFormEditorInterface *core, QObject *object);
63 QPushButton *m_okButton;
64 QStandardItemModel *m_model;
71Q_DECLARE_METATYPE(qdesigner_internal::SelectSignalDialog::Method)
SelectSignalDialog(QWidget *parent=nullptr)
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)