码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
Qt官方教程翻译——The QML Reference
附网址:http://qt-project.org/doc/qt-5/qmlreference.html The QML Reference QML是用来创建高度动态应用程序的声明式语言。在QML中,应用程序通过类似UI组件这样的模块搭建起来,通过设置这些模块的属性可以定义应用程序的行为。当与JavaScript结合起来时,应用程序的行为将变得脚本化。另外,QML大量使用Qt,它允许Q...
分类:其他好文   时间:2014-06-08 17:55:58    阅读次数:355
Qt on Android:QML 语言基础
在《Qt on Android:Qt Quick 简介》中我们提到 QML 语法和 Json 类似,请参考《Qt on Android: http下载与Json解析》查看 Json 语法。当然这里我们是期望从零开始也能学会 QML ,所以呢,你也可以直接往下看。...
分类:移动开发   时间:2014-06-08 16:15:43    阅读次数:436
LeetCode: Populating Next Right Pointers in Each Node II [117]
【题目】 Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous solution still work? Note: You may only use constant extra space. For example, Given the following binary tre...
分类:其他好文   时间:2014-06-08 15:46:22    阅读次数:303
LeetCode: Pascal's Triangle II [119]
【题目】 Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to use only O(k) extra space? 【题意】 给定行索引k, k从0开始,返回该索引指向的杨辉三角的行 要求只能使用O(k)的额外空间 【思路】 ...
分类:其他好文   时间:2014-06-08 15:46:02    阅读次数:272
quick-cocos2d-x教程10:实现血条效果。
血条是常见功能,可以通过一个血条背景和一个不断改变得血条宽度,来实现少血。 在MainScence.lua中,先改代码: function MainScene:ctor()     local bg = display.newSprite("bg01.jpg")     bg:setPosition(display.cx, display.cy)     self:addChild(bg...
分类:其他好文   时间:2014-06-08 15:34:24    阅读次数:347
leetcode——Reverse Words in a String 旋转字符串中单词顺序(AC)
题目如下: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". click to show clarification. Clarification: What co...
分类:其他好文   时间:2014-06-08 14:58:13    阅读次数:231
Qt官方教程翻译——Qt Quick
附网址:http://qt-project.org/doc/qt-5/qtquick-index.html Qt Quick Qt Quick组件是编写QML应用程序的标准库。Qt QML组件提供了QML的引擎和语言基础,Qt Quick组件则提供了QML创建用户图形界面的所有基本类型。它提供了一个可视化的画布,以及创造可视化组件、接收用户输入、创造数据模型和视图、延迟实例化对象等多种...
分类:其他好文   时间:2014-06-08 10:31:41    阅读次数:381
赵雅智_使用SQLiteDatabase操作SQLite数据库及事务
知识点详解:http://blog.csdn.net/zhaoyazhi2129/article/details/9025995 具体代码: MainActivity.java package com.example.android_sqlite; import android.app.Activity; import android.os.Bundle; import com.exam...
分类:数据库   时间:2014-06-08 09:25:35    阅读次数:353
LeetCode: Pascal's Triangle [118]
【题目】 Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ] 【题意】 给定整数numRows, 要求生成杨辉三角的前numRows行 【思路】 杨辉三角有以下特点: 1. 第n行有n个元素 ...
分类:其他好文   时间:2014-06-08 09:17:06    阅读次数:196
Qt官方教程翻译——QML Coding Conventions
附网址:http://qt-project.org/doc/qt-5/qml-codingconventions.html QML Coding Conventions 这个文档包含了QML的编码规范,我们将这个规范应用在全部文档和例程当中并推荐大家遵守。 QML Object Declarations 在我们的文档和例子中,QML object attributes总是像...
分类:其他好文   时间:2014-06-08 08:20:42    阅读次数:226
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!