Krita Source Code Documentation
Loading...
Searching...
No Matches
KisNumParser.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2024 Deif Lou <ginoba@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
#ifndef KISNUMPARSER_H
7
#define KISNUMPARSER_H
8
9
#include <QObject>
10
#include <QString>
11
#include <QQmlEngine>
12
13
#include <limits>
14
15
#include <
kis_num_parser.h
>
16
17
class
KisNumParser
:
public
QObject
18
{
19
Q_OBJECT
20
QML_ELEMENT
21
22
public
:
24
Q_INVOKABLE
static
double
parseSimpleMathExpr
(QString
const
&expr);
25
};
26
27
#endif
KisNumParser
Definition
KisNumParser.h:18
KisNumParser::parseSimpleMathExpr
static Q_INVOKABLE double parseSimpleMathExpr(QString const &expr)
parse an expression to a double.
Definition
KisNumParser.cpp:8
kis_num_parser.h
qmlmodules
components
KisNumParser.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52