- // Get the first table widget item in the row.
- QTableWidgetItem *rowFirstTableWidgetItemPointer = tableWidgetPointer->item(row, 0);
-
- // Get the data variant.
- QVariant dataVariant = rowFirstTableWidgetItemPointer->data(Qt::UserRole);
-
- // Get the request struct byte array from the data variant.
- QByteArray requestStructByteArray = dataVariant.toByteArray();
-