| 211 | } |
| 212 | |
| 213 | std::pair<int, int> ExportSpreadsheetDialog::getMcapSettings() { |
| 214 | int compressionLevel = ui->cbCompressionLevel->currentIndex(); |
| 215 | int compressionMode = 0; // mcap::Compression::None |
| 216 | if (ui->rbLZ4->isChecked()) { |
| 217 | compressionMode = 1; // mcap::Compression::Lz4 |
| 218 | } else if (ui->rbZSTD->isChecked()) { |
| 219 | compressionMode = 2; // mcap::Compression::ZSTD |
| 220 | } |
| 221 | return std::pair<int, int>(compressionMode, compressionLevel); |
| 222 | } |
| 223 | |
| 224 | void ExportSpreadsheetDialog::setMatrixMode(bool b) { |
| 225 | if (b) { |
no test coverage detected