|
FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
#include <qt_utils.h>
Static Public Member Functions | |
| static QColor | toQColor (const Quantity_Color &c) |
Conversion of the Quantity_Color c to a QColor. More... | |
| static QColor | toQColor (const Quantity_NameOfColor c) |
Conversion of the Quantity_NameOfColor c to a QColor. More... | |
| static Quantity_Color | toOccColor (const QColor &c) |
Conversion of the QColor c to a Quantity_Color. More... | |
| static Quantity_NameOfColor | toOccNameOfColor (const QColor &c) |
Conversion of the QColor object c to a Quantity_NameOfColor. More... | |
| static TCollection_AsciiString | toOccLatin1String (const QString &str) |
| static TCollection_AsciiString | toOccLocal8BitString (const QString &str) |
| static TCollection_AsciiString | toOccUtf8String (const QString &str) |
| static Standard_ExtString | toOccExtString (const QString &str) |
Conversion of the QString str to an OCC ExtString. More... | |
| static TCollection_ExtendedString | toOccExtendedString (const QString &str) |
Conversion of the QString str to an OCC TCollection_ExtendedString. More... | |
| static QString | fromLatin1ToQString (const TCollection_AsciiString &str) |
| static QString | fromLocal8BitToQString (const TCollection_AsciiString &str) |
| static QString | fromUtf8ToQString (const TCollection_AsciiString &str) |
| static QString | toQString (Standard_ExtString unicodeStr, int size=-1) |
Conversion of the OCC Standard_ExtString str to a QString. More... | |
| static QString | toQString (const TCollection_ExtendedString &str) |
Conversion of the OCC TCollection_ExtendedString str to a QString. More... | |
| template<typename OCC_PNT_VEC > | |
| static QString | toQString (const OCC_PNT_VEC &pv, const QString &format=QLatin1String("(%x, %y, %z)"), char realFormat= 'g', unsigned prec=6) |
|
static |
Conversion of the TCollection_AsciiString str to a QString. str is assumed to contain latin1 characters
|
static |
Conversion of the TCollection_AsciiString str to a QString. str is assumed to contain local8bit characters
|
static |
Conversion of the TCollection_AsciiString str to a QString. str is assumed to contain utf8 characters
|
static |
Conversion of the QColor c to a Quantity_Color.
|
static |
Conversion of the QString str to an OCC TCollection_ExtendedString.
|
static |
Conversion of the QString str to an OCC ExtString.
|
static |
Conversion of the QString str to an OCC TCollection_AsciiString containing the latin1 representation of str
|
static |
Conversion of the QString str to an OCC TCollection_AsciiString containing the local8bit representation of str
|
static |
Conversion of the QColor object c to a Quantity_NameOfColor.
|
static |
Conversion of the QString str to an OCC TCollection_AsciiString containing the utf8 representation of str
|
static |
Conversion of the Quantity_Color c to a QColor.
|
static |
Conversion of the Quantity_NameOfColor c to a QColor.
|
static |
Conversion of the OCC Standard_ExtString str to a QString.
| unicodeStr | Contains unicode(utf16) characters |
| size | Length of str (count of characters). If -1 then str must be terminated with a 0 |
|
static |
Conversion of the OCC TCollection_ExtendedString str to a QString.
|
static |
1.8.8