上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 42 下一页

2019年11月18日

qt 鼠标拖动窗口 跳动 解决

摘要: 因为获取当前的位置,似乎没有把标题栏的高度记进去。 所以移动前,得考虑到标题栏的高度。 用以下方式获取标题栏高度: QApplication::style()->pixelMetric(QStyle::PM_TitleBarHeight); 阅读全文

posted @ 2019-11-18 14:19 liujx2019 阅读(768) 评论(0) 推荐(0) 编辑

2019年11月15日

c语言 字符串大小写转换

摘要: https://www.programmingsimplified.com/c/program/c-program-change-case https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strlwr-s-strlwr 阅读全文

posted @ 2019-11-15 18:17 liujx2019 阅读(1011) 评论(0) 推荐(0) 编辑

2019年11月13日

qt 怎么让程序自带字体,就是说在操作系统上没有的字体

摘要: 字体要加到.qrc文件中 QString Widget::loadFontFamilyFromTTF() { static QString font; static bool loaded = false; if(!loaded) { loaded = true; int loadedFontID 阅读全文

posted @ 2019-11-13 17:40 liujx2019 阅读(613) 评论(0) 推荐(0) 编辑

2019年11月11日

Windows 强制删除文件夹和子文件

摘要: rd /s /q dir_name 阅读全文

posted @ 2019-11-11 16:04 liujx2019 阅读(274) 评论(0) 推荐(0) 编辑

Inno Setup 删除文件夹 DelTree

摘要: Pascal Scripting: DelTree Prototype: function DelTree(const Path: String; const IsDir, DeleteFiles, DeleteSubdirsAlso: Boolean): Boolean; Description: 阅读全文

posted @ 2019-11-11 15:48 liujx2019 阅读(1688) 评论(0) 推荐(0) 编辑

Pascal 字符串

摘要: Dancing with Strings http://baskent.edu.tr/~tkaracay/etudio/ders/prg/pascal/PasHTM1/pas/pasl1007.html Hi ! We meet again ! Now, I would like to discus 阅读全文

posted @ 2019-11-11 15:46 liujx2019 阅读(296) 评论(0) 推荐(0) 编辑

Ubuntu 安装 Qt, 安装辅助软件

摘要: sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev sudo apt-get install gcc g++ sudo apt-get install libqt4-dev sudo apt-get install build-essentia 阅读全文

posted @ 2019-11-11 15:32 liujx2019 阅读(157) 评论(0) 推荐(0) 编辑

2019年11月9日

Inno Setup 大师 Tlama

摘要: https://stackoverflow.com/users/960757/tlama 阅读全文

posted @ 2019-11-09 10:52 liujx2019 阅读(147) 评论(0) 推荐(0) 编辑

如何在 Inno Setup 中执行命令行的命令

摘要: Pascal Scripting: Exec Prototype: function Exec(const Filename, Params, WorkingDir: String; const ShowCmd: Integer; const Wait: TExecWait; var ResultC 阅读全文

posted @ 2019-11-09 10:14 liujx2019 阅读(4023) 评论(0) 推荐(0) 编辑

Inno Setup, Pascal 字符串带双引号如何写

摘要: Windows 的路径中如果有空格,就需要用双引号括起来。只能填 ASCII-Code-Number (decimal),不能用一般的 escape 方法。 #34 + path + #34 查询这个表的第一列 阅读全文

posted @ 2019-11-09 10:09 liujx2019 阅读(754) 评论(0) 推荐(0) 编辑

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 42 下一页

导航