![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <signalsloteditor_p.h>
Public Types | |
| enum | State { Valid , ObjectDeleted , InvalidMethod , NotAncestor } |
| Public Types inherited from qdesigner_internal::CETypes | |
| enum | LineDir { UpDir = 0 , DownDir , RightDir , LeftDir } |
| using | ConnectionList = QList<Connection *> |
| using | ConnectionSet = QHash<Connection*, Connection*> |
| using | WidgetSet = QHash<QWidget*, QWidget*> |
Public Member Functions | |
| SignalSlotConnection (ConnectionEdit *edit, QWidget *source=nullptr, QWidget *target=nullptr) | |
| void | setSignal (const QString &signal) |
| void | setSlot (const QString &slot) |
| QString | sender () const |
| QString | receiver () const |
| QString | signal () const |
| QString | slot () const |
| DomConnection * | toUi () const |
| void | updateVisibility () override |
| State | isValid (const QWidget *background) const |
| QString | toString () const |
| Public Member Functions inherited from qdesigner_internal::Connection | |
| Connection (ConnectionEdit *edit) | |
| Connection (ConnectionEdit *edit, QObject *source, QObject *target) | |
| virtual | ~Connection ()=default |
| QObject * | object (EndPoint::Type type) const |
| QWidget * | widget (EndPoint::Type type) const |
| QPoint | endPointPos (EndPoint::Type type) const |
| QRect | endPointRect (EndPoint::Type) const |
| void | setEndPoint (EndPoint::Type type, QObject *w, const QPoint &pos) |
| bool | isVisible () const |
| void | setVisible (bool b) |
| virtual QRegion | region () const |
| bool | contains (const QPoint &pos) const |
| virtual void | paint (QPainter *p) const |
| void | update (bool update_widgets=true) const |
| void | checkWidgets () |
| QString | label (EndPoint::Type type) const |
| void | setLabel (EndPoint::Type type, const QString &text) |
| QRect | labelRect (EndPoint::Type type) const |
| QPixmap | labelPixmap (EndPoint::Type type) const |
| ConnectionEdit * | edit () const |
| virtual void | inserted () |
| virtual void | removed () |
Definition at line 36 of file signalsloteditor_p.h.
| Enumerator | |
|---|---|
| Valid | |
| ObjectDeleted | |
| InvalidMethod | |
| NotAncestor | |
Definition at line 53 of file signalsloteditor_p.h.
|
explicit |
Definition at line 36 of file signalsloteditor.cpp.
References SignalSlotConnection().
Referenced by SignalSlotConnection().
| SignalSlotConnection::State qdesigner_internal::SignalSlotConnection::isValid | ( | const QWidget * | background | ) | const |
Definition at line 122 of file signalsloteditor.cpp.
References InvalidMethod, NotAncestor, ObjectDeleted, and Valid.
| QString qdesigner_internal::SignalSlotConnection::receiver | ( | ) | const |
Definition at line 98 of file signalsloteditor.cpp.
| QString qdesigner_internal::SignalSlotConnection::sender | ( | ) | const |
Definition at line 86 of file signalsloteditor.cpp.
Definition at line 74 of file signalsloteditor.cpp.
Definition at line 80 of file signalsloteditor.cpp.
|
inline |
Definition at line 46 of file signalsloteditor_p.h.
|
inline |
Definition at line 47 of file signalsloteditor_p.h.
| QString qdesigner_internal::SignalSlotConnection::toString | ( | ) | const |
Definition at line 116 of file signalsloteditor.cpp.
| DomConnection * qdesigner_internal::SignalSlotConnection::toUi | ( | ) | const |
Definition at line 41 of file signalsloteditor.cpp.
Referenced by qdesigner_internal::SignalSlotEditor::toUi().
|
overridevirtual |
Reimplemented from qdesigner_internal::Connection.
Definition at line 109 of file signalsloteditor.cpp.