MCPcopy Create free account
hub / github.com/KDE/labplot / setExportSelection

Method setExportSelection

src/frontend/spreadsheet/ExportSpreadsheetDialog.cpp:647–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void ExportSpreadsheetDialog::setExportSelection(bool enable) {
648 if (!enable) {
649 const auto* areaToExportModel = qobject_cast<const QStandardItemModel*>(ui->cbLaTeXExport->model());
650 auto* item = areaToExportModel->item(1);
651 item->setFlags(item->flags() & ~(Qt::ItemIsSelectable | Qt::ItemIsEnabled));
652 }
653}
654
655void ExportSpreadsheetDialog::setExportTo(const QStringList& to) {
656 ui->cbExportToFITS->addItems(to);

Callers 2

exportViewMethod · 0.80
exportViewMethod · 0.80

Calls 2

modelMethod · 0.45
flagsMethod · 0.45

Tested by

no test coverage detected