16#ifndef SIGNALSLOTDIALOG_H
17#define SIGNALSLOTDIALOG_H
20#include <QtCore/qstringlist.h>
21#include <QtWidgets/qdialog.h>
22#include <QtGui/qstandarditemmodel.h>
26class QDesignerFormEditorInterface;
27class QDesignerFormWindowInterface;
28class QDesignerDialogGuiInterface;
29class QDesignerMemberSheet;
35 class SignalSlotDialogClass;
54 bool setData (
const QModelIndex &index,
const QVariant &value,
int role =
Qt::
EditRole)
override;
70 int count(
const QString &signature)
const;
78 void slotSelectionChanged(
const QItemSelection &,
const QItemSelection &);
83 const QString m_newPrefix;
85 QListView *m_listView;
86 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