15#ifndef _SIGNALSLOTDIALOG_H
16#define _SIGNALSLOTDIALOG_H
19#include <QtCore/qstringlist.h>
20#include <QtWidgets/qdialog.h>
21#include <QtGui/qstandarditemmodel.h>
25class QDesignerFormEditorInterface;
26class QDesignerFormWindowInterface;
27class QDesignerDialogGuiInterface;
28class QDesignerMemberSheet;
34 class SignalSlotDialogClass;
53 bool setData (
const QModelIndex &index,
const QVariant &value,
int role =
Qt::
EditRole)
override;
69 int count(
const QString &signature)
const;
77 void slotSelectionChanged(
const QItemSelection &,
const QItemSelection &);
82 const QString m_newPrefix;
84 QListView *m_listView;
85 QToolButton *m_removeButton;
bool showAllSignalsSlots() const
void setShowAllSignalsSlots(bool showIt)
void setSignalSlot(const QString &signal, const QString &slot)
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
\reimp
void setData(const SignalSlotDialogData &d)
int count(const QString &signature) const
QStringList fakeMethods() const
static QString widgetLabel(QDesignerFormEditorInterface *core, QWidget *widget)
static QString realClassName(QDesignerFormEditorInterface *core, QWidget *widget)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
bool signalMatchesSlot(QDesignerFormEditorInterface *core, const QString &signal, const QString &slot)
bool memberFunctionListContains(QDesignerFormEditorInterface *core, QObject *object, MemberType type, const QString &signature)
ClassesMemberFunctions reverseClassesMemberFunctions(const QString &obj_name, MemberType member_type, const QString &peer, QDesignerFormWindowInterface *form)
QMap< QString, QString > getMatchingSlots(QDesignerFormEditorInterface *core, QObject *object, const QString &signalSignature, bool showAll)
QString realObjectName(QDesignerFormEditorInterface *core, QObject *object)
QMap< QString, QString > getSignals(QDesignerFormEditorInterface *core, QObject *object, bool showAll)
#define QDESIGNER_SHARED_EXPORT
ClassMemberFunctions(const QString &_class_name)
ClassMemberFunctions()=default
QStringList m_existingMethods
QStringList m_fakeMethods