LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
FilterProfilesPanel.cpp File Reference

Implementation of FilterProfilesPanel and FilterProfile JSON round-trip. More...

#include "FilterProfilesPanel.hpp"
#include "Config.hpp"
#include "Logger.hpp"
#include <QFileDialog>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QListWidget>
#include <QMessageBox>
#include <QPushButton>
#include <QVBoxLayout>
#include <algorithm>
#include <filesystem>
#include <fstream>
#include <set>
Include dependency graph for FilterProfilesPanel.cpp:

Namespaces

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

Functions

std::vector< FilterProfile > ui::qt::anonymous_namespace{FilterProfilesPanel.cpp}::ParseProfilesArray (const nlohmann::json &j, std::set< std::string > &existingNames, size_t &parseErrors, std::vector< std::string > &rejectedNames)
 Parses a JSON array of profile entries, rejecting entries with an empty name or a name already present in existingNames.
 

Detailed Description

Implementation of FilterProfilesPanel and FilterProfile JSON round-trip.

Author
LogViewer Development Team
Date
2026