会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ccc_zdh
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2022年10月13日
git mergetool
摘要: win系统下,直接修改config文件即可,但要注意win和linux的路径差异,通常config文件在C:\Users\用户名\.gitconfig 以下是配置好的 [diff] tool = BComparePortable[difftool "BComparePortable"] cmd =
阅读全文
posted @ 2022-10-13 10:46 ccc_zdh
阅读(172)
评论(0)
推荐(0)
2022年10月12日
在同一个qlabel 中显示不同颜色,不同字体,不同大小的内容
摘要: 第一种 测试后能改变颜色,但换成font size 就无效,即后面的label2 QLabel *label1 = new QLabel(this); label1->setText(QString("<font color = #0086D1 >%1</font>").arg("第1行颜色1:")
阅读全文
posted @ 2022-10-12 10:32 ccc_zdh
阅读(2000)
评论(0)
推荐(0)
2022年10月11日
qt dialog 弹出后背景变暗透明
摘要: 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
阅读(860)
评论(0)
推荐(0)
qt 容器 函数指针
摘要: 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)
2022年10月8日
git fatal: Authentication failed for
摘要: 建议查看下系统凭据管理,是否git密码正确
阅读全文
posted @ 2022-10-08 08:15 ccc_zdh
阅读(44)
评论(0)
推荐(0)
2022年9月22日
linux usb gadget net
摘要: 1.内核基本配置后(包含net,usb) 2.要手动执行ifconfig usb0 up,然后才能在ifconfig 显示usb0
阅读全文
posted @ 2022-09-22 09:27 ccc_zdh
阅读(73)
评论(0)
推荐(0)
wsl2 xfce4
摘要: 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)
2022年9月14日
arm linux 终端自动登录
摘要: /etc/profile 环境变量文件,这个是在用户登录后执行的,所以要想profile里面的开机启动程序自动运行,则必须要登录。当然也可以提前执行而不必等到登录,在/etc/init.d/ 下新建S99等级文件,在其中启动用户程序。另一种则采用自动登录,当然作为产品应用肯定前一种会更好,参考正点原
阅读全文
posted @ 2022-09-14 23:10 ccc_zdh
阅读(714)
评论(0)
推荐(0)
2022年9月2日
qt chart 以时间坐标轴为X轴,在添加数据时,时间转为整数时应转为毫秒单位的整数
摘要: qt chart 以时间坐标轴为X轴,在添加数据时,时间转为整数时应转为毫秒单位的整数,同时应注意时间的设置以及转成毫秒的数值bit位数,如果以当前时间转为毫秒则已超出int(32bit)的范围 axisTime = new QDateTimeAxis;axisTime->setFormat("mm
阅读全文
posted @ 2022-09-02 17:29 ccc_zdh
阅读(1330)
评论(0)
推荐(0)
2022年8月22日
qml slider 斑马线
摘要: 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
阅读(208)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告