CUSTOM_METAOBJECT(DeclarativeFontDialog, QFontDialog)
+// DeclarativeFrame
+DeclarativeFrame::DeclarativeFrame(QObject *parent) : DeclarativeWidgetProxy<QFrame>(parent)
+{
+ connectAllSignals(m_proxiedObject, this);
+}
+
+CUSTOM_METAOBJECT(DeclarativeFrame, QFrame)
+
// DeclarativeInputDialog
DeclarativeInputDialogAttached::DeclarativeInputDialogAttached(QObject *parent) : QObject(parent)
{
DeclarativeFontDialog(QObject *parent = 0);
};
+class DeclarativeFrame : public DeclarativeWidgetProxy<QFrame>
+{
+ DECLARATIVE_OBJECT
+
+ public:
+ DeclarativeFrame(QObject *parent = 0);
+};
+
class DeclarativeInputDialogAttached : public QObject
{
Q_OBJECT
qmlRegisterType<DeclarativeFileDialogAttached>();
qmlRegisterType<DeclarativeFileDialog>("QtGui", 1, 0, "FileDialog");
qmlRegisterType<DeclarativeFontDialog>("QtGui", 1, 0, "FontDialog");
+ qmlRegisterType<DeclarativeFrame>("QtGui", 1, 0, "Frame");
qmlRegisterType<DeclarativeInputDialogAttached>();
qmlRegisterType<DeclarativeInputDialog>("QtGui", 1, 0, "InputDialog");
qmlRegisterType<DeclarativeLabel>("QtGui", 1, 0, "Label");
LineEdit {
onTextChanged: console.log("Types: " + text)
}
+ Frame {
+ frameShape: Frame.Panel
+ frameShadow: Frame.Sunken
+ minimumWidth: 100
+ minimumHeight: 100
+ }
}
}
qdockwidget.h
qfocusframe.h
qfontcombobox.h
-qframe.h
qgraphicsview.h
qgraphicswidget.h
qgroupbox.h