![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Qt
Pilot.Phil
LabVIEW·C·STM32·结构健康监测
展开
-
Qt动态图表更新实现
1.Qt简单折线图表的使用 //.pro中加入 QT += charts //包含头文件 #include<QtCharts> using namespace QtCharts; //动态分配空间 QChartView *myChartView=new QChartView; QChart *mychart=new QChart; QLineSeries *myseri...原创 2020-03-17 12:21:19 · 3263 阅读 · 2 评论 -
Qt自学笔记
1.QMainWindow 带菜单栏的窗口、QWidget 空窗口、QDialog 对话框(无法伸缩) 2.指定父对象 button.setparent(w);//调用方法指定父对象 button=new QPushButton(this);//构造函数传参 3.添加一个新窗口:新建一个类 在主类中包含其头文件,实例化一个新类对象sth,并且 sth.show(); 4.信号与槽——Qt对象之间...原创 2020-02-16 12:53:48 · 327 阅读 · 0 评论