上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页

2021年5月16日

摘要: Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Item { anchors.fill: parent Rectangle { id: rect anchors.fill: parent anchors 阅读全文
posted @ 2021-05-16 00:01 lodger47 阅读(29) 评论(0) 推荐(0)

2021年5月15日

摘要: Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Item { anchors.fill: parent Rectangle { id: rectLeft anchors.left: parent.lef 阅读全文
posted @ 2021-05-15 23:40 lodger47 阅读(30) 评论(0) 推荐(0)
摘要: 锚点布局 [比x / y 直接定位更加舒服] 任何一个可视组件必须要有高度,宽度,x, y坐标 // 锚点填充 Rectangle { anchors.fill: parent // width: parent.width // height: parent.height color: "red" 阅读全文
posted @ 2021-05-15 23:27 lodger47 阅读(89) 评论(0) 推荐(0)
摘要: 发送命令 void* redisCommand(redisContext c,const char format,...); 参数 返回值 返回值是一个void类型的指针,实际为指向一个redisReply类型的指针 typedef struct redisReply{ // 命令执行结果的返回类型 阅读全文
posted @ 2021-05-15 10:04 lodger47 阅读(135) 评论(0) 推荐(0)
摘要: import QtQuick 2.9 // 导入模块 import QtQuick.Window 2.2 import QtQuick.Controls 2.2 import "./Jiejs.js" as Jie // 导入jswenjian1 Window { visible: true wid 阅读全文
posted @ 2021-05-15 00:30 lodger47 阅读(127) 评论(0) 推荐(0)
摘要: import QtQuick 2.9 // 导入模块 import QtQuick.Window 2.2 import QtQuick.Controls 2.2 // 导入的模块 Window { visible: true width: 640 height: 480 title: qsTr("H 阅读全文
posted @ 2021-05-15 00:10 lodger47 阅读(66) 评论(0) 推荐(0)

2021年5月14日

摘要: redis两种持久化: + rdb形式-默认方式 - 特点: - 快照的方式 - 存储的是内存的数据 - 按照一定的频率做数据存储 - 缺点: - 存储频率太高,存储效率低 - 存储频率太低,同步不及时 - 优点: - 数据恢复要快一些 + Aof形式: - 特点: - 存储的是命令 - 优点: - 阅读全文
posted @ 2021-05-14 17:50 lodger47 阅读(29) 评论(0) 推荐(0)
摘要: 命令 默认直接连接 远程连接-h 192.168.1.20 -p 6379 ping:测试连接是否存活如果正常会返回pong echo:打印 select:切换到指定的数据库,数据库索引号 index 用数字值指定,以 0 作为起始索引值 quit:关闭连接(connection) auth:简单密 阅读全文
posted @ 2021-05-14 16:36 lodger47 阅读(54) 评论(0) 推荐(0)
摘要: % 跳转到相配对的括号 gD 跳转到局部变量的定义处 '' 跳转到光标上次停靠的地方, 是两个', 而不是一个" mx 设置书签,x只能是a-z的26个字母 `x 跳转到书签处("`"是1左边的键) > 增加缩进,"x>"表示增加以下x行的缩进 < 减少缩进,"x<"表示减少以下x行的缩进 { 跳到 阅读全文
posted @ 2021-05-14 13:23 lodger47 阅读(902) 评论(0) 推荐(0)
摘要: ?|/xxx 在回车 使用`n|N`上下选择 w:到下一个单词的开头 e:到下一个单词的结尾 *:匹配光标在当前所在的单词,移动光标到下一个 使用`n|N`上下选择 #:移动光标到上一个 使用`n|N`上下选择 阅读全文
posted @ 2021-05-14 13:20 lodger47 阅读(336) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页

导航