码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果
leetcode -day21 Longest Substring Without Repeating Characters
?? 1、Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter...
分类:其他好文   时间:2014-05-26 05:03:19    阅读次数:172
qt中文乱码问题
首先,声明一下,QString 是不存在中文支持问题的,很多人遇到问题,并不是本身 QString 的问题,而是没有将自己希望的字符串正确赋给QString。 很简单的问题,"我是中文"这样写的时候,它是传统的 char 类型的窄字符串,我们需要的只不过是通过某种方式告诉QString 这四个汉字采...
分类:其他好文   时间:2014-05-26 02:45:44    阅读次数:325
CSS经验分享:如何书写可维护的CSS代码01
转自:http://www.cnblogs.com/hxling/archive/2013/02/21/2920520.html一、在样式表开头添加一个注释块,用以描述这个样式表的创建日期、创建者、标记等备注信息。Example Source Code:/*---------------------...
分类:Web程序   时间:2014-05-26 02:14:12    阅读次数:273
编译boost asio http/server 方法
这段时间学习boost 的asio 编程,想编译asio自带的http/server的程序,无奈在网上根本找不到方法,只能自己摸索学习。 登陆boost asio 的example 目录,(我 boost 安装在/opt目录下) cd /opt/boost_1_55_0/libs/asio/exam...
分类:其他好文   时间:2014-05-26 00:39:54    阅读次数:346
Rotate List
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.思路:这道...
分类:其他好文   时间:2014-05-26 00:06:39    阅读次数:250
LeetCode: Rotate List [060]
【题目】 Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, return 4->5->1->2->3->NULL. 【题意】 给定一个链表L,和非负数K,要求把链表的后k个节点移到链表前 【思路】 先将指针指向指向倒数第K个节点,然后...
分类:其他好文   时间:2014-05-25 18:20:06    阅读次数:252
Qt on Android: Android SDK安装
之前我在 《 Windows下Qt 5.2 for Android开发入门》一文中介绍了 Windows 下 Qt on Android 开发环境的搭建,略过了 Android SDK 的安装,实际还是有一些朋友会在这里遇到问题。这里再专门介绍一下 Android SDK 的安装。...
分类:移动开发   时间:2014-05-25 09:59:28    阅读次数:293
QT中关于窗口全屏显示与退出全屏的实现
近期在学习QT时遇到了很多问题这也是其中一个,个人通过在各种书籍和网络上的查阅找到了一些关于这方面的答案,希望能给大家一些帮助。首先,在QT中对于窗口显示常用的有这么几个方法可以调用:Qt全屏显示函数showFullScreen() Qt最大化显示函数 showMaximized()Qt最小化显示函...
分类:其他好文   时间:2014-05-25 03:49:29    阅读次数:251
android_常用UI控件_01_TextView2
显示图片和文字MainActivity.javapackagecom.example.android_textview_showqqface; importjava.lang.reflect.Field; importandroid.os.Bundle; importandroid.app.Activity; importandroid.graphics.Color; importandroid.graphics.drawable.Drawable; importandroid.text.H..
分类:移动开发   时间:2014-05-24 16:41:39    阅读次数:486
Light0J-1068 - Investigation
An integer is divisible by 3 if the sum of its digits is also divisible by 3. For example, 3702 is divisible by 3 and 12 (3+7+0+2) is also divisible by 3. This property also holds for the integer 9. ...
分类:其他好文   时间:2014-05-24 14:30:47    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!