#include "KoUnit.h"
#include <cmath>
#include <QTransform>
#include <klocalizedstring.h>
#include <QtGlobal>
Go to the source code of this file.
◆ operator<<()
| QDebug operator<< |
( |
QDebug | debug, |
|
|
const KoUnit & | unit ) |
Definition at line 398 of file KoUnit.cpp.
399{
400#ifndef NDEBUG
402#else
403 Q_UNUSED(unit);
404#endif
405 return debug.space();
406
407}
QString symbol() const
Get the symbol string of the unit.
PyObject * debug(PyObject *, PyObject *args)
References KoUnit::symbol().
◆ typesInUi
Initial value:=
{
}
@ Point
Postscript point, 1/72th of an Inco.
Definition at line 57 of file KoUnit.cpp.
◆ unitNameList
Initial value:=
{
"mm",
"pt",
"in",
"cm",
"dm",
"pi",
"cc",
"px"
}
Definition at line 20 of file KoUnit.cpp.
21{
22 "mm",
23 "pt",
24 "in",
25 "cm",
26 "dm",
27 "pi",
28 "cc",
29 "px"
30};