返回> 网站首页 

[Qt商业版]Windows控件与Qt数据类型对照表

yoours2008-01-21 19:47:49 阅读 1117

简介一边听听音乐,一边写写文章。

COM type
Qt property
in-parameter
out-parameter
VARIANT_BOOL
bool
bool
bool&
BSTR
QString
const QString&
QString&
char, short, int, long
int
int
int&
uchar, ushort, uint, ulong
uint
uint
uint&
float, double
double
double
double&
DATE
QDateTime
const QDateTime&
QDateTime&
CY
qlonglong
qlonglong
qlonglong&
OLE_COLOR
QColor
const QColor&
QColor&
SAFEARRAY(VARIANT)
QList<QVariant>
const QList<QVariant>&
QList<QVariant>&
SAFEARRAY(int), SAFEARRAY(double), SAFEARRAY(Date)
QList<QVariant>
const QList<QVariant>&
QList<QVariant>&
SAFEARRAY(BYTE)
QByteArray
const QByteArray&
QByteArray&
SAFEARRAY(BSTR)
QStringList
const QStringList&
QStringList&
VARIANT
type-dependent
const QVariant&
QVariant&
IFontDisp*
QFont
const QFont&
QFont&
IPictureDisp*
QPixmap
const QPixmap&
QPixmap&
IDispatch*
QAxObject*
QAxBase::asVariant()
QAxObject* (return value)
IUnknown*
QAxObject*
QAxBase::asVariant()
QAxObject* (return value)
SCODE, DECIMAL
unsupported
unsupported
unsupported
微信小程序扫码登陆

文章评论

1117人参与,0条评论