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 crontab 鉴定令牌不再有效,需要新的鉴定令牌 [ You (root) are not allowed to access to (crontab) because of pam configuration.]
用户root 解决方法: 用root用户,执行 chage -M 99999 root 更改有效期为99999天.
- Android上执行python脚本-QPython
看书,发现android可以跑python. 尝试了一下. 首先需要在手机上安装python环境,通过安装apk实现,这个apk叫QPython,还有同类的比如SL4A. QPython的官网:htt ...
- Pycharm----【Mac】设置默认模板
使用场景:新建的文件中,有某些字段或者代码段是每次都需要写入的,因此为了编写的方便,我们会创建对应的模板,每次新建选择模板即可. 操作步骤如下: pycharm--->preference--- ...
- 使用docker简单启动springboot项目
1.搭建docker环境 需要linux系统必须是centOS7以上 执行一下命令: yum install epel-release –y yum clean all yum list 2.安装 y ...
- location对象属性
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...
- docker-compose.yml的使用
docker-compose.yml包含version.services.networks3大部分 services的书写规则 1.iamge services: web: # 服务名称,用户自定义 ...
- HTML 002 基础
HTML 基础- 4个实例 HTML 标题 HTML 标题(Heading)是通过<h1> - <h6> 标签来定义的. 实例 <h1>这是一个标题</h1& ...
- Generator(生成器)函数
一.基础知识 Generator函数是ES6出现的一种异步操作实现方案. 异步即代码分两段,但是不是连续执行,第一段执行完后,去执行其他代码,等条件允许,再执行第二段. 同步即代码连续执行. 1. G ...
- JavaScript中,返回上一个页面时,如何保证上一个页面的不刷新?
history.back()和history.go(-1)都可以实现返回上一页并不刷新.History 对象包含用户(在浏览器窗口中)访问过的 URL. history.back() 等同于在浏览器点 ...
- 【原】Python基础-循环语句
x = 1while x <= 10: print(x) x += 1 password = ""while password != "3213554": ...