![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <QMap>#include <QMultiMap>#include <QPoint>#include <QPointF>#include <QSet>#include <QString>#include <QStringList>#include <QTextStream>#include <QVector>#include <QtGlobal>#include <QRegularExpression>#include <QStringView>#include <Qt>#include <QRegularExpressionMatch>#include <QByteArray>#include <QStringConverter>#include <QWheelEvent>#include <QMouseEvent>#include <QDropEvent>#include <QVariant>#include <QPlainTextEdit>

Go to the source code of this file.
Classes | |
| class | QtCompatRegExpWrapper |
| class | QtCompatTextCodec |
Namespaces | |
| QtCompatRegExpOption | |
| QtCompat | |
Macros | |
| #define | QTCOMPAT_FONTMETRICS_WIDTH(fm, text) (fm).horizontalAdvance(text) |
| #define | QTCOMPAT_ENDL Qt::endl |
Typedefs | |
| using | QtCompatRegExp = QRegularExpression |
| using | QtCompatStringRef = QStringView |
| using | QtCompatStringRefList = QList< QStringView > |
| using | QtCompatQTextCodec = QtCompatTextCodec |
| using | QtCompatVariantType = QMetaType::Type |
Functions | |
| QRegularExpression | qtCompatRegExp (const QString &pattern) |
| QStringList | qtCompatSplit (const QString &str, const QRegularExpression ®ex, Qt::SplitBehavior behavior=Qt::KeepEmptyParts) |
| QStringView | qtCompatStringRef (const QString &str) noexcept |
| QString | qtCompatStringRefToString (const QStringView &view) |
| QStringView | qtCompatStringRef (const QString &str, int pos, int n=-1) noexcept |
| QtCompatStringRefList | qtCompatSplitRef (const QString &str, QChar sep) |
| QStringList | qtCompatSplitRegex (const QString &str, const QString &pattern, Qt::SplitBehavior behavior=Qt::KeepEmptyParts) |
| QString & | qtCompatReplace (QString &str, const QRegularExpression ®ex, const QString &after) |
| QString | qtCompatReplace (const QString &str, const QRegularExpression ®ex, const QString &after) |
| QString & | qtCompatReplace (QString &str, const QString &pattern, const QString &after) |
| QString | qtCompatReplace (const QString &str, const QString &pattern, const QString &after) |
| QtCompatStringRefList | qtCompatSplitRefChar (const QString &str, QChar sep) |
| bool | qtCompatRegExpMatch (const QRegularExpression ®ex, const QString &str) |
| int | qtCompatRegExpIndexIn (const QRegularExpression ®ex, const QString &str, int offset=0) |
| int | qtCompatRegExpPos (const QRegularExpressionMatch &match, int nth=0) noexcept |
| QString | qtCompatRegExpCap (const QRegularExpressionMatch &match, int nth=0) |
| int | qtCompatRegExpMatchedLength (const QRegularExpressionMatch &match) noexcept |
| QtCompatTextCodec * | qtCompatCodecForLocale () |
| QtCompatTextCodec * | qtCompatCodecForName (const char *name) |
| QTextStream & | QtCompat::endl (QTextStream &stream) |
| double | qtCompatWheelEventDelta (const QWheelEvent *event) noexcept |
| QPointF | qtCompatWheelEventPos (const QWheelEvent *event) noexcept |
| QPointF | qtCompatMouseEventPos (const QMouseEvent *event) noexcept |
| QPointF | qtCompatMouseEventGlobalPos (const QMouseEvent *event) noexcept |
| QPoint | qtCompatMouseEventPosInt (const QMouseEvent *event) noexcept |
| QPoint | qtCompatMouseEventGlobalPosInt (const QMouseEvent *event) noexcept |
| QPointF | qtCompatDropEventPos (const QDropEvent *event) noexcept |
| QPoint | qtCompatDropEventPosInt (const QDropEvent *event) noexcept |
| template<typename Key , typename T > | |
| void | qtCompatMapInsertMulti (QMap< Key, T > *map, const Key &key, const T &value) |
| template<typename Key , typename T > | |
| void | qtCompatMapInsertMulti (QMultiMap< Key, T > *map, const Key &key, const T &value) |
| template<typename Key , typename T > | |
| void | qtCompatMapUnite (QMap< Key, T > *map, const QMap< Key, T > &other) |
| template<typename Key , typename T > | |
| void | qtCompatMapUnite (QMultiMap< Key, T > *map, const QMultiMap< Key, T > &other) |
| QMetaType::Type | qtCompatVariantType (const QVariant &var) noexcept |
| bool | qtCompatVariantIsValid (const QVariant &var) noexcept |
| bool | qtCompatVariantIsNull (const QVariant &var) noexcept |
| bool | qtCompatVariantIsString (const QVariant &var) noexcept |
| bool | qtCompatVariantIsInt (const QVariant &var) noexcept |
| bool | qtCompatVariantIsDouble (const QVariant &var) noexcept |
| bool | qtCompatVariantIsBool (const QVariant &var) noexcept |
| bool | qtCompatVariantIsList (const QVariant &var) noexcept |
| bool | qtCompatVariantIsMap (const QVariant &var) noexcept |
| void | qtCompatSetTabStopWidth (QPlainTextEdit *edit, int width) |
| template<typename T > | |
| QSet< T > | qtCompatQSetFromVector (const QVector< T > &vec) |
| template<typename T > | |
| QVector< T > | qtCompatQVectorFromSet (const QSet< T > &set) |
| template<typename T > | |
| QSet< T > | qSetFromVector (const QVector< T > &vec) |
| template<typename T > | |
| QVector< T > | qVectorFromSet (const QSet< T > &set) |
Variables | |
| constexpr QRegularExpression::PatternOption | QtCompatRegExpOption::CaseInsensitive |
| constexpr QRegularExpression::PatternOption | QtCompatRegExpOption::DotMatchesEverything |
| constexpr QRegularExpression::PatternOption | QtCompatRegExpOption::Multiline |
| constexpr Qt::SplitBehavior | QtCompat::SkipEmptyParts = Qt::SkipEmptyParts |
| constexpr Qt::SplitBehavior | QtCompat::KeepEmptyParts = Qt::KeepEmptyParts |
| #define QTCOMPAT_ENDL Qt::endl |
Definition at line 721 of file QtCompat.h.
| #define QTCOMPAT_FONTMETRICS_WIDTH | ( | fm, | |
| text | |||
| ) | (fm).horizontalAdvance(text) |
Definition at line 339 of file QtCompat.h.
| using QtCompatQTextCodec = QtCompatTextCodec |
Definition at line 689 of file QtCompat.h.
| using QtCompatRegExp = QRegularExpression |
Definition at line 170 of file QtCompat.h.
| using QtCompatStringRef = QStringView |
Definition at line 227 of file QtCompat.h.
| using QtCompatStringRefList = QList<QStringView> |
Definition at line 228 of file QtCompat.h.
| using QtCompatVariantType = QMetaType::Type |
Definition at line 918 of file QtCompat.h.
|
inline |
Definition at line 1073 of file QtCompat.h.
References qtCompatQSetFromVector().
|
inline |
Definition at line 650 of file QtCompat.h.
Referenced by QTextCodec::codecForLocale(), CVTools::FromUnicode(), qtCompatCodecForName(), and CVTools::ToUnicode().
|
inline |
Definition at line 657 of file QtCompat.h.
References name, and qtCompatCodecForLocale().
Referenced by QTextCodec::codecForName(), GetPythonExeVersion(), and PythonConfig::initFromPythonExecutable().
|
inlinenoexcept |
Definition at line 826 of file QtCompat.h.
References event.
|
inlinenoexcept |
Definition at line 835 of file QtCompat.h.
| void qtCompatMapInsertMulti | ( | QMap< Key, T > * | map, |
| const Key & | key, | ||
| const T & | value | ||
| ) |
Definition at line 854 of file QtCompat.h.
| void qtCompatMapInsertMulti | ( | QMultiMap< Key, T > * | map, |
| const Key & | key, | ||
| const T & | value | ||
| ) |
Definition at line 864 of file QtCompat.h.
| void qtCompatMapUnite | ( | QMap< Key, T > * | map, |
| const QMap< Key, T > & | other | ||
| ) |
Definition at line 872 of file QtCompat.h.
| void qtCompatMapUnite | ( | QMultiMap< Key, T > * | map, |
| const QMultiMap< Key, T > & | other | ||
| ) |
Definition at line 878 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 788 of file QtCompat.h.
References event.
|
inlinenoexcept |
Definition at line 807 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 779 of file QtCompat.h.
References event.
|
inlinenoexcept |
Definition at line 797 of file QtCompat.h.
| QSet<T> qtCompatQSetFromVector | ( | const QVector< T > & | vec | ) |
| QVector<T> qtCompatQVectorFromSet | ( | const QSet< T > & | set | ) |
|
inline |
Definition at line 183 of file QtCompat.h.
|
inline |
Definition at line 466 of file QtCompat.h.
|
inline |
Definition at line 452 of file QtCompat.h.
References offset.
|
inline |
Definition at line 446 of file QtCompat.h.
Referenced by cloudViewer::LogWidget::Append().
|
inlinenoexcept |
Definition at line 472 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 460 of file QtCompat.h.
|
inline |
Definition at line 367 of file QtCompat.h.
References result.
|
inline |
Definition at line 382 of file QtCompat.h.
References result.
|
inline |
Definition at line 361 of file QtCompat.h.
|
inline |
Definition at line 376 of file QtCompat.h.
|
inline |
|
inline |
Definition at line 188 of file QtCompat.h.
|
inline |
|
inline |
Definition at line 430 of file QtCompat.h.
References qtCompatSplitRef().
Referenced by GetPythonExeVersion(), LasSaveDialog::selectedVersion(), and Version::Version().
|
inline |
Definition at line 308 of file QtCompat.h.
Referenced by ccColorScaleEditorDialog::checkCustomLabelsList(), ccColorScaleEditorDialog::exportCustomLabelsList(), ccGLMatrixTpl< T >::FromString(), ProfileLoader::Load(), SalomeHydroFilter::loadFile(), SinusxFilter::loadFile(), BundlerFilter::loadFileExtended(), DistanceMapGenerationDlg::loadOverlaySymbols(), and ecvPrimitiveFactoryDlg::setSpherePositionFromClipboard().
|
inlinenoexcept |
Definition at line 231 of file QtCompat.h.
Referenced by PyVenvCfg::FromFile(), and GetPythonExeVersion().
|
inlinenoexcept |
Definition at line 241 of file QtCompat.h.
|
inline |
Definition at line 236 of file QtCompat.h.
Referenced by Version::Version().
|
inlinenoexcept |
Definition at line 945 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 941 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 937 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 949 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 953 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 928 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 933 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 924 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 920 of file QtCompat.h.
|
inlinenoexcept |
Definition at line 751 of file QtCompat.h.
Referenced by ccHistogramWindow::wheelEvent().
|
inlinenoexcept |
Definition at line 760 of file QtCompat.h.
References event.
|
inline |
Definition at line 1078 of file QtCompat.h.
References qtCompatQVectorFromSet().