1 Star 0 Fork 25

haygon / MyYoudaoNoteLike

forked from 风木 / MyYoudaoNoteLike 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tabitem.cpp 541 Bytes
一键复制 编辑 原始数据 按行查看 历史
风木 提交于 2015-02-06 18:09 . add
#include "tabitem.h"
#include "ui_tabitem.h"
#include "qcustomplot.h"
#include "myrealtimeplot.h"
#include "mycolormapplot.h"
tabItem::tabItem(int type, QWidget *parent) :
QWidget(parent),
ui(new Ui::tabItem)
{
ui->setupUi(this);
QCustomPlot*customPlot;
if(type==0){
// setup customPlot as central widget of window:
customPlot=new MyRealTimePlot;
}else{
customPlot=new MyColorMapPlot;
}
ui->tab_con->layout()->addWidget(customPlot);
}
tabItem::~tabItem()
{
delete ui;
}
C++
1
https://gitee.com/haygon/MyYoudaoNoteLike.git
git@gitee.com:haygon/MyYoudaoNoteLike.git
haygon
MyYoudaoNoteLike
MyYoudaoNoteLike
master

搜索帮助