码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
seaJS 模块加载过程分析
先看一个seajs的官方example, 以下以seajs.use('main')为例, 解析加载mod main的过程//app.htmlseajs.use("main"); //main.jsdefine(function(require) { var Spinning = require('....
分类:Web程序   时间:2014-07-30 20:38:44    阅读次数:301
[LeetCode] Binary Tree Maximum Path Sum(递归)
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example: Given the below binary tree, 1 ...
分类:其他好文   时间:2014-07-30 20:33:34    阅读次数:193
Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted Array IIFollow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =...
分类:其他好文   时间:2014-07-30 20:22:54    阅读次数:139
jQuery -- 如何使用jQuery判断某个元素是否存在
通常我们要判断某个元素是否存在是用:[javascript]view plaincopyif(document.getElementById('example')){//dosomething}else{//dosomethingelse}然而在使用jQuery时,我们可以使用:[javascrip...
分类:Web程序   时间:2014-07-30 20:17:44    阅读次数:269
关于Qt半自动内存管理的思考及实验
一时兴起,对Qt感了兴趣,决心想要研究一下。按网上资料配好环境,Windows 7 64bit + Qt 5.3.1 + VS2010.根据《C++ GUI Qt4 编程》这本书,写出了第一个程序HelloQt,程序如下:#include #include #if _MSC_VER >= 1600#...
分类:其他好文   时间:2014-07-30 20:15:24    阅读次数:280
Android-Adding SystemService
This wiki page will demonstrate - "How to add system service to android framework". Example - "Adding a Bluetooth HID service" - taken as reference of...
分类:移动开发   时间:2014-07-30 20:03:54    阅读次数:364
QT static link App cmake CMakeLists.txt
project(ovw)cmake_minimum_required(VERSION2.8)#turnonshowcompilecmdlineSET(CMAKE_VERBOSE_MAKEFILEon)SET(CMAKE_PREFIX_PATH"F:/Qt5.3.1/win32_static_2013")#SetsourcedirofcppSET(SRC_DIR${PROJECT_SOURCE_DIR}/..)SET(QTLIB_DIR"F:/Qt5.3.1/win32_static_2013")#tosetc..
分类:移动开发   时间:2014-07-30 17:51:44    阅读次数:555
HDU 4324 Triangle LOVE 拓扑排序
Problem Description Recently, scientists find that there is love between any of two people. For example, between A and B, if A don’t love B, then B must love A, vice versa. And there is no possibilit...
分类:其他好文   时间:2014-07-30 17:38:04    阅读次数:287
qt设计器中使用自定义控件
当qt设计器中的控件不能满足需要时,这时就要自定义控件。然后再在qt设计器中使用。 在qt设计器中使用自定义控件时,可以用提升。 从控件派生出新的类: 然后在qt设计器中右键需要提升的控件: 填入提升的类: 最后要注意,在工程文件(.pro)中的 INCLUDEPATH 中指定自定义类头文件的位置: INCLUDEPATH...
分类:其他好文   时间:2014-07-30 17:31:44    阅读次数:201
Binary Tree Postorder Traversal leetcode java
题目:Given a binary tree, return the postorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [3...
分类:编程语言   时间:2014-07-30 11:33:23    阅读次数:258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!