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;
97 void saveToSettings();
99 QCommandLineParser parser_;
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:29
Encapsulates Qt command line parsing for the application.
Definition CommandLineParser.hpp:39
void process(const QCoreApplication &app)
Process command line arguments.
Definition CommandLineParser.cpp:97
bool isLoggingEnabled() const
Check if logging is enabled.
Definition CommandLineParser.cpp:121
CommandLineParser()
Construct the parser and configure all options.
Definition CommandLineParser.cpp:28
std::string httpBaseUrl() const
Get the HTTP base URL for the compute service.
Definition CommandLineParser.cpp:163
QColor instanceColor() const
Get the instance color for the title bar.
Definition CommandLineParser.cpp:167
std::optional< logging::logging_options > loggingOptions() const
Get logging configuration based on parsed options.
Definition CommandLineParser.cpp:125
QString instanceName() const
Get the instance name for identifying this application instance.
Definition CommandLineParser.cpp:158