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的更多相关文章
随机推荐
- 无线热点登陆认证原理探究---captive portal 什么是Captive Portal
什么是Captive Portal 大家肯定都连过公共场所的wifi热点,比如麦当劳等地方的.他们的wifi往往一连上去就会弹出一个要求登录或者微信关注之类的页面,只有在这个页面完成操作了才能正常访问 ...
- 基于Java+Selenium的WebUI自动化测试框架(四)-----设置监听类
基于上一篇的内容,这里我们开始写监听类Listener.我这里写监听类的思路是,继承TestListenerAdapter这个类,然后对其中的方法进行重写.网上也有很多资料,建议先学习一下,然后写出来 ...
- 机房重构——UML图最终版本
刚开始画图时确实很纠结,那时候是在师父的逼迫下不得不画,不过这样也是有好处的,在师父的强烈要求下,我学会了如何使用EA,也对一个学习一个新的软件有了一个更好的方法,可以去找一些视频,或者文字资料来帮助 ...
- finally关键字执行的底层原理
1.举例子: 在主方法中调用m1方法,finally中 i 变量自增,但结果却是10 public static void main(String[] args) { int i = m1(); Sy ...
- MyBatsi学习
深入浅出Mybatis系列(一)---Mybatis入门 深入浅出Mybatis系列(二)---配置简介(mybatis源码篇) 深入浅出Mybatis系列(三)---配置详解之properties与 ...
- c语言之——整型的隐式转换与溢出检测
溢出检测 我们可以通过下面的方式来检测溢出: if(a > INT_MAX - b) { printf("overflow\n"); } 我们利用整型的最大值减去其中 ...
- hibernate meger
转: 在Hibernate中,有save.persist.savaOrUpdate.merge等方法有插入数据的功能.前三者理解起来较后者容易一些,merge方法从api中的介绍就看以看出它是最复杂的 ...
- The 2019 China Collegiate Programming Contest Harbin Site I. Interesting Permutation
链接: https://codeforces.com/gym/102394/problem/I 题意: DreamGrid has an interesting permutation of 1,2, ...
- Java知识点汇总-1
目录 1 native方法 2 泛型 3 hashcode 4 JDK主要的包 5 被final修饰的类特点 6 空串与null串 7 判断字符串是否相等 1 native方法 JDK源代码由C++. ...
- boost::singleton
singleton即单件模式,实现这种模式的类在程序生命周期里只能有且仅有一个实例. 使用singleton,需要包括头文件: #include <boost/serialization/sin ...