28int firstColumn(
const SignalModel &model,
const QItemSelection &ranges);
31int firstRow(
const SignalModel &model,
const QItemSelection &ranges);
35void copy(
const SignalModel &model,
const QItemSelection &ranges, QDataStream &stream);
39void paste(SignalModel &model,
const QItemSelection &ranges, QDataStream &stream);
43void copyToClipboard(
const SignalModel &model,
const QItemSelection &ranges);
QStandardItemModel subclass that makes all cells non-editable.
The beWavedDolphin clipboard layer: cell ↔ stream mapping plus the system clipboard transport (MIME w...
int firstRow(const SignalModel &model, const QItemSelection &ranges)
Returns the topmost row index in ranges (clamped to the model's rows).
bool pasteFromClipboard(SignalModel &model, const QItemSelection &ranges)
void copyToClipboard(const SignalModel &model, const QItemSelection &ranges)
int firstColumn(const SignalModel &model, const QItemSelection &ranges)
Returns the leftmost column index in ranges (clamped to the model's columns).
void paste(SignalModel &model, const QItemSelection &ranges, QDataStream &stream)
void copy(const SignalModel &model, const QItemSelection &ranges, QDataStream &stream)