14 stream >> payload.
type;
16 if (!stream.atEnd()) { stream >> payload.
isEmbedded; }
DragDropPayload readDragDropPayload(QDataStream &stream)
Reads a drag-and-drop payload from stream.
Shared reader for wiRedPanda's drag-and-drop MIME payload format.
Circuit and waveform file serialization/deserialization utilities.
static QString readBoundedString(QDataStream &stream)
Reads a QString from stream, refusing to allocate more bytes than remain in the stream (prevents OOM ...
Decoded contents of a wiRedPanda drag-and-drop MIME payload.
QString blobName
Embedded IC blob name (empty if file-based).
bool isEmbedded
True if this references an embedded IC blob.
QString icFileName
File-based IC path (empty if embedded).
QPoint offset
Drag-start offset from the dragged item's origin.
ElementType type
Element type being dragged.