Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QT_BEGIN_NAMESPACE::QVariantGuiHelper Struct Reference
+ Inheritance diagram for QT_BEGIN_NAMESPACE::QVariantGuiHelper:
+ Collaboration diagram for QT_BEGIN_NAMESPACE::QVariantGuiHelper:

Public Member Functions

const QtPrivate::QMetaTypeInterfaceinterfaceForType (int type) const override
 
bool convert (const void *from, int fromTypeId, void *to, int toTypeId) const override
 

Additional Inherited Members

- Static Public Member Functions inherited from QMetaTypeModuleHelper
static Q_WEAK_OVERLOAD constexpr auto makePair (int from, int to) -> quint64
 
- Protected Member Functions inherited from QMetaTypeModuleHelper
 QMetaTypeModuleHelper ()=default
 
 ~QMetaTypeModuleHelper ()=default
 

Detailed Description

Definition at line 60 of file qguivariant.cpp.

Member Function Documentation

◆ convert()

bool QT_BEGIN_NAMESPACE::QVariantGuiHelper::convert ( const void * ,
int ,
void * ,
int  ) const
inlineoverridevirtual

Reimplemented from QMetaTypeModuleHelper.

Definition at line 73 of file qguivariant.cpp.

References QBitmap::fromImage(), QPixmap::fromImage(), QBitmap::fromPixmap(), QColor::fromString(), QColor::HexArgb, QColor::HexRgb, Int, QKeySequence::isEmpty(), QColor::name(), QKeySequence::NativeText, Q_ASSERT, QMETATYPE_CONVERTER, Qt::SolidPattern, QBrush::texture(), QPixmap::toImage(), QFont::toString(), and QKeySequence::toString().

+ Here is the call graph for this function:

◆ interfaceForType()

const QtPrivate::QMetaTypeInterface * QT_BEGIN_NAMESPACE::QVariantGuiHelper::interfaceForType ( int type) const
inlineoverridevirtual

The documentation for this struct was generated from the following file: