资源简介
运用Qt框架实现的高级组织结构图,可支持添加、删除、剪切、复制、粘贴、插入超链接、插入背景图片、属性查看等功能,可供学习及研究。

代码片段和文件信息
#include
#include “aboutdialog.h“
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent)
{
this->setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
this->setFixedSize(380 100);
initAboutDialog();
}
AboutDialog::~AboutDialog()
{
}
void AboutDialog::initAboutDialog()
{
m_versionLabel = new QLabel(“Version:“ this);
m_versionNumLabel = new QLabel(“0.0.1“ this);
QHBoxLayout *hLayout1 = new QHBoxLayout();
hLayout1->addWidget(m_versionLabel);
hLayout1->addWidget(m_versionNumLabel);
hLayout1->addStretch();
m_copyrightLabel = new QLabel(“Copyright:“ this);
m_copyrightInfoLabel = new QLabel(“Copyright 2019. All rights reserved“ this);
QHBoxLayout *hLayout2 = new QHBoxLayout();
hLayout2->addWidget(m_copyrightLabel);
hLayout2->addWidget(m_copyrightInfoLabel);
hLayout2->addStretch();
m_okBtn = new QPushButton(“OK“ this);
connect(m_okBtn SIGNAL(clicked(bool)) this SLOT(close()));
QHBoxLayout *hLayout3 = new QHBoxLayout();
hLayout3->addStretch();
hLayout3->addWidget(m_okBtn);
QVBoxLayout *vLayout = new QVBoxLayout();
vLayout->addLayout(hLayout1);
vLayout->addLayout(hLayout2);
vLayout->addSpacing(4);
vLayout->addLayout(hLayout3);
this->setLayout(vLayout);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1353 2019-07-24 17:55 OrgChart\aboutdialog.cpp
文件 481 2019-07-24 17:50 OrgChart\aboutdialog.h
文件 1461 2019-07-24 10:29 OrgChart\inputtextdialog.cpp
文件 565 2019-07-24 10:25 OrgChart\inputtextdialog.h
文件 1639 2019-07-31 10:33 OrgChart\insertli
文件 575 2019-07-31 10:12 OrgChart\insertli
文件 1054 2019-08-01 09:18 OrgChart\li
文件 546 2019-08-01 09:17 OrgChart\li
文件 16958 2019-07-24 11:26 OrgChart\logo.ico
文件 191 2019-07-25 15:57 OrgChart\main.cpp
文件 5467 2019-08-01 16:53 OrgChart\node.cpp
文件 1622 2019-08-01 14:22 OrgChart\node.h
文件 2675 2019-07-31 11:22 OrgChart\nodeinfodialog.cpp
文件 683 2019-07-30 11:18 OrgChart\nodeinfodialog.h
文件 703 2019-07-30 15:14 OrgChart\OrgChart.pro
文件 17593 2019-08-01 16:59 OrgChart\orgchartdialog.cpp
文件 1374 2019-08-01 16:43 OrgChart\orgchartdialog.h
文件 70 2019-07-03 14:39 OrgChart\resource.rc
文件 524 2019-08-01 16:42 OrgChart\scene.cpp
文件 438 2019-08-01 16:42 OrgChart\scene.h
文件 422 2019-07-03 14:49 OrgChart\uac.manifest
目录 0 2019-08-01 17:37 OrgChart
----------- --------- ---------- ----- ----
56394 22
- 上一篇:Qt实现绘图工具
- 下一篇:visio元件库电路内部元件
相关资源
- 酒店管理系统基于Qt Creator5)
- vtk QT做的三维地质可视化系统2of2
- Qt局域网聊天软件
- Qt Creator opengl实现四元数鼠标控制轨迹
- QT局域网聊天系统(基于QT5.修改过)
- qt-电子点菜系统
- C 餐厅叫号系统(QT平)
- QT 实现文件下载
- qt图像处理
- QT,JPEG解码源代码(已完成)
- Qt 播放音频文件
- Qt 读取16进制的data文件
- MQTT+串口(usart)透传
- 易语言QQTEA算法源码
- VC工程转Qt工程文件的工具
- MQTT推送Demo
- 基于Linux、QT的视频监控系统的设计与
- Qt 百度地图 定位
- QT酷炫界面开发指南《QmlBook》
- Ubuntu下操作Excel,qt代码
- Qt图片浏览器 --基于Qt的Graphics View f
- qtnribbon2破解
- Qt软件开发 完整项目代码
- MQTT_3.1protocol_Specific中文版
- 在QT中使用RTP进行视频的采集和传输
- Mini6410 Qt4和Qtopia编程开发指南
- Qt实现Code39条形码
- qt_ffmpeg_mp4_export_and_import.zip
- QT5.5入门与项目实战
- Huffman Compress 霍夫曼编码 压缩 解压缩
评论
共有 条评论