Fluid
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ControlsUtils Class Reference

A collection of helpful utility methods. More...

#include <controlsutils.h>

Inheritance diagram for ControlsUtils:
Inheritance graph
[legend]
Collaboration diagram for ControlsUtils:
Collaboration graph
[legend]

Public Member Functions

 ControlsUtils (const QUrl &baseUrl, QObject *parent=nullptr)
 
Q_INVOKABLE qreal scale (qreal percent, qreal start, qreal end)
 

Static Public Member Functions

static ControlsUtilscreate (QQmlEngine *engine, QJSEngine *jsEngine)
 

Detailed Description

A collection of helpful utility methods.

Constructor & Destructor Documentation

◆ ControlsUtils()

ControlsUtils::ControlsUtils ( const QUrl &  baseUrl,
QObject *  parent = nullptr 
)
explicit

Member Function Documentation

◆ create()

ControlsUtils * ControlsUtils::create ( QQmlEngine *  engine,
QJSEngine *  jsEngine 
)
static

◆ scale()

qreal ControlsUtils::scale ( qreal  percent,
qreal  start,
qreal  end 
)

Scale percent in the range between start and end.


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