码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
Qt多文档实现屏幕空间(类似监控多画面)效果
Qt多文档程序中的每一个子窗口就是一个个的画面,子窗口可以自由拖动,激活来使用。现实中,类似于监控的多画面同时排列显示比较常见,也比较实用。实现思路:1、响应窗口的resizeEvent事件2、根据分割数目,通过setGeometry动态设置子窗口相对位置代码如下: 1 #ifndef MAINWI ...
分类:其他好文   时间:2020-03-16 14:59:35    阅读次数:118
684. 缺少的字符串
684. 缺少的字符串 中文English 给出两个字符串,你需要找到缺少的字符串 样例 样例 1: 输入 : str1 = "This is an example", str2 = "is example" 输出 : ["This", "an"] 注意事项 输出时字符串顺序为输入字符串内的顺序 c ...
分类:其他好文   时间:2020-03-16 12:26:23    阅读次数:80
[LeetCode] 556. Next Greater Element III
下一个更大的元素III。版本三其实跟前两个版本几乎没什么关系,是一道找next permutation的题。题意是给一个整数,请找出Integer范围内用到相同数字但是比当前数字大的数字。例子, Example 1: Input: 12 Output: 21 Example 2: Input: 21 ...
分类:其他好文   时间:2020-03-16 09:26:43    阅读次数:36
python :practice integrated decorator three categories
python decorator is a crucial(vital,signifiant) process. decorator mail two category 1:principal function no arguments(parameters): for example: princ ...
分类:编程语言   时间:2020-03-15 22:19:20    阅读次数:57
React之react-router(connected-react-router、react-router-dom)
文档: react-router-dom官方文档:https://reacttraining.com/react-router/web/guides/quick-start connected-react-router文档(GitHub):https://github.com/supasate/co ...
分类:其他好文   时间:2020-03-15 22:17:17    阅读次数:68
React动态路由和get传值
/* react路由的配置: 1、找到官方文档 https://reacttraining.com/react-router/web/example/basic 2、安装 cnpm install react-router-dom --save 3、找到项目的根组件引入react-router-do ...
分类:其他好文   时间:2020-03-15 18:48:36    阅读次数:49
Docker 使用杂记 - 最佳实践尝试 - 实战
[TOC] Docker 使用杂记 最佳实践尝试 实战 本文记录了一个项目中使用docker构建环境的过程 Docker简介 Docker NB!好了 其他简介自己看网上吧 项目背景 内在原因 这次的代码基于一个特定的tensorflow版本构建(才不是tf2跑不起来呢! 外在原因 与别人分享代码的 ...
分类:其他好文   时间:2020-03-15 17:36:41    阅读次数:80
228. Summary Ranges
问题: 给出给定数组的描述: Example 1: Input: [0,1,2,4,5,7] Output: ["0->2","4->5","7"] Explanation: 0,1,2 form a continuous range; 4,5 form a continuous range. Ex ...
分类:其他好文   时间:2020-03-15 15:03:03    阅读次数:53
归并排序(使用Python描述)
描述 归并排序和快速排序都是使用分而治之的思维.归并排序侧重点是最终结果的合并.快速排序的重点则是放在了子问题的分解上面. 代码一 def quick_sort(arr): len_arr = len(arr) if len_arr 参考 "分而治之" "算法设计与分析理论" "Python排序算法 ...
分类:编程语言   时间:2020-03-15 11:32:23    阅读次数:63
[LeetCode] 739. Daily Temperatures
每日温度。题意是给一个数组,表示每天的气温,请返回一个数组,对应位置的输入是你需要再等待多久温度才会升高超过该日的天数。如果之后都不会升高,请在该位置用 0 来代替。例子, For example, given the list of temperatures T = [73, 74, 75, 71 ...
分类:其他好文   时间:2020-03-15 10:02:10    阅读次数:54
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!