zoukankan      html  css  js  c++  java
  • 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()));
    
    }

  • 相关阅读:
    [武汉集训] Cliquers
    [NOI2017] 泳池
    [NOWCODER7] 小睿睿的方案
    动态dp初探
    [WC2008] 游览计划
    插头dp初探
    最小斯坦纳树初探
    2020ccpc总结
    Finding Palindromes
    最长非严格上升子序列的思考 && CF 1437E Make It Increasing
  • 原文地址:https://www.cnblogs.com/herd/p/11285916.html
Copyright © 2011-2022 走看看