03 2022 档案

摘要:[virtual] qintptr QAbstractSocket::socketDescriptor()const 如果QAbstractSocket object是有用的返回本地socket descriptor,如果不能用返回-1; 如果socket用QNetworkProxy,本地socke 阅读全文
posted @ 2022-03-30 11:19 不是一般的水 阅读(171) 评论(0) 推荐(0)
摘要:windowsflags is either a type or a hints; type:widgets windows dialog and etc hints: used to customize the performance of top-level windows 阅读全文
posted @ 2022-03-24 22:31 不是一般的水 阅读(53) 评论(0) 推荐(0)
摘要:&&是与,因为带钩子所以连在一起,必须都是true才是true ||是或,因为是平行的所以,有一个true就是true 阅读全文
posted @ 2022-03-14 15:10 不是一般的水 阅读(54) 评论(0) 推荐(0)
摘要:setModel()来实现view 的model显示 modelindex 是用来在model里面定位数据的,他是QAbstractItemModel的子类 通过item view,delegates,selection models,在model里来定位一个item。 每个index由三部分组成: 阅读全文
posted @ 2022-03-11 23:39 不是一般的水 阅读(4338) 评论(0) 推荐(0)
摘要:ctrl+shift+r, 替换所有变量 F4 头文件与源文件切换 shift+F2 声明与定义之间切换 ctrl+i 代码格式化 ctrl+space 代码补全 alt+0 侧面关闭 alt+1~9.... 阅读全文
posted @ 2022-03-11 16:35 不是一般的水 阅读(28) 评论(0) 推荐(0)