initGanttView
void TeslaManage::initGanttView()
{ if (vcGanttObject ==NULL)
{
vcGanttObject = new VCGantt(this);
ganttView = vcGanttObject->initGanttView(this->tesla_manage_ui.newEntryAction,
this->tesla_manage_ui.removeEntryAction, this->tesla_manage_ui.zoomInAction,
this->tesla_manage_ui.zoomOutAction, this->tesla_manage_ui.zoomFitAction); this->tesla_manage_ui.ganttDockWidget->setWidget(ganttView);
} connect(this->tesla_manage_ui.newEntryAction, SIGNAL(triggered()), this, SLOT(vcGanttObject->addNewEntry()));
connect(this->tesla_manage_ui.removeEntryAction, SIGNAL(triggered()), this, SLOT(vcGanttObject->removeEntry()));
connect(this->tesla_manage_ui.zoomInAction, SIGNAL(triggered()), this, SLOT(vcGanttObject->zoomIn()));
connect(this->tesla_manage_ui.zoomOutAction, SIGNAL(triggered()), this, SLOT(vcGanttObject->zoomOut()));
connect(this->tesla_manage_ui.zoomFitAction, SIGNAL(triggered()), this, SLOT(vcGanttObject->zoomFit())); }

initGanttView的更多相关文章
随机推荐
- Linux常用命令【1】
打包和压缩文件 : cd /home 进入 '/ home' 目录' cd .. 返回上一级目录 cd ../.. 返回上两级目录 cd 进入个人的主目录 cd ~user1 进入个人的主目录 cd ...
- 牛客网暑期ACM多校训练营(第三场)H Diff-prime Pairs (贡献)
牛客网暑期ACM多校训练营(第三场)H Diff-prime Pairs (贡献) 链接:https://ac.nowcoder.com/acm/contest/141/H来源:牛客网 Eddy ha ...
- 2018 Arab Collegiate Programming Contest (ACPC 2018) G. Greatest Chicken Dish (线段树+GCD)
题目链接:https://codeforces.com/gym/101991/problem/G 题意:给出 n 个数,q 次询问区间[ li,ri ]之间有多少个 GCD = di 的连续子区间. ...
- jquery点击显示或隐藏
点击第一个dd,给第一li添加class,点击第二个dd,给第二个li添加class,以此类推 $(function(){ $("dd > a").click(fun ...
- spark源码之SparkContext
SparkContext可以说是Spark应用的发动机引擎,Spark Drive的初始化围绕这SparkContext的初始化. SparkContext总览 sparkcontxt的主要组成部分 ...
- .Net类库 压缩文件 与 Ionic.Zip 批量压缩不同目录文件与解压 文件
using System; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; us ...
- ibm 汇编
https://www.ibm.com/developerworks/cn/linux/l-assembly/index.html https://72k.us/file/4031001-328073 ...
- 小程序for循环
https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/list.html 在什么情况下要自定义? 当上一个循环的数据 ...
- Linux Touch命令的8种常见使用方法
Linux touch命令不仅可以用于在Linux上创建空文件. 您可以使用它来更改现有文件的时间戳,包括其访问权限和修改时间. 本文介绍了8种可以通过Linux终端使用touch命令的方案. 我们在 ...
- rsyslog使用简介
1 把日志打到新的日志文件里面 #### RULES ####ruleset(name="remote"){ action(type="omfile" file ...