报错提示: https://www.it610.com/article/1971236.htm Linux设备编译提示: http://qt-project.org/doc/qt-5/linux.html 嵌入式设备编译提示: https://doc.qt.io/qt-5/configure-lin ...
分类:
其他好文 时间:
2020-05-22 17:36:09
阅读次数:
50
Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2020-05-22 13:12:40
阅读次数:
54
Description Given an array A of integers, return the number of (contiguous, non empty) subarrays that have a sum divisible by K. Example 1: Note: 1 思路 ...
分类:
编程语言 时间:
2020-05-22 12:29:23
阅读次数:
47
函数名 //桌面宽度高度 static int deskWidth(); static int deskHeight(); //程序文件名称+当前所在路径 static QString appName(); static QString appPath(); //初始化随机数种子 static vo ...
分类:
其他好文 时间:
2020-05-22 09:55:06
阅读次数:
62
函数名 //设置标签颜色 static void setLabStyle(QLabel *lab, quint8 type, const QString &bgColor = "", const QString &textColor = ""); //设置窗体居中显示 static void set ...
分类:
其他好文 时间:
2020-05-22 09:52:19
阅读次数:
45
一、前言 这个IP地址输入框控件,估计写烂了,网上随便一搜索,保证一大堆,估计也是因为这个控件太容易了,非常适合新手练手,一般的思路都是用4个qlineedit控件拼起来,然后每个输入框设置正则表达式过滤只能输入3位数字,然后安装事件过滤器识别回车自动跳到下一个输入框。关于如何设置正则表达式过滤,这 ...
分类:
其他好文 时间:
2020-05-22 09:43:46
阅读次数:
50
Given a m * n matrix of ones and zeros, return how many square submatrices have all ones. Example 1: Input: matrix = [ [0,1,1,1], [1,1,1,1], [0,1,1,1] ...
分类:
其他好文 时间:
2020-05-22 09:28:21
阅读次数:
57
1.Qt知识点 长期更新 https://blog.csdn.net/ssspppfff/article/details/103679857 2.QtableView设置样式 1)设置表头背景色 https://www.cnblogs.com/ruandahua/p/11251139.html 2) ...
分类:
其他好文 时间:
2020-05-22 09:27:07
阅读次数:
68
先贴几篇有意思的讨论 https://www.qt.io/blog/2010/06/17/youre-doing-it-wrong#commento-login-box-container https://www.qt.io/blog/2006/12/04/threading-without-the ...
分类:
编程语言 时间:
2020-05-22 09:22:06
阅读次数:
77
body 的组成结构 body 部分包含了 HEADER、CONTAINER、FOOTER,其中 CONTAINER 部分又包含了 SIDEBAR、CONTENT、QUICK SIDEBAR 几个部分。body部分源码折叠后截图如下: Header 页面顶部 Header contains of l ...
分类:
其他好文 时间:
2020-05-21 19:34:43
阅读次数:
60