LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
ExportManager.cpp File Reference
#include "ExportManager.hpp"
#include "Error.hpp"
#include "Logger.hpp"
#include "Result.hpp"
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QTextStream>
#include <QXmlStreamWriter>
Include dependency graph for ExportManager.cpp:

Namespaces

namespace  ui
 
namespace  ui::qt
 
namespace  ui::qt::ExportManager
 
namespace  ui::qt::ExportManager::anonymous_namespace{ExportManager.cpp}
 

Functions

QStringList ui::qt::ExportManager::anonymous_namespace{ExportManager.cpp}::CollectHeaders (const QAbstractItemModel &model)
 
QString ui::qt::ExportManager::anonymous_namespace{ExportManager.cpp}::QuoteCsvField (const QString &value)
 
util::Result< void, error::Error > ui::qt::ExportManager::ToCsv (const QAbstractItemModel &model, const std::vector< int > &rows, const QString &path)
 Export the given view rows to a CSV file.
 
util::Result< void, error::Error > ui::qt::ExportManager::ToJson (const QAbstractItemModel &model, const std::vector< int > &rows, const QString &path)
 Export the given view rows to a JSON file.
 
util::Result< void, error::Error > ui::qt::ExportManager::ToXml (const QAbstractItemModel &model, const std::vector< int > &rows, const QString &path)
 Export the given view rows to an XML file.