
Qt Quick
文章平均质量分 81
ape_neu
这个作者很懒,什么都没留下…
展开
-
构建和安装 QtComponents
首先,要到gitorious上获取源码,地址:http://qt.gitorious.org/qt-components,使用如下命令git clone git://gitorious.org/qt-components/qt-components.git 下载完毕后,转载 2011-08-11 16:53:57 · 1508 阅读 · 0 评论 -
Qt 4访问Sqlite数据库
sqlite的优势1、免配置,和access一样,只要把数据库文件通过ftp上传到服务器上就可以使用,不需要服务器的额外支持2、备份方便,因为只是一个文件,只要复制一份该文件,就能备份整个数据库3、虽然是轻量级数据库,但他支持最大 2tb 的单个库文件。4、快,无转载 2011-08-11 16:09:20 · 774 阅读 · 0 评论 -
The Qt Quick Carousel Tutorial
IntroductionThis tutorial will show you how to create an animated menu with items rotating in a pseudo 3D space. You will also be shown ho转载 2011-10-11 22:34:44 · 910 阅读 · 0 评论 -
Smooth Image Flicking in Qt Quick
IntroductionThis short article covers how to create a smoothly flickable image browser in Qt Quick. We will use aListView[developer.qt转载 2011-10-11 22:12:45 · 840 阅读 · 0 评论 -
QML使用数据库存储Model数据
(本文为utf-8格式,可以直接使用相应代码) Models 是用来提供数据的,它既可以以 QML 的形式出现也可以是 C++的类。QML中的Model有ListModel、XmlListModel、VisualItemModel;C++ 中的 Model 有 QAb原创 2011-09-28 02:10:59 · 7904 阅读 · 1 评论 -
mix QML and C++
文章属于原创,转载请注明出处,有一部份内容保持英文,方便理解 我们知道 ,通过Qt Declarative module ,C++可以动态创建和操纵QML的组件(cpmponents) ,我们利用这些API使用C++来拓展我们的QML程序,反过原创 2011-09-23 21:19:16 · 2477 阅读 · 0 评论 -
Qt Declarative Module之QDeclarativeEngine
int qmlRegisterInterface ( const char * typeName )This template function registers the C++ type in the QML system under the name typeName.原创 2011-09-24 17:00:42 · 1640 阅读 · 0 评论 -
QML Data Models 数据模型<一>
在QML中,ListView、GridView、Repeater 需要数据模型提供数据,然后在显示。而如何显示则需要一个代理(delegate)来定义。模型可以是静态的,也能够动态添加删除或修改。delegate可以绑定到model的date roles 。例如: i原创 2011-09-10 19:13:41 · 4250 阅读 · 0 评论 -
QML与现有Qt UI代码的整合
请尊重原创作品和译文。转载请保持文章完整性,并以超链接形式注明原始作者地址http://blog.youkuaiyun.com/changsheng230,方便其他朋友提问和指正。将QML整合到基于QWidget UI程序的方法有很多种,而具体采用哪种方法取决于现有UI代码的特性。与转载 2011-08-11 17:13:36 · 604 阅读 · 0 评论 -
QML语言开发MeeGo应用程序示例
简单看看MeeNotes下的实际代码src目录下的src.pro,红色部分即是与使用libmeegotouch开发所不同之处 :TEMPLATE = app TARGET = ../MeeNotes LIBS += -lQtComponents HE原创 2011-08-11 17:04:27 · 680 阅读 · 0 评论 -
Qt-Quick六大开源组件
Qt Components项目评价星级:五星地址:http://qt.gitorious.org/qt-components/评语:很明显,从名字就可以看出来,这是官方提供的QML组件,是探索Qt/QML组建和模型创造的项目。同时,如果熟悉MeeGo开发的同学会发现,转载 2011-08-11 16:56:21 · 4277 阅读 · 0 评论 -
杂记
void SlideShow::openPlaylist() { QString path = QFileDialog::getOpenFileName(this); if (!path.isEmpty()) { playlis原创 2011-09-28 16:35:04 · 470 阅读 · 0 评论