随笔分类 - KDChart
摘要:void VCGantt::removeEntry() { QModelIndexList selectedIndexes = ganttViewCommon->selectionModel()->selectedIndexes(); QModelIndex index = selectedIndexes.value(0); if (!index.isValid()) ...
阅读全文
摘要:void TeslaManage::initGanttView() { if (vcGanttObject ==NULL) { vcGanttObject = new VCGantt(this); ganttView = vcGanttObject->initGanttView(this->tesla_manage_ui.newEnt...
阅读全文
摘要://顶点着色器 static const char* vertShader = { "varying vec4 color;\n" "void main(void)\n" "{\n" "color = gl_Vertex;\n" "gl_Position=gl_ModelViewProjectionMatrix*gl_Vertex;\n" "}...
阅读全文
摘要:日志: “TeslaManage.exe”(Win32): 已加载“F:\OpenScenceGraphProject\OSG_QT_2019\x64\Debug\TeslaManage.exe”。已加载符号。“TeslaManage.exe”(Win32): 已加载“C:\Windows\Syst
阅读全文
摘要:/******************************************************************************** ** Form generated from reading UI file 'qt_chart1.ui' ** ** Created by: Qt User Interface Compiler version 5.12.2 *...
阅读全文
摘要:KDChart 甘特图在Qt中的加载使用案例,代码来自官方 mainwindow.h entrydialog.h entrydelegate.h main.cpp ui_mainwindow.h ui_entrydialog.h legend_example.pro 运行效果: QWindowsWi
阅读全文
摘要:最近开发中需要用到甘特图,感觉KDChart这个插件不错,在这里记录一下编译过程(其实很好编译,而且一次性就过了) 下载,kdchart-2.6.1-source,解压 打开src目录,用Qt Creator打开src.pro 我用的是msvc_2015_64编译,分别用debug模式和releas
阅读全文