ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
TelemetrySettingsDialog Class Reference

Dialog for configuring logging and telemetry settings. More...

#include <TelemetrySettingsDialog.hpp>

Inherits QDialog.

Collaboration diagram for TelemetrySettingsDialog:
Collaboration graph

Public Member Functions

 TelemetrySettingsDialog (QWidget *parent=nullptr)
 Construct TelemetrySettingsDialog.
 

Static Public Member Functions

static logging::logging_options loadLoggingSettings ()
 Load logging options from QSettings.
 
static bool isCompressionEnabled ()
 Check if compression is enabled in QSettings.
 
static QString compressionAlgorithm ()
 Get compression algorithm from QSettings.
 
static bool isStreamingEnabled ()
 Check if telemetry streaming to server is enabled in QSettings.
 
static int streamingBatchSize ()
 Get streaming batch size from QSettings.
 
static int streamingFlushInterval ()
 Get streaming flush interval from QSettings.
 
static QString settingsPrefix ()
 Get the settings key prefix for telemetry settings.
 

Detailed Description

Dialog for configuring logging and telemetry settings.

Allows users to configure:

Settings are persisted via QSettings and applied on next application restart. Some settings (like log level) may be applied immediately if the runtime supports it.

This dialog is accessed via Telemetry > Settings... menu item.

Constructor & Destructor Documentation

◆ TelemetrySettingsDialog()

TelemetrySettingsDialog ( QWidget *  parent = nullptr)
explicit

Construct TelemetrySettingsDialog.

Parameters
parentParent widget.

Member Function Documentation

◆ loadLoggingSettings()

logging::logging_options loadLoggingSettings ( )
static

Load logging options from QSettings.

Returns
Logging options struct populated from settings.
Here is the caller graph for this function:

◆ isCompressionEnabled()

bool isCompressionEnabled ( )
static

Check if compression is enabled in QSettings.

Returns
True if compression is enabled.
Here is the caller graph for this function:

◆ compressionAlgorithm()

QString compressionAlgorithm ( )
static

Get compression algorithm from QSettings.

Returns
Algorithm string (zlib, gzip, bzip2, or all).
Here is the caller graph for this function:

◆ isStreamingEnabled()

bool isStreamingEnabled ( )
static

Check if telemetry streaming to server is enabled in QSettings.

Returns
True if streaming is enabled.

◆ streamingBatchSize()

int streamingBatchSize ( )
static

Get streaming batch size from QSettings.

Returns
Batch size (default 50).

◆ streamingFlushInterval()

int streamingFlushInterval ( )
static

Get streaming flush interval from QSettings.

Returns
Flush interval in seconds (default 5).

◆ settingsPrefix()

static QString settingsPrefix ( )
static

Get the settings key prefix for telemetry settings.

Returns
The settings key prefix.
Here is the caller graph for this function: