RhythmGame 1.4.3
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | List of all members
qml_components::ProgramSettings Class Reference

#include <ProgramSettings.h>

Inheritance diagram for qml_components::ProgramSettings:
Inheritance graph
[legend]
Collaboration diagram for qml_components::ProgramSettings:
Collaboration graph
[legend]

Signals

void maxFpsChanged ()
 
void presentationFpsChanged ()
 
void continuousRenderingChanged ()
 

Public Member Functions

 ProgramSettings (QString avatarFolder, QString screenshotsFolder, QObject *parent=nullptr)
 
auto getAvatarFolder () const -> QString
 
auto getScreenshotsFolder () const -> QString
 
auto getMaxFps () const -> int
 
auto getPresentationFps () const -> int
 
auto getContinuousRendering () const -> bool
 
void setMaxFps (int value)
 
void setContinuousRendering (bool value)
 
void attachFrameRateLimiter (QQuickWindow *window)
 
Q_INVOKABLE void copyImageToClipboard (const QString &path)
 Copies the image at the given file path to the system clipboard.
 

Properties

QString avatarFolder
 
QString screenshotsFolder
 
int maxFps
 
int presentationFps
 
bool continuousRendering
 

Constructor & Destructor Documentation

◆ ProgramSettings()

qml_components::ProgramSettings::ProgramSettings ( QString  avatarFolder,
QString  screenshotsFolder,
QObject *  parent = nullptr 
)
explicit

Member Function Documentation

◆ attachFrameRateLimiter()

void qml_components::ProgramSettings::attachFrameRateLimiter ( QQuickWindow *  window)

◆ continuousRenderingChanged

void qml_components::ProgramSettings::continuousRenderingChanged ( )
signal

◆ copyImageToClipboard()

auto qml_components::ProgramSettings::copyImageToClipboard ( const QString &  path)

Copies the image at the given file path to the system clipboard.

Parameters
pathThe absolute path to the image file.

◆ getAvatarFolder()

auto qml_components::ProgramSettings::getAvatarFolder ( ) const -> QString

◆ getContinuousRendering()

auto qml_components::ProgramSettings::getContinuousRendering ( ) const -> bool

◆ getMaxFps()

auto qml_components::ProgramSettings::getMaxFps ( ) const -> int

◆ getPresentationFps()

auto qml_components::ProgramSettings::getPresentationFps ( ) const -> int

◆ getScreenshotsFolder()

auto qml_components::ProgramSettings::getScreenshotsFolder ( ) const -> QString

◆ maxFpsChanged

void qml_components::ProgramSettings::maxFpsChanged ( )
signal

◆ presentationFpsChanged

void qml_components::ProgramSettings::presentationFpsChanged ( )
signal

◆ setContinuousRendering()

void qml_components::ProgramSettings::setContinuousRendering ( bool  value)

◆ setMaxFps()

void qml_components::ProgramSettings::setMaxFps ( int  value)

Property Documentation

◆ avatarFolder

QString qml_components::ProgramSettings::avatarFolder
read

◆ continuousRendering

bool qml_components::ProgramSettings::continuousRendering
read

◆ maxFps

int qml_components::ProgramSettings::maxFps
readwrite

◆ presentationFps

int qml_components::ProgramSettings::presentationFps
read

◆ screenshotsFolder

QString qml_components::ProgramSettings::screenshotsFolder
read

The documentation for this class was generated from the following files: