摘要: int width1 = this->width(); int height1 = this->height(); QWidget *m_mask = new QWidget(this); m_mask->resize (width1, height1); m_mask->move (0,0); m 阅读全文
posted @ 2022-10-11 15:52 ccc_zdh 阅读(859) 评论(0) 推荐(0)
摘要: private: typedef void (MainWindow::*pfunc)(); QHash<QString,pfunc> func_map_enter;void MainWindow::init_qmap(void) { func_map_enter.insert("page_nmes_ 阅读全文
posted @ 2022-10-11 15:50 ccc_zdh 阅读(113) 评论(0) 推荐(0)
摘要: 建议查看下系统凭据管理,是否git密码正确 阅读全文
posted @ 2022-10-08 08:15 ccc_zdh 阅读(44) 评论(0) 推荐(0)
摘要: 1.内核基本配置后(包含net,usb) 2.要手动执行ifconfig usb0 up,然后才能在ifconfig 显示usb0 阅读全文
posted @ 2022-09-22 09:27 ccc_zdh 阅读(73) 评论(0) 推荐(0)
摘要: 1.安装wsl2 管理员模式的powershell下执行wsl --install -d ubuntu,完成后重启。如安装过程中卡住,也可以重启在装 2.安装VcXsrv 3.linux配置 安装xfce4 # 首先需要查看Windows系统和WSL2通信使用的虚拟网卡地址$ sudo vim /e 阅读全文
posted @ 2022-09-22 09:25 ccc_zdh 阅读(233) 评论(0) 推荐(0)
摘要: /etc/profile 环境变量文件,这个是在用户登录后执行的,所以要想profile里面的开机启动程序自动运行,则必须要登录。当然也可以提前执行而不必等到登录,在/etc/init.d/ 下新建S99等级文件,在其中启动用户程序。另一种则采用自动登录,当然作为产品应用肯定前一种会更好,参考正点原 阅读全文
posted @ 2022-09-14 23:10 ccc_zdh 阅读(714) 评论(0) 推荐(0)
摘要: qt chart 以时间坐标轴为X轴,在添加数据时,时间转为整数时应转为毫秒单位的整数,同时应注意时间的设置以及转成毫秒的数值bit位数,如果以当前时间转为毫秒则已超出int(32bit)的范围 axisTime = new QDateTimeAxis;axisTime->setFormat("mm 阅读全文
posted @ 2022-09-02 17:29 ccc_zdh 阅读(1327) 评论(0) 推荐(0)
摘要: Slider{ id:sliderbar x:296 y:172 width: 530 height: 40 from: 0 to:1000 value: 500 stepSize: 1 onMoved:{ console.log("pos1 is %d",sliderbar.visualPosit 阅读全文
posted @ 2022-08-22 21:15 ccc_zdh 阅读(207) 评论(0) 推荐(0)
摘要: ProgressBar{ id:progressbar x:296 y:172 width: 530 height: 40 minimumValue: 0 maximumValue:1000 value: 500 style:ProgressBarStyle{ id:progressStyle ba 阅读全文
posted @ 2022-08-22 17:32 ccc_zdh 阅读(342) 评论(0) 推荐(0)
摘要: fatload mmc 0:1 80800000 zImage reading zImage4164040 bytes read in 228 ms (17.4 MiB/s) 读文件 读取mmc0 第一个分区的在Image文件到0x80800000 fatwrite mmc 1:1 80800000 阅读全文
posted @ 2022-08-17 16:50 ccc_zdh 阅读(562) 评论(0) 推荐(0)