摘要: ui->listWidget->setViewMode(QListView::ListMode); //设置显示模式为列表模式 //设置列表 QListWidgetItem *item=new QListWidgetItem; item->setSizeHint(QSize(100,35));//行 阅读全文
posted @ 2021-03-06 15:44 liuyj_vv 阅读(1107) 评论(0) 推荐(0) 编辑
摘要: 1. vs2013下载 ed2k://|file|cn_visual_studio_professional_2013_with_update_5_x86_dvd_6815749.iso|5517246464|DEA9BB85B73F6A1F23E638DFE06CEF07|/ 2. qt5.8.0 阅读全文
posted @ 2021-02-24 15:10 liuyj_vv 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 1. 导入 recyclerview 库com.android.support:recyclerview 阅读全文
posted @ 2019-03-04 16:41 liuyj_vv 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-04 15:37 liuyj_vv 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 1. 在 gitblit 上创新新的版本库,复制 http 地址 2. android studio 配置 a. VCS-->Enable Version control integration--> 选择Git,使能git b. VCS-->Git-->Remotes --> 点击加号 --> 贴 阅读全文
posted @ 2019-01-10 09:48 liuyj_vv 阅读(947) 评论(0) 推荐(0) 编辑
摘要: 1. 通过 .pk8 和 .x509.pem 文件生成 keystore 文件,bat脚本 2. android studio 配置 File-->Project Structure-->app-->signing 遇到一个问题:Name输入为config后,不能正确工作 阅读全文
posted @ 2019-01-09 18:12 liuyj_vv 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 一. android studio依赖 File-->Project Structure >app-->Dependencies--> 搜索:recyclerview-v7 二:使用 1.两个布局文件, 一个包含 <android.support.v7.widget.RecyclerView/> , 阅读全文
posted @ 2019-01-08 14:57 liuyj_vv 阅读(782) 评论(0) 推荐(0) 编辑
摘要: 第一个fragment代码: 第二个fragment代码: 切换代码: 遇到的问题: 因为进入下一个fragment,和返回上一个fragment时。是先完全关闭了当前显示的fragment后再打开另一个fragment, -->所以页面上的焦点将会跳转到android页面的其他焦点过渡。 -->若 阅读全文
posted @ 2018-12-29 09:22 liuyj_vv 阅读(3384) 评论(0) 推荐(0) 编辑
摘要: 获取eth0的ip: getIpAddrForInterfaces("eth0") 获取eth0的子网掩码:getIpAddrMaskForInterfaces("eth0") 获取默认网关:getGateWay() 阅读全文
posted @ 2018-12-26 10:06 liuyj_vv 阅读(6595) 评论(0) 推荐(0) 编辑
摘要: 删除 阅读全文
posted @ 2018-12-17 14:13 liuyj_vv 阅读(79) 评论(0) 推荐(0) 编辑