摘要: http://developer.qt.nokia.com/wiki/Category:SimplifiedChinese::QtInternals 阅读全文
posted @ 2011-11-03 18:57 katago 阅读(212) 评论(0) 推荐(0)
摘要: http://developer.qt.nokia.com/wiki/BasicsOfPlugins_SimplifiedChinese http://developer.qt.nokia.com/wiki/QtPlugins_SimplifiedChinese 阅读全文
posted @ 2011-11-03 18:47 katago 阅读(263) 评论(0) 推荐(0)
摘要: C++ Extensions: Reference examples These examples show how QML can be extended from C++ in various ways. The code for these examples is used throughout the Extending QML in C++ reference documenta... 阅读全文
posted @ 2011-11-03 17:57 katago 阅读(222) 评论(0) 推荐(0)
摘要: http://doc.qt.nokia.com/4.7-snapshot/declarative-tutorials-extending-chapter4-custompropertytypes.html We can also use various other property types. QML has built-in support for the types listed in t... 阅读全文
posted @ 2011-11-03 17:23 katago 阅读(209) 评论(0) 推荐(0)
摘要: Qt slot 或者 using Q_INVOKABLE 都可以被qml调用 public: ... Q_INVOKABLE void clearChart(); signals: void chartCleared(); qml中对应onChartCl... 阅读全文
posted @ 2011-11-03 17:05 katago 阅读(186) 评论(0) 推荐(0)
摘要: http://doc.qt.nokia.com/4.7-snapshot/declarative-tutorials-extending-chapter1-basics.html ------------------------------------------------- 笔记: QML 各个Element对应的c++类(http://doc.qt.nokia.com/4.7-snapsh... 阅读全文
posted @ 2011-11-03 16:57 katago 阅读(223) 评论(0) 推荐(0)
摘要: Tutorial: Writing QML Extensions with C++ The Qt Declarative module provides a set of APIs for extending QML through C++ extensions. You can write extensions to add your own QML types, extend exist... 阅读全文
posted @ 2011-11-03 16:08 katago 阅读(346) 评论(0) 推荐(0)
摘要: 安装: qmake && make install 包含三个部分:components (qml文件)src(libstyleplugin.so) qmldesktopviewer components/Dial.qml 等文件安装到这个目录: /opt/QtSDK/Desktop/Qt/474/gcc/imports/QtDesktop/ /opt/QtSDK/Desk... 阅读全文
posted @ 2011-11-03 15:42 katago 阅读(509) 评论(0) 推荐(0)
摘要: http://developer.qt.nokia.com/wiki/How_to_expose_lists_to_QML Extending QML in C++ 4.7文档 http://doc.qt.nokia.com/4.7-snapshot/qml-extending-tutorial-index.html 阅读全文
posted @ 2011-11-03 15:25 katago 阅读(171) 评论(0) 推荐(0)