|
|
static Q_INVOKABLE QString | toPathString (const QUrl &url) |
|
static Q_INVOKABLE QUrl | localFileToQUrl (const QString &path) |
|
static Q_INVOKABLE QString | pathBasename (const QString &path) |
|
static Q_INVOKABLE float | amplitudeToDbfs (float amplitude) |
|
static Q_INVOKABLE QStringList | splitTextLines (const QString &text) |
|
static Q_INVOKABLE QStringList | removeDuplicates (const QStringList &list) |
|
static Q_INVOKABLE QString | readTextFileContent (const QString &filePath) |
|
static Q_INVOKABLE QColor | saturate (const QColor &color, float perc) |
|
static Q_INVOKABLE QColor | makeBrighter (const QColor &color, float perc) |
|
static Q_INVOKABLE QColor | adjustOpacity (const QColor &color, float newOpacity) |
|
static Q_INVOKABLE QVector< float > | getAutomationRegionValues (QObject *automationRegion, int pixelWidth) |
|
static Q_INVOKABLE bool | rectanglesIntersect (QRectF a, QRectF b) |
|
static Q_INVOKABLE bool | rectanglesIntersect (QRect a, QRect b) |
|
static Q_INVOKABLE QItemSelection | createRowSelection (QAbstractItemModel *model, const QList< int > &rows, int column=0) |
| | Helper to create a selection from a list of rows in a single column.
|
|
static Q_INVOKABLE QItemSelection | createRangeSelection (QAbstractItemModel *model, int startRow, int endRow, int startCol=0, int endCol=0) |
| | Helper to create a contiguous block/range selection.
|
Definition at line 13 of file qml_utils.h.