20#ifndef ORES_QT_COMMAND_LINE_PARSER_HPP
21#define ORES_QT_COMMAND_LINE_PARSER_HPP
25#include <QCoreApplication>
26#include <QCommandLineParser>
29#include "ores.logging/logging_options.hpp"
51 void process(
const QCoreApplication& app);
60 [[nodiscard]] std::optional<logging::logging_options>
loggingOptions()
const;
106 void saveToSettings();
108 QCommandLineParser parser_;
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:35
Encapsulates Qt command line parsing for the application.
Definition CommandLineParser.hpp:39
bool isCompressionEnabled() const
Check if compression is enabled.
Definition CommandLineParser.cpp:172
void process(const QCoreApplication &app)
Process command line arguments.
Definition CommandLineParser.cpp:103
bool isLoggingEnabled() const
Check if logging is enabled.
Definition CommandLineParser.cpp:136
CommandLineParser()
Construct the parser and configure all options.
Definition CommandLineParser.cpp:29
QColor instanceColor() const
Get the instance color for the title bar.
Definition CommandLineParser.cpp:218
std::optional< logging::logging_options > loggingOptions() const
Get logging configuration based on parsed options.
Definition CommandLineParser.cpp:140
QString instanceName() const
Get the instance name for identifying this application instance.
Definition CommandLineParser.cpp:214
std::uint8_t supportedCompression() const
Get the supported compression bitmask based on parsed options.
Definition CommandLineParser.cpp:176