19 #include "../FxCommonFramework.h"
21 #include <QtCore/QBuffer>
22 #include <QtCore/QByteArray>
23 #include <QtCore/QDate>
24 #include <QtCore/QFile>
25 #include <QtCore/QList>
26 #include <QtCore/QMap>
27 #include <QtCore/QString>
28 #include <QtCore/QUuid>
29 #include <QtCore/QVariant>
30 #include <QtCore/QVector>
31 #include <QtGui/QPalette>
32 #include <QtGui/QValidator>
34 #include <QtGui/QIcon>
35 #include <QtGui/QPixmap>
53 template<
typename K,
typename V >
55 template<
typename T >
66 #if defined( Q_OS_IOS )
68 #elif defined( ANDROID )
70 #include "../../../DDKERNEL/touch/FxJavaUtils.h"
76 #define FX_REDEFINE_EMIT
80 #define FX_REDEFINE_SLOTS
84 #ifdef FX_REDEFINE_EMIT
87 #ifdef FX_REDEFINE_SLOTS
95 class CFxUIObjectImpl;
96 class CFxUIObjectData;
104 friend CFxUIObjectData;
205 if ( T obj =
dynamic_cast<T
>( child ) )
207 if ( !
name.isEmpty() )
209 if (
name == obj->objectName() )
210 result.push_back( obj );
213 result.push_back( obj );
QByteArrayList CFxUIByteArrayList
QStringList CFxUIStringList
QValidator CFxUIValidator
QByteArray CFxUIByteArray
CFxUIString objectName() const
CFxUIObjectData * m_pData
CFxUIObjectImpl * m_pImpl
const CFxUIObject * parent() const
CFxUIVariant property(const char *name)
void setParent(CFxUIObject *parent)
bool setProperty(const char *name, const CFxUIVariant &value)
FxNativeHandle getHandle() const
CFxUIList< CFxUIObject * > children() const
void setHandle(FxNativeHandle handle)
void blockSignals(bool block)
bool signalsBlocked() const
CFxUIList< T > findChildren(const CFxUIString &name=CFxUIString())
void setObjectName(const CFxUIString &objectName)
GLuint const GLchar * name
GLsizei const GLfloat * value