上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 42 下一页

2020年12月18日

Qt embedded resources 图片资源等嵌入到exe里面

摘要: Note the :/ part in url(:/resources/pixmaps/close.png). That's needed for embedded resources. https://stackoverflow.com/questions/22109342/background- 阅读全文

posted @ 2020-12-18 18:15 liujx2019 阅读(134) 评论(0) 推荐(0) 编辑

Qt QToolBox Tab 高度的设置,不同 Tab 高度不同

摘要: After speaking with Qt support, the only way I found was to assign an empty icon to all tabs, and set the icon-size to the desired height. By laurapon 阅读全文

posted @ 2020-12-18 18:14 liujx2019 阅读(841) 评论(0) 推荐(0) 编辑

QGroupBox 的派生类,在构造函数中 setStyleSheet 不起作用

摘要: 打开 ui_xxx.h 可以看到,在 Qt Creator 中创建的对象,会在构造函数之后 setStyleSheet. 所以会覆盖构造函数中设定的 QSS. 所以,必须由上层显式的设置 QSS. QtExtGroupBox_1 = new QtExtGroupBox(tabWidget_1); Q 阅读全文

posted @ 2020-12-18 15:27 liujx2019 阅读(292) 评论(0) 推荐(0) 编辑

2020年12月17日

GUI 数字要右对齐,有小数点的要对齐小数点

摘要: https://ux.stackexchange.com/questions/13795/is-there-a-standard-to-left-justify-text-and-right-justify-numeric-values 简而言之,这样可以对齐数位,易于肉眼比较大小 English 阅读全文

posted @ 2020-12-17 16:01 liujx2019 阅读(113) 评论(0) 推荐(0) 编辑

Openstack Swift 添加和删除 custom metadata name,通过 libcurl

摘要: X-Container-Meta-name,其中 name 可以随便写,name 之前的部分不能改动。 对应的,删除使用 X-Remove-Container-Meta-name,删除时要写个string,内容随意,但不能是0个字符,也不能是空格。并且注意“Meta”不能少。 int add_hea 阅读全文

posted @ 2020-12-17 11:11 liujx2019 阅读(167) 评论(0) 推荐(0) 编辑

2020年12月16日

Windows Error Reporting, Mini dump 2, Full dump 1

摘要: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\xxx.exe DumpType Specify one of the following dump types: 0: Custom d 阅读全文

posted @ 2020-12-16 16:16 liujx2019 阅读(118) 评论(0) 推荐(0) 编辑

英语邮件结尾时常用的20个句子

摘要: 出处 https://www.linkedin.com/pulse/20140903131536-29650941-20-phrases-for-closing-an-email By Matt Schmid A common problem We often hear how writing em 阅读全文

posted @ 2020-12-16 14:03 liujx2019 阅读(803) 评论(0) 推荐(0) 编辑

QT 编译时 Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'.

摘要: 总之,是Qt Creator 的 bug. 只能用文本编辑器修改 .ui 文件来消除这个 warning. It means that inside the .ui XML file, the element named "layoutWidget" has already been used so 阅读全文

posted @ 2020-12-16 13:41 liujx2019 阅读(1325) 评论(0) 推荐(0) 编辑

QVBoxLayout 不能移动

摘要: QVBoxLayout 本身是不能移动的。 但如果把它放到另一个控件上面,例如一个 QWidget, 那么这个 QWidget 就可以像托盘一样托住 QVBoxLayout。 于是移动 QWidget 的同时,QVBoxLayout 就跟着一起移动了。 阅读全文

posted @ 2020-12-16 13:36 liujx2019 阅读(271) 评论(0) 推荐(0) 编辑

QTabWidget size depending on current Tab

摘要: https://stackoverflow.com/questions/29128936/qtabwidget-size-depending-on-current-tab 没看懂但是感觉好厉害 阅读全文

posted @ 2020-12-16 13:32 liujx2019 阅读(55) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 42 下一页

导航