Migrates ./Lts/Viewer successfully to Qt6

This commit is contained in:
torsten committed 2026-09-23 10:14:59 +02:00
1 parent cdb8c754e9
commit ed9fc51e7a
28 files changed
+250 -129

No files matched your search

@@ -35,6 +35,7 @@
#include <QtCore/QJsonArray>
#include <QtCore/QJsonDocument>
#include <QtCore/QDebug>
#include <utility>
/// get the list of visual index as they are display
namespace LtsDataView
@@ -1233,7 +1234,7 @@ void LtsDataView::slotCsvExport() // TODO: maybe save to dds (office/filemanagem
}
}
for (const int logicalIndex : qAsConst(colsHeader))
for (const int logicalIndex : std::as_const(colsHeader))
colsList.append(m_columnFilterProxy->headerData(logicalIndex, Qt::Horizontal).toString());
//qCritical() << "slotCsvExport: header colsList = " << colsList;
@@ -1253,7 +1254,7 @@ void LtsDataView::slotCsvExport() // TODO: maybe save to dds (office/filemanagem
for (int row = 0; row < rows; ++row)
{
colsList.clear();
for (const int logicalIndex : qAsConst(colsHeader))
for (const int logicalIndex : std::as_const(colsHeader))
colsList.append(m_columnFilterProxy->data(m_columnFilterProxy->index(row, logicalIndex)).toString());
// for (int col = 0; col < cols; col++)
// if (m_ui->stackedWidget->currentIndex() != TABLE || !m_ui->tableView->isColumnHidden(col))