资源简介
树形通用图。
大家可以学习学习,这个在以后的界面开发中非常常用。

代码片段和文件信息
#include “DevRoot.h“
CDevRoot::CDevRoot(char *macCharCNodebase *parent):CNodebase(parent)
{
m_type = NODE_TYPE_MAC_MANAGER;
sprintf(m_name“%s“macChar);
m_macCount = 0;
}
CDevRoot::~CDevRoot()
{
}
void CDevRoot::appendChlid(CNodeMac *pNodebase)
{
m_pNodeMac[m_macCount] = pNodebase;
m_macCount = m_macCount + 1;
}
CNodeMac*CDevRoot::getNodeMac(int index)
{
return m_pNodeMac[index];
}
CNodebase *CDevRoot::getChildDevice(int index)
{
return m_pNodeMac[index];
}
int CDevRoot::getMacCount()
{
return m_macCount;
}
int CDevRoot::getChildCount()
{
return m_macCount;
}
int CDevRoot::row(CNodeMac *pNodebase)
{
for (int i=0;i {
if (memcmp(m_pNodeMac[i]->getName()pNodebase->getName()sizeof(pNodebase->getName())) == 0)
{
return i;
}
}
return -1;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-12-27 20:00 testTreeView\
文件 871 2014-01-21 15:05 testTreeView\DevRoot.cpp
文件 541 2014-01-21 15:05 testTreeView\DevRoot.h
目录 0 2017-12-27 19:54 testTreeView\images\
文件 1744 2013-03-13 16:35 testTreeView\images\test.png
文件 728 2012-03-28 22:15 testTreeView\images\window.bmp
文件 615 2017-12-20 21:29 testTreeView\main.cpp
文件 2836 2014-02-12 15:37 testTreeView\mainwindow.cpp
文件 557 2013-04-08 14:09 testTreeView\mainwindow.h
文件 1358 2013-04-08 13:53 testTreeView\mainwindow.ui
文件 6205 2014-02-17 16:46 testTreeView\Makefile
文件 10453 2014-02-17 16:46 testTreeView\Makefile.Debug
文件 10668 2014-02-17 16:46 testTreeView\Makefile.Release
文件 551 2014-01-21 14:56 testTreeView\NodeAA.cpp
文件 352 2014-01-21 14:56 testTreeView\NodeAA.h
文件 557 2013-03-24 13:01 testTreeView\NodeAAChildA.cpp
文件 365 2013-03-24 11:31 testTreeView\NodeAAChildA.h
文件 2071 2014-02-17 16:50 testTreeView\Nodeba
文件 1593 2014-02-17 16:49 testTreeView\Nodeba
文件 537 2014-02-12 10:13 testTreeView\NodeBB.cpp
文件 354 2014-02-12 10:13 testTreeView\NodeBB.h
文件 511 2013-03-24 11:31 testTreeView\NodeBBChildA.cpp
文件 365 2013-03-24 11:31 testTreeView\NodeBBChildA.h
文件 495 2014-01-21 14:56 testTreeView\NodeCC.cpp
文件 350 2014-01-21 14:56 testTreeView\NodeCC.h
文件 553 2014-01-21 14:56 testTreeView\NodeCCChild.cpp
文件 397 2014-01-21 14:56 testTreeView\NodeCCChild.h
文件 639 2013-03-24 13:01 testTreeView\NodeCCChildChild.cpp
文件 422 2013-03-24 10:59 testTreeView\NodeCCChildChild.h
文件 703 2014-01-21 15:10 testTreeView\NodeMac.cpp
文件 500 2014-01-21 15:10 testTreeView\NodeMac.h
............此处省略14个文件信息
相关资源
- Qt界面外观
- [嵌入式Linux项目实战开发]基于QT4.7.
- Qt GUI 界面通用系统模板 源码
- 网上的一款QT界面设计的电子地图
- 二维码解析
- linux下关于Qt界面的摄像头v4l2操作源码
- 360UI完美界面
- 净化设备管理
- 基于qt界面的语音交互软件
- 综合组件的界面
- opencv打开图片并显示在Qt界面上
- Qt360 界面
- 动态绘制曲线
- QtitanRibbon3.zip
- VS+QT环境下读取excel文件到QT界面,并
- 基于嵌入式QT界面GPS定位系统
- [嵌入式Linux项目实战开发]基于QT4.7.
- 物联网 智能家居 Qt界面
- 将QT界面做成dll在qt其他程序中调用
-
将xm
l内容显示Qt界面 - DS18B20测温及QT界面实现
- qt界面跳转切换
- 基于v4l的视频采集显示程序。外加Q
- QT计算器界面和计算器功能实现
- qt界面连接wifi
- myseria串口
- 基于Qt界面显示的温湿度检测
- Qt界面多线程opencv调用摄像头
- 智慧大棚QT界面设计
- Qt高仿网易云音乐界面源码
评论
共有 条评论