摘要:
1,显示效果 2,页面布局 显示控件选择LCD Numer digitCount默认为5,不够用调整为10 3,具体代码 1 #include "timeshow.h" 2 #include "ui_timeshow.h" 3 4 timeshow::timeshow(QWidget *parent 阅读全文
posted @ 2021-03-06 21:59
老年新手工程师
阅读(152)
评论(0)
推荐(0)
摘要:
listWidget中可以添加字符串,按钮等控件,以及自定义控件 首先定义QListWidgetItem,然后将所要添加的控件一起加入到listWidget 代码实现: 1,字符串 1 void ListW::on_btnstring_clicked() 2 { 3 ui->listWidget-> 阅读全文
posted @ 2021-03-06 00:03
老年新手工程师
阅读(1727)
评论(0)
推荐(0)

浙公网安备 33010602011771号