上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 41 下一页

2019年5月22日

[Inno Setup] How to create a OuterNotebook/welcome page in the uninstaller

摘要: By Martin Prikryl https://stackoverflow.com/questions/42625626/inno-setup-how-to-create-a-outernotebook-welcome-page-in-the-uninstaller You create the 阅读全文

posted @ 2019-05-22 11:20 liujx2019 阅读(489) 评论(0) 推荐(0)

2019年5月21日

[Qt] QString 常用函数

摘要: 1. append(), prepend() 2. count(), size(), length() 这三个函数是相同的 3. trimmed() 去掉首尾空格 4. isNull() 对未赋值的字符串,返回true,对空字符串返回 false,例如“\0”. 5. contains() 可指定是 阅读全文

posted @ 2019-05-21 15:02 liujx2019 阅读(956) 评论(0) 推荐(0)

[Qt] 数字转换为 QString

摘要: 数字转换为 QString 静态函数 number(), asprintf() 公用函数 setNum(), sprintf() QString::number(), setNum() 可转换进制 阅读全文

posted @ 2019-05-21 14:56 liujx2019 阅读(5631) 评论(0) 推荐(0)

[Qt] 默认的槽函数 例如 on_pushButton_clicked()

摘要: 在 setupUI 函数里有一句: 它假设槽函数的名称是 阅读全文

posted @ 2019-05-21 13:53 liujx2019 阅读(4197) 评论(0) 推荐(0)

2019年5月16日

[Windows API] Listing the Files in a Directory,可用来数文件夹下有多少个子文件(夹)

摘要: 转载 阅读全文

posted @ 2019-05-16 11:19 liujx2019 阅读(269) 评论(0) 推荐(0)

2019年5月15日

[Hands-on-Machine-Learning-master] 02 Housing

摘要: 用到的函数 numpy.random.permutation随机排列一个序列,返回一个排列的序列。 ilocPandas中的 iloc 是用基于整数的下标来进行数据定位/选择iloc 的语法是 data.iloc[<row selection>, <column selection>], iloc 阅读全文

posted @ 2019-05-15 15:47 liujx2019 阅读(209) 评论(0) 推荐(0)

2019年5月10日

time_t 是不定长的,如果写在superblocck里,要用定长的类型

摘要: 例如 time_t 变量在32位机上生成,在64位机上读出,这样两个连续的 time_t 变量(例如在结构体中),会变当成一个变量。 阅读全文

posted @ 2019-05-10 11:16 liujx2019 阅读(117) 评论(0) 推荐(0)

2019年5月6日

[Batch 脚本] 批量生成文件夹

摘要: @echo off echo start set time=30000 echo %time% for /l %%i in (1,1, %time%) do ( echo %%i% md "x:\TestFolder"%%i% ) pause 阅读全文

posted @ 2019-05-06 17:31 liujx2019 阅读(227) 评论(0) 推荐(0)

2019年5月5日

[Qt] 打开文件夹 Windows

摘要: bool ok = QDesktopServices::openUrl(QUrl("c:/users/administrator/desktop/dir")); 有些文件夹打不开,例如 C:\Users\Administrator。 把QUrl 换成QUrl::fromLocalFile 即可 bo 阅读全文

posted @ 2019-05-05 10:49 liujx2019 阅读(454) 评论(0) 推荐(0)

[Qt] 文本文件读写, 摘自官方文档

摘要: Reading Files Directly The following example reads a text file line by line: The QIODevice::Text flag passed to open() tells Qt to convert Windows-sty 阅读全文

posted @ 2019-05-05 09:56 liujx2019 阅读(227) 评论(0) 推荐(0)

上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 41 下一页

导航