QT tablewidget设置表头

Qt 专栏收录该内容
1 篇文章 1 订阅


    • QT QTableWidget 用法总结
      08-18
    • QTableView表头填满控件,表头对齐
      11-09
    • Qt Table 的表头合并
      09-27
    • Qt文档阅读笔记-两视图共享模型实现冻结列效果(frozencolum...
      10-10
    • QT快速设置QTableWidget表头内容
      06-08
    • QTableWidget 使用代理画进度条
      05-08
    • QTableView,支持拖拽列,冻结列,多行表头,绘制表格,复选...
      08-05
    • QTableWidget与QTableView的区别
      12-18
    • 关于QTableWidget 表头设置无效的原因
      02-08
    • QTableWidget详解(样式、右键菜单、表头塌陷、多选等)
      12-18
    • QTableView自适应填充伸展列宽的基础上 再固定特定某列宽
      10-19
    • Qt之QTableWidget详细使用
      04-09
    • table表头冻结
      10-16
    • Qt_QTableWidget点击表头设置排序
      09-23
    • QTableWidget表头样式
      10-27
    • QTreeView使用总结3,表头、行列相关的设置方法
      04-08
    • QTableView 设置列头 setHeaderView()
      09-30
    • QT 修改QTableWidget表头
      03-31
    • Qt5对Excel表格简单、高效处理方法
      10-21
    • Qt QTableWidget的用法
      01-10
    • 一 QT之QTableView用QHeaderView添加横向表头
      10-18
    • Markdown_-_表格
      05-13
    • QTableWidget清空或删除内容及表头样式内容
      02-01
    • 【java基础知识】设置表格内容居中显示,表格字体大小调整,...
      01-23
    • 表头固定内容可滚动表格的3种实现方法
      06-18
    • ASP.NET_如何固定表格表头(fixed_header)
      01-22
    • Qt之多行表头控件
      12-03
    • list 多行表头 表头合并
      10-30
    • 表头固定
      01-05
    • QT_QTableView用法小结(设置单元格字体颜色,文本字体,宽高...
      09-27
    • [推荐]_jQuery_表格插件汇总
      07-12
    • 4、table和表单的学习
      11-23
    • 关于JS在图表控件应用上直接生成表格数据导出到本地
      07-19
    • 提取指定的PDF表格保存到Excel
      09-26
    • 《Qt5+QTableWidget创建表格》
      10-26
    • QT QTableView QTableWidget 复杂表头(多行表头) 、(冻结、固定特定的行)

      demo下载地址在最后

      ================================分割线======================================

      对于所有前端开发人员会留意到,我们在开发过程中对于表格使用频率还是挺高的,使用QT框架开发时候我们使用QTableView或者QTableWidget创建表格。

      其中表格分为 表格头与表格体:

      对于简单地表格,我们可以设置表头来满足我们的要求(当然也可以隐藏表头),不过对于定制化的表头,我们能做的不是特别多。特别是对于复杂的表头,使用自带的表头,无论怎么设置都不太可能达到需求。例如我最近接到的一个项目,需求是:

      我们分析一下这个表格有什么特点:

      1.表头不是简单的一行,而是两行。

      2.表头有单元格的合并。

      3.部分表头中间有使用渐变的分隔线且分割线不是上下充满表格的。

      如果能解决上面三个问题,我们基本都可以把这个表格做出来了。这个表头明显是一个比较复杂的表头。对于只对QT提供的API或者CSS上面三个问题,没有一个能够解决的。

      这时候可能会有老师提出解决办法:给header 设置itemDelegate,自己在itemDelegate中重写paintEvent,自己画表头。 因为我们都知道,自己画单元格,要更灵活,满足更多需求。但是我们平时都是对单元格进行重绘,并不是对header的单元格进行重绘。于是就去搜索QT的帮助文档,惊喜的发现居然有设置itemdelegate的API,心里觉得有戏于是创建 ItemDelegate类,对header进行设置如下

      tableWidget->horizontalHorizon()->setItemDelegate(new ItemDelegate());
       

      可是结果却是令人失望的,没有一点效果。于是反身去查找QT 关于这部分的介绍,终于找到了原因:

      结果就显而易见了,对于headerView,并不能使用ItemDelegate进行重绘。

      那么我们就要另外想办法了,经过分析,刚开始提出了两种方案:

      解决方案
       描述优点缺点
      方案一
      • 隐藏表头
      • 前两行当做表头
      • 内容行从第三行开始
      • 对表格设置itemDelegate,对前两行的表头进行重绘
      • 一个QTableWidget,实现起来方便一些。
      • 当出现滚动条,表头会随着着内容表格个移动,不符合大众习惯。
      • 改变了内容表格的整个原有序列,所有的行数都需要比原来大2,对所有的API进行重写工作难不高,复杂度比较高。
      方案二
      • 使用一个QTableWidget命名为m_frozonTableWgt作为表头。
      • 使用另外一个QTableWidget作为内容显示的表格。
      • m_frozonTableWgt隐藏表头、隐藏滚动条、只显示2行的内容表格、显示到内容表格上方、只占据内容表的表头高度、设置ItemDelegate进行重绘。
      • 内容表格,显示表头,高度设置成m_frozonTableWgt前两行的高度。
      • 最终效果更好,体验更好。
      • 需要对2个QTableWidget进行操作,比较麻烦。
      • 需要对表头的QTableWidget进行锁死(固定)。
      • 3.需要对2个QtableWidget进行联动设置

      总结一下就是:

      • 第一种方案比较简单,但是最终体验效果不太好。
      • 第二种方案实现起来比较复杂,但是最终体验效果比较好。

      本着成就客户与自我成长的态度,最终选择了第二种解决方案。

      我们首先要做的就是创建一个继承于QTableWidget的一个类,命名为TDMSummaryTableWgt。

      class TDMSummaryTableWgt : public QTableWidget
       

      然后需要在TDMSummaryTableWgt类中,声明另外一个用于header的QTableWidget,命名为 m_frozenTableWgt;

      
       
      1. private:
      2. QTableWidget *m_frozenTableWgt; // 使用TableWidget 作为header,并冻结

      这个m_frozenTableWgt,就是作为表头,并且固定位置,不随着滚动条移动位置。

      这个时候我们只需要解决两个问题,就可以搞定表头了:

      一.表头位置锁定(固定、锁死)。

      二.重绘表头。

      对于第一个问题,表头位置的固定。我们应该从哪些方面考虑来解决?

      1.从界面初始化开始,我们应当让表头m_frozenTableWgt具备: 不显示表头,不显示滚动条、设置rowcount为2行并隐藏2行后所有的元素、设置窗口层次在TDMSummaryTableWgt之前、对单元格进行合并等要素。

      这里要特别注意的是,m_frozenTableWgt与TDMSummaryTableWgt设置的列数应该完全一致,每一列的尺寸与伸展方案也应该完全一致。

      
       
      1. void TDMSummaryTableWgt::initFrozenFrame()
      2. {
      3. m_frozenTableWgt = new QTableWidget( this);
      4. m_frozenTableWgt->horizontalHeader()->setVisible( false); //表头不可见
      5. m_frozenTableWgt->verticalHeader()->setVisible( false); //表头不可见
      6. m_frozenTableWgt->setShowGrid( false); //网格线不可见
      7. m_frozenTableWgt->setEditTriggers(QAbstractItemView::NoEditTriggers); //设置单元格不可编辑
      8. m_frozenTableWgt->horizontalHeader()->setStretchLastSection( true); //最后一个单元格扩展
      9. m_frozenTableWgt->setFocusPolicy(Qt::NoFocus); //解决选中虚框问题
      10. m_frozenTableWgt->setFrameShape(QFrame::NoFrame); //去除边框 尴尬
      11. m_frozenTableWgt->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); //隐藏滚动条
      12. m_frozenTableWgt->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); //
      13. m_frozenTableWgt->setHorizontalScrollMode(ScrollPerPixel);
      14. m_frozenTableWgt->setItemDelegate( new ItemDelegate( 0)); //设置绘画代理(主要在代理中画出来header)
      15. viewport()->stackUnder(m_frozenTableWgt); //设置窗口层次
      16. m_frozenTableWgt->setColumnCount( 10); //header10列
      17. m_frozenTableWgt->setRowCount( 2); //header2行
      18. m_frozenTableWgt->setRowHeight( 0, 42); //第一行设置高度42px
      19. m_frozenTableWgt->setRowHeight( 1, 42); //第二行设置高度42px
      20. for ( int row = 2; row < m_frozenTableWgt->rowCount(); ++row) //隐藏2行后的行
      21. m_frozenTableWgt->setRowHidden(row, true);
      22. //===================设置header内容=================//
      23. //合并单元格
      24. m_frozenTableWgt->setSpan( 0, 0, 2, 1); //老师ID
      25. m_frozenTableWgt->setSpan( 0, 1, 2, 1); //老师姓名
      26. m_frozenTableWgt->setSpan( 0, 2, 2, 1); //老师姓名
      27. m_frozenTableWgt->setSpan( 0, 3, 1, 4); //最新日期(8月20)
      28. m_frozenTableWgt->setSpan( 0, 7, 1, 2); //前一日(8月19)
      29. m_frozenTableWgt->setSpan( 0, 9, 2, 1); //操作
      30. m_frozenTableWgt->setItem( 0, 0, new QTableWidgetItem( "老师ID"));
      31. m_frozenTableWgt->setItem( 0, 1, new QTableWidgetItem( "老师姓名"));
      32. m_frozenTableWgt->setItem( 0, 2, new QTableWidgetItem( "老师姓名"));
      33. m_frozenTableWgt->setItem( 0, 3, new QTableWidgetItem( "8月20日"));
      34. m_frozenTableWgt->setItem( 0, 7, new QTableWidgetItem( "8月19日"));
      35. m_frozenTableWgt->setItem( 0, 9, new QTableWidgetItem( "操作"));
      36. m_frozenTableWgt->setItem( 1, 3, new QTableWidgetItem( "续报率"));
      37. m_frozenTableWgt->setItem( 1, 4, new QTableWidgetItem( "新学员续报率"));
      38. m_frozenTableWgt->setItem( 1, 5, new QTableWidgetItem( "续报增长人数"));
      39. m_frozenTableWgt->setItem( 1, 6, new QTableWidgetItem( "续报增长率"));
      40. m_frozenTableWgt->setItem( 1, 7, new QTableWidgetItem( "续报增长率"));
      41. m_frozenTableWgt->setItem( 1, 8, new QTableWidgetItem( "新学员续报率"));
      42. //连接信号槽。用于滚动条联动
      43. connect(m_frozenTableWgt->verticalScrollBar(), &QAbstractSlider::valueChanged,
      44. verticalScrollBar(), &QAbstractSlider::setValue);
      45. connect(verticalScrollBar(), &QAbstractSlider::valueChanged,
      46. m_frozenTableWgt->verticalScrollBar(), &QAbstractSlider::setValue);
      47. updateFrozenTableGeometry(); //更新位置
      48. m_frozenTableWgt->show();
      49. }

       

      2.除了上面的考虑之外,我们就需要考虑m_frozenTableWgt与TDMSummaryTableWgt之间的联动问题了,主要包括表格的尺寸变化、滚动条移动、界面平移等问题。

      我们首先要写一个方法,来确定m_frozenTableWgt与TDMSummaryTableWgt位置。

      
       
      1. void TDMSummaryTableWgt::updateFrozenTableGeometry()
      2. {
      3. m_frozenTableWgt->setGeometry(frameWidth(),
      4. frameWidth(),
      5. viewport()->width(),
      6. horizontalHeader()->height());
      7. }

      我们需要重写3个上面提到问题解决方案的函数,在每个方法里都要重新执行updateFrozenTableGeometry();

      
       
      1. protected:
      2. /**
      3. * @brief resizeEvent 重载虚函数 resize事件,同时更新m_frozenTableWgt的位置
      4. * @param event
      5. */
      6. virtual void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE;
      7. /**
      8. * @brief moveCursor 重载虚函数 鼠标移动事件
      9. * @param cursorAction
      10. * @param modifiers
      11. * @return
      12. */
      13. virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers) Q_DECL_OVERRIDE;
      14. /**
      15. * @brief scrollTo TableWidget移动事件
      16. * @param index
      17. * @param hint
      18. */
      19. void scrollTo (const QModelIndex & index, ScrollHint hint = EnsureVisible) Q_DECL_OVERRIDE;

      对上面这三个虚函数,我们需要特别注意的重点是moveCursor方法。这个方法里我们应该重点关注鼠标向上移动的情景:只有当鼠标向上移动,并且TDMSummaryTableWgt还未显示到第一行,并且可视区域的顶点应该小于m_frozenTableWgt的第一行,才允许继续向上移动:

      
       
      1. QModelIndex TDMSummaryTableWgt::moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers)
      2. {
      3. QModelIndex current = QTableView::moveCursor(cursorAction, modifiers);
      4. if (cursorAction == MoveUp && current.row() > 0
      5. && visualRect(current).topLeft().y() < m_frozenTableWgt->rowHeight( 1) ){
      6. const int newValue = verticalScrollBar()->value() + visualRect(current).topLeft().y()
      7. - m_frozenTableWgt->rowHeight( 0) - m_frozenTableWgt->rowHeight( 1);
      8. verticalScrollBar()->setValue(newValue);
      9. }
      10. return current;
      11. }

      做完上面这几部,基本解决了第一个问题,就是将m_frozenTableWgt的固定行(冻结)的功能。

      要完成m_frozenTableWgtde 的样式重绘,就是第二个要解决的问题了。

      这个问题,我们要新建一个继承于QStyledItemDelegate的代理类,我们叫ItemDelegate。并且重写paint方法,在paint方法里绘制m_frozenTableWgt;

      m_frozenTableWgt->setItemDelegate(new ItemDelegate(0));//设置绘画代理(主要在代理中画出来header)
       

       

      
       
      1. class ItemDelegate : public QStyledItemDelegate
      2. {
      3. Q_OBJECT
      4. public:
      5. ItemDelegate( int type, QObject *parent= 0);
      6. void paint(QPainter *painter,
      7. const QStyleOptionViewItem &option, const QModelIndex &index) const;
      8. private:
      9. };

      在paint方法中,根据每个单元格的背景不同进行绘制背景

      
       
      1. int rowIndex = index.row(); //行号
      2. int colIndex = index.column(); //列号
      3. if (rowIndex == 0 || rowIndex == 1) //前两行作为header
      4. {
      5. //背景
      6. QColor color;
      7. if (rowIndex == 0 && (colIndex == 0 || //老师ID
      8. colIndex == 1 || //老师姓名
      9. colIndex == 2 || //课程类型
      10. colIndex == 9)) //操作
      11. {
      12. color.setRgb( 231, 238, 251);
      13. }
      14. else if ((rowIndex == 0 && colIndex == 3) || //8月20日
      15. (rowIndex == 1 && (colIndex == 3 || //续报率
      16. colIndex == 4 || //新学员续报率
      17. colIndex == 5 || //续报增长人数
      18. colIndex == 6))) //续报增长率
      19. {
      20. color.setRgb( 214, 228, 253);
      21. }
      22. else if ((rowIndex == 0 && colIndex == 7) || //8月19日
      23. (rowIndex == 1 && (colIndex == 7 || //续报率
      24. colIndex == 8))) //新学员续报率
      25. {
      26. color.setRgb( 203, 221, 255);
      27. }
      28. //绘制背景
      29. painter->setPen(color);
      30. painter->setBrush(QBrush(color));
      31. painter->drawRect(option.rect);

      根据每个单元格要求绘画是否需要右侧的渐变的分隔线。

      
       
      1. //右侧spacer
      2. if ((rowIndex == 0 && (colIndex == 0 || colIndex == 1) )) {
      3. int startX = option.rect.right();
      4. int startY = option.rect.y() + (option.rect.height() - 40) / 2;
      5. int endX = startX;
      6. int endY = startY + 40;
      7. QLinearGradient linearGradient(startX, startY, endX, endY);
      8. linearGradient.setColorAt( 0, QColor( 164, 188, 240, 0));
      9. linearGradient.setColorAt( 0.5, QColor( 164, 188, 240, 255));
      10. linearGradient.setColorAt( 1, QColor( 164, 188, 240, 0));
      11. painter->setBrush(linearGradient);
      12. painter->drawRect(option.rect.right()- 2, startY, 2, 40);
      13. }
      14. else if (rowIndex == 1 && (colIndex == 3 ||
      15. colIndex == 4 ||
      16. colIndex == 5 ||
      17. colIndex == 7 )) {
      18. int startX = option.rect.right();
      19. int startY = option.rect.y() + (option.rect.height() - 28) / 2;
      20. int endX = startX;
      21. int endY = startY + 28;
      22. QLinearGradient linearGradient(startX, startY, endX, endY);
      23. linearGradient.setColorAt( 0, QColor( 164, 188, 240, 0));
      24. linearGradient.setColorAt( 0.5, QColor( 164, 188, 240, 255));
      25. linearGradient.setColorAt( 1, QColor( 164, 188, 240, 0));
      26. painter->setBrush(linearGradient);
      27. painter->drawRect(option.rect.right()- 2, startY, 2, 28);
      28. }

      最后将每个单元格的字体画出来

      
       
      1. //字体
      2. painter->setPen(QColor( 51, 51, 51));
      3. QTextOption op;
      4. op.setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
      5. QFont font;
      6. font.setFamily( "Microsoft YaHei");
      7. font.setPixelSize( 14);
      8. font.setBold( true);
      9. painter->setFont(font);
      10. painter->drawText(option.rect, index.data(Qt::DisplayRole).toString(), op);

      这样就解决了header里面的难题。

       

      =================================分割线========================================

      demo下载地址:https://download.csdn.net/download/xiezhongyuan07/10694125  (没有积分的小伙伴评论上写邮箱,我发给你们)

      =================================分割线========================================

      <div class="comment-edit-box d-flex">
      	<a id="commentsedit"></a>
      	<div class="user-img">
      		<a href="//me.csdn.net/qq_39498490" target="_blank">
      			<img class="" src="https://avatar.csdn.net/A/2/C/3_qq_39498490.jpg">
      		</a>
      	</div>
      	<form id="commentform">
      		<input type="hidden" id="comment_replyId" value="">
      		<textarea class="comment-content" name="comment_content" id="comment_content" placeholder="想对作者说点什么"></textarea>
      		<div class="opt-box"> <!-- d-flex -->
      			<div id="ubbtools" class="add_code">
      				<a href="#insertcode" code="code" target="_self"><i class="icon iconfont icon-daima"></i></a>
      			</div>
      			<input type="hidden" id="comment_replyId" name="comment_replyId">
      			<input type="hidden" id="article_id" name="article_id" value="82857631">
      			<input type="hidden" id="comment_userId" name="comment_userId" value="">
      			<input type="hidden" id="commentId" name="commentId" value="">
      			<div style="display: none;" class="csdn-tracking-statistics tracking-click" data-mod="popu_384"><a href="#" target="_blank" class="comment_area_btn">发表评论</a></div>
      			<div class="dropdown" id="myDrap">
      				<a class="dropdown-face d-flex align-items-center" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
      				<div class="txt-selected text-truncate">添加代码片</div>
      				<svg class="icon d-block" aria-hidden="true">
      					<use xlink:href="#csdnc-triangledown"></use>
      				</svg>
      				</a>
      				<ul class="dropdown-menu" id="commentCode" aria-labelledby="drop4">
      					<li><a data-code="html">HTML/XML</a></li>
      					<li><a data-code="objc">objective-c</a></li>
      					<li><a data-code="ruby">Ruby</a></li>
      					<li><a data-code="php">PHP</a></li>
      					<li><a data-code="csharp">C</a></li>
      					<li><a data-code="cpp">C++</a></li>
      					<li><a data-code="javascript">JavaScript</a></li>
      					<li><a data-code="python">Python</a></li>
      					<li><a data-code="java">Java</a></li>
      					<li><a data-code="css">CSS</a></li>
      					<li><a data-code="sql">SQL</a></li>
      					<li><a data-code="plain">其它</a></li>
      				</ul>
      			</div>  
      			<div class="right-box">
      				<span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
      				<input type="submit" class="btn btn-sm btn-red btn-comment" value="发表评论">
      			</div>
      		</div>
      	</form>
      </div>
      
      	<div class="comment-list-container">
      	<a id="comments"></a>
      	<div class="comment-list-box" style="max-height: none;"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9616106" data-replyname="qq_39498490">        <a target="_blank" href="https://me.csdn.net/qq_39498490"><img src="https://avatar.csdn.net/A/2/C/3_qq_39498490.jpg" alt="qq_39498490" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_39498490"><span class="name ">qq_39498490:</span></a>              <span class="comment">1505427990@qq.com 谢谢楼主</span><span class="date" title="2019-04-23 19:20:42">(2分钟前</span><span class="floor-num">#24楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-delete" data-type="delete">删除</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9616106"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9525557" data-replyname="qq_41949352">        <a target="_blank" href="https://me.csdn.net/qq_41949352"><img src="https://avatar.csdn.net/B/1/3/3_qq_41949352.jpg" alt="qq_41949352" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_41949352"><span class="name ">苍天愚弄我:</span></a>              <span class="comment">2857746360@qq.com 谢谢博主</span><span class="date" title="2019-04-11 20:00:02">(1周前</span><span class="floor-num">#23楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(3)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9525557"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9547494" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">苍天愚弄我:</span>              <span class="comment">QT 5.7.0</span><span class="date" title="2019-04-15 10:14:17">(1周前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9547494"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="comment-line-box d-flex" data-commentid="9546763" data-replyname="qq_41949352">        <a target="_blank" href="https://me.csdn.net/qq_41949352"><img src="https://avatar.csdn.net/B/1/3/3_qq_41949352.jpg" alt="qq_41949352" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_41949352"><span class="name mr-8">苍天愚弄我</span></a>回复  <span class="name">漫步繁华街:</span>              <span class="comment">请问博主是用QT哪个版本了?我用Qt483打开运行发现报错</span><span class="date" title="2019-04-15 09:00:41">(1周前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9546763"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="comment-line-box d-flex" data-commentid="9528463" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">苍天愚弄我:</span>              <span class="comment">已发送,注意查收</span><span class="date" title="2019-04-12 10:13:48">(1周前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9528463"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9502931" data-replyname="qq_33175713">        <a target="_blank" href="https://me.csdn.net/qq_33175713"><img src="https://avatar.csdn.net/F/6/3/3_qq_33175713.jpg" alt="qq_33175713" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_33175713"><span class="name ">林青春:</span></a>              <span class="comment">471488105@qq.com 谢谢您</span><span class="date" title="2019-04-09 13:12:35">(2周前</span><span class="floor-num">#22楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(1)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9502931"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9509864" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">林青春:</span>              <span class="comment">已发送</span><span class="date" title="2019-04-10 09:31:58">(1周前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9509864"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9377047" data-replyname="jinhui698">        <a target="_blank" href="https://me.csdn.net/jinhui698"><img src="https://avatar.csdn.net/6/8/5/3_jinhui698.jpg" alt="jinhui698" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/jinhui698"><span class="name ">职场新人零零1:</span></a>              <span class="comment">2570556477@qq.com,感谢大佬的馈赠!!!</span><span class="date" title="2019-03-22 11:10:01">(1个月前</span><span class="floor-num">#21楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(2)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9377047"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9378391" data-replyname="jinhui698">        <a target="_blank" href="https://me.csdn.net/jinhui698"><img src="https://avatar.csdn.net/6/8/5/3_jinhui698.jpg" alt="jinhui698" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/jinhui698"><span class="name mr-8">职场新人零零1</span></a>回复  <span class="name">漫步繁华街:</span>              <span class="comment">已收到,谢谢</span><span class="date" title="2019-03-22 14:23:52">(1个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9378391"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="comment-line-box d-flex" data-commentid="9378261" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">职场新人零零1:</span>              <span class="comment">已发送,请查收</span><span class="date" title="2019-03-22 14:11:18">(1个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9378261"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9270823" data-replyname="qq_30514731">        <a target="_blank" href="https://me.csdn.net/qq_30514731"><img src="https://avatar.csdn.net/C/B/7/3_qq_30514731.jpg" alt="qq_30514731" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_30514731"><span class="name ">qq_30514731:</span></a>              <span class="comment">这才是解决一个问题的正确思路</span><span class="date" title="2019-03-06 10:56:04">(1个月前</span><span class="floor-num">#20楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(1)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9270823"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9368411" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">qq_30514731:</span>              <span class="comment">谢谢</span><span class="date" title="2019-03-21 10:21:47">(1个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9368411"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9367933" data-replyname="gongzhengyu">        <a target="_blank" href="https://me.csdn.net/gongzhengyu"><img src="https://avatar.csdn.net/7/C/B/3_gongzhengyu.jpg" alt="gongzhengyu" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/gongzhengyu"><span class="name ">浮華的滄桑:</span></a>              <span class="comment">师傅受徒儿一拜,gzy81512225@163.com</span><span class="date" title="2019-03-21 09:40:26">(1个月前</span><span class="floor-num">#19楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(1)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9367933"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9368406" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">浮華的滄桑:</span>              <span class="comment">已发送,注意查收</span><span class="date" title="2019-03-21 10:21:28">(1个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9368406"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9336038" data-replyname="qq_43008568">        <a target="_blank" href="https://me.csdn.net/qq_43008568"><img src="https://avatar.csdn.net/F/B/D/3_qq_43008568.jpg" alt="qq_43008568" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_43008568"><span class="name ">宝林大大:</span></a>              <span class="comment">我的邮箱:lbl@kailion.com</span><span class="date" title="2019-03-16 09:53:43">(1个月前</span><span class="floor-num">#18楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(1)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9336038"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9344898" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">宝林大大:</span>              <span class="comment">已发送,注意查收</span><span class="date" title="2019-03-18 09:28:40">(1个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9344898"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9336036" data-replyname="qq_43008568">        <a target="_blank" href="https://me.csdn.net/qq_43008568"><img src="https://avatar.csdn.net/F/B/D/3_qq_43008568.jpg" alt="qq_43008568" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_43008568"><span class="name ">宝林大大:</span></a>              <span class="comment">大神,分享一下吧!多谢了?!</span><span class="date" title="2019-03-16 09:53:14">(1个月前</span><span class="floor-num">#17楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9336036"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9334953" data-replyname="wwmin86">        <a target="_blank" href="https://me.csdn.net/wwmin86"><img src="https://avatar.csdn.net/A/4/9/3_wwmin86.jpg" alt="wwmin86" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/wwmin86"><span class="name ">wwmin86:</span></a>              <span class="comment">已收到,多谢大神</span><span class="date" title="2019-03-15 21:39:55">(1个月前</span><span class="floor-num">#16楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9334953"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9334664" data-replyname="wwmin86">        <a target="_blank" href="https://me.csdn.net/wwmin86"><img src="https://avatar.csdn.net/A/4/9/3_wwmin86.jpg" alt="wwmin86" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/wwmin86"><span class="name ">wwmin86:</span></a>              <span class="comment">wwmin86@qq.com,大神我没有积分,帮我发一份</span><span class="date" title="2019-03-15 20:43:51">(1个月前</span><span class="floor-num">#15楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(1)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9334664"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9334744" data-replyname="wwmin86">        <a target="_blank" href="https://me.csdn.net/wwmin86"><img src="https://avatar.csdn.net/A/4/9/3_wwmin86.jpg" alt="wwmin86" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/wwmin86"><span class="name mr-8">wwmin86</span></a>回复  <span class="name">wwmin86:</span>              <span class="comment">已收到,多谢大神</span><span class="date" title="2019-03-15 20:59:31">(1个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9334744"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9174124" data-replyname="qq_40162965">        <a target="_blank" href="https://me.csdn.net/qq_40162965"><img src="https://avatar.csdn.net/6/8/A/3_qq_40162965.jpg" alt="qq_40162965" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_40162965"><span class="name ">qq_40162965:</span></a>              <span class="comment">1348583360@qq.com  博主新春快乐</span><span class="date" title="2019-02-16 11:51:36">(2个月前</span><span class="floor-num">#14楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(1)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9174124"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9180310" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">qq_40162965:</span>              <span class="comment">已发送,注意查收</span><span class="date" title="2019-02-18 10:04:34">(2个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9180310"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9078951" data-replyname="qq_37603131">        <a target="_blank" href="https://me.csdn.net/qq_37603131"><img src="https://avatar.csdn.net/5/D/E/3_qq_37603131.jpg" alt="qq_37603131" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_37603131"><span class="name ">大桶矿泉水:</span></a>              <span class="comment">邮箱:1950361006@qq.com  实在是没有积分,麻烦发一份demo,感谢</span><span class="date" title="2019-01-21 09:40:14">(3个月前</span><span class="floor-num">#13楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(2)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9078951"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9179040" data-replyname="qq_37603131">        <a target="_blank" href="https://me.csdn.net/qq_37603131"><img src="https://avatar.csdn.net/5/D/E/3_qq_37603131.jpg" alt="qq_37603131" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_37603131"><span class="name mr-8">大桶矿泉水</span></a>回复  <span class="name">漫步繁华街:</span>              <span class="comment">非常感谢您,这个问题现在已经解决了,现在遇到一个新的qt应用方面问题,不知道楼主用过没,在qt中对数据库数据进行导入导出功能</span><span class="date" title="2019-02-17 20:37:15">(2个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9179040"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="comment-line-box d-flex" data-commentid="9078964" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">大桶矿泉水:</span>              <span class="comment">已发送,注意查收</span><span class="date" title="2019-01-21 09:41:26">(3个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9078964"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9026597" data-replyname="weixin_41865152">        <a target="_blank" href="https://me.csdn.net/weixin_41865152"><img src="https://avatar.csdn.net/B/D/3/3_weixin_41865152.jpg" alt="weixin_41865152" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/weixin_41865152"><span class="name ">weixin_41865152:</span></a>              <span class="comment">1183429853@qq.com博主好人</span><span class="date" title="2019-01-10 14:35:05">(3个月前</span><span class="floor-num">#12楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(1)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9026597"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9026716" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">weixin_41865152:</span>              <span class="comment">已发送,注意查收</span><span class="date" title="2019-01-10 14:51:49">(3个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9026716"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9008560" data-replyname="xm877">        <a target="_blank" href="https://me.csdn.net/xm877"><img src="https://avatar.csdn.net/2/7/4/3_xm877.jpg" alt="xm877" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xm877"><span class="name ">xml细尾:</span></a>              <span class="comment">看着不错啊,刚好有个项目需要用到复杂表头,想借鉴一下,积分不够,能发个邮箱么,xm897@126.com,多谢多谢</span><span class="date" title="2019-01-07 18:44:44">(3个月前</span><span class="floor-num">#11楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(2)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9008560"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9011379" data-replyname="xm877">        <a target="_blank" href="https://me.csdn.net/xm877"><img src="https://avatar.csdn.net/2/7/4/3_xm877.jpg" alt="xm877" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xm877"><span class="name mr-8">xml细尾</span></a>回复  <span class="name">漫步繁华街:</span>              <span class="comment">收到了,多谢多谢</span><span class="date" title="2019-01-08 11:29:07">(3个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9011379"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="comment-line-box d-flex" data-commentid="9010395" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">xml细尾:</span>              <span class="comment">已发送,注意查收</span><span class="date" title="2019-01-08 09:38:20">(3个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9010395"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="8999277" data-replyname="qq_26461911">        <a target="_blank" href="https://me.csdn.net/qq_26461911"><img src="https://avatar.csdn.net/A/B/B/3_qq_26461911.jpg" alt="qq_26461911" class="avatar"></a>          <div class="right-box ">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/qq_26461911"><span class="name ">qq_26461911:</span></a>              <span class="comment">352837291@qq.com ;大哥</span><span class="date" title="2019-01-06 00:21:17">(3个月前</span><span class="floor-num">#10楼)</span><span class="opt-box"><a class="btn btn-link-blue btn-read-reply" data-type="readreply">查看回复(1)</a><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="8999277"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li><li class="replay-box"><ul class="comment-list"><li class="comment-line-box d-flex" data-commentid="9004371" data-replyname="xiezhongyuan07">        <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><img src="https://avatar.csdn.net/E/5/9/3_xiezhongyuan07.jpg" alt="xiezhongyuan07" class="avatar"></a>          <div class="right-box reply-box">            <div class="info-box">              <a target="_blank" href="https://me.csdn.net/xiezhongyuan07"><span class="name mr-8">漫步繁华街</span></a>回复  <span class="name">qq_26461911:</span>              <span class="comment">昨天已经发了,注意查收</span><span class="date" title="2019-01-07 09:38:18">(3个月前</span>)<span class="opt-box"><a class="btn btn-link-blue btn-report" data-type="report">举报</a><a class="btn btn-link-blue btn-reply" data-type="reply">回复</a></span></div><div class="comment-like " data-commentid="9004371"><svg class="icon "><use xlink:href="#csdnc-thumbsup"></use></svg><span></span></div></div></li></ul></li></ul></div>
      	<div id="commentPage" class="pagination-box" style="display: block;"><div id="Paging_077035275085457" class="ui-paging-container"><ul><li class="js-page-first js-page-action ui-pager ui-pager-disabled"></li><li class="js-page-prev js-page-action ui-pager ui-pager-disabled">上一页</li><li data-page="1" class="ui-pager focus">1</li><li data-page="2" class="ui-pager">2</li><li class="js-page-next js-page-action ui-pager">下一页</li><li class="js-page-last js-page-action ui-pager"></li></ul></div></div>
      	
      </div>
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/mumu0627/article/details/51227783,BlogCommendFromThirdService_1&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/mumu0627/article/details/51227783" target="_blank" title="浅谈QTableView和QTableWidget数据表格显示方式">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					浅谈<em>QT</em>ableView和<em>QT</em>ableWidget数据表格显示方式				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">04-23</span>
      					<span class="read-num hover-hide">
                阅读数 
      						6615</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/mumu0627/article/details/51227783" target="_blank" title="浅谈QTableView和QTableWidget数据表格显示方式">
      						<span class="desc oneline">一、浅谈QTableView和QTableWidget数据表格显示方式
      

      ① QTableView是基于MVC架构,QTableView表格用来做显示,QStandardItemModel用来做数据模…


      博文
      来自: 我欲乘风归去



      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/guoqianqian5812/article/details/50286167,BlogCommendFromThirdService_2&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/guoqianqian5812/article/details/50286167" target="_blank" title="Qt学习之QTableView和QTableWidget的具体区别">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em>学习之<em>QT</em>ableView和<em>QT</em>ableWidget的具体区别				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">12-13</span>
      					<span class="read-num hover-hide">
                阅读数 
      						2503</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/guoqianqian5812/article/details/50286167" target="_blank" title="Qt学习之QTableView和QTableWidget的具体区别">
      						<span class="desc oneline">在使用QTableView和QTableWidget的时候总是分不清他们的具体区别,今天进行一下总结:
      

      区别点

      QTableView

      QTableWi…


      博文
      来自: 郭小郭的专栏



      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_59" data-pid="59" data-track-click="{&quot;mod&quot;:&quot;kp_popu_59-944&quot;,&quot;con&quot;:&quot;,,&quot;}"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
      

      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u011731378/article/details/80350115,BlogCommendFromThirdService_3&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/u011731378/article/details/80350115" target="_blank" title="Qt之QTableView的使用">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em>之<em>QT</em>ableView的使用				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">05-17</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1968</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/u011731378/article/details/80350115" target="_blank" title="Qt之QTableView的使用">
      						<span class="desc oneline">
                      
                  QTableView类实现表格视图,QTableView的数据由继承QAbstractItemModel的子类models来...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/u011731378">来自:	<span class="blog_title"> Lance</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/qq_19004627/article/details/79868043,BlogCommendFromThirdService_4&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/qq_19004627/article/details/79868043" target="_blank" title="Qt之QTableWidget详细使用">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em>之<em>QT</em>ableWidget详细使用				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">04-09</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3748</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/qq_19004627/article/details/79868043" target="_blank" title="Qt之QTableWidget详细使用">
      						<span class="desc oneline">一、QTableWidget简介QTableWidget是QT对话框设计中常用的显示数据表格的控件。QTableWidget继承于类QTableView,所以在学习QTableWidget之前可以先看...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/qq_19004627">来自:	<span class="blog_title"> 上官雨泽(微信:13631252376)</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/polokang/article/details/6696982,BlogCommendFromBaidu_5&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/polokang/article/details/6696982" target="_blank" title="QT QTableWidget 用法总结">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em> <em>QT</em>ableWidget 用法总结				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">08-18</span>
      					<span class="read-num hover-hide">
                阅读数 
      						11万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/polokang/article/details/6696982" target="_blank" title="QT QTableWidget 用法总结">
      						<span class="desc oneline">QTableWidget是QT程序中常用的显示数据表格的空间,很类似于VC、C#中的DataGrid。说到QTableWidget,就必须讲一下它跟QTabelView的区别了。QTableWidge...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/polokang">来自:	<span class="blog_title"> polokang的专栏</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/toby54king/article/details/83963877,BlogCommendFromBaidu_6&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/toby54king/article/details/83963877" target="_blank" title="QTableWidget之设置表头QHeaderView背景色">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget之设置<em>表头</em>QHeaderView背景色				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">11-11</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1924</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/toby54king/article/details/83963877" target="_blank" title="QTableWidget之设置表头QHeaderView背景色">
      						<span class="desc oneline">一、说明:一年没有搞Qt啦,一个同事问我QTableWidget相关字体颜色的设置问题,特别是表头怎么设置都不成功。网上一堆说用setStyleSheet设置background-color,然而没有...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/toby54king">来自:	<span class="blog_title"> toby54king的博客</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/neochan1108/article/details/78363783,BlogCommendFromBaidu_7&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/neochan1108/article/details/78363783,BlogCommendFromBaidu_7&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/neochan1108/article/details/78363783" target="_blank" title="QTableWidget表头样式">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget<em>表头</em>样式				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">10-27</span>
      					<span class="read-num hover-hide">
                阅读数 
      						2622</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/neochan1108/article/details/78363783" target="_blank" title="QTableWidget表头样式">
      						<span class="desc oneline">转载请注明出处:http://www.cnblogs.com/dachen408/p/7742680.html
      

      QTableView
      {
      background-color: rgba(255, 2…


      博文
      来自: neochan1108的专栏



      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_60" data-pid="60" data-track-view="{&quot;mod&quot;:&quot;kp_popu_60-909&quot;,&quot;con&quot;:&quot;,,&quot;}" data-track-click="{&quot;mod&quot;:&quot;kp_popu_60-909&quot;,&quot;con&quot;:&quot;,,&quot;}"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
      

      		<div class="recommend-item-box recommend-box-ident recommend-other-item-box" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390519719,BlogCommendFromBaidu_8&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390519719,BlogCommendFromBaidu_8&quot;}" data-flg="true">
      	<a href="https://bbs.csdn.net/topics/390519719" target="_blank">
      		<h4 class="text-truncate oneline" style="width: 763px;">
      				<em>QT</em>ableWidget<em>表头</em>设置背景颜色。			</h4>
      		<div class="info-box d-flex align-content-center">
      				<span class="date">07-16</span>
      		</div>
      		<p class="content oneline" style="width: 852px;">
          <span class="desc oneline">QMainWindow的ui文件上,放了一个QTreeWidget,怎么给这个树控件的表头设置背景颜色</span>
                    <span class="type-show type-show-bbs">论坛</span>
          			</p>
      	</a>
      
      </div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/feiyangqingyun/article/details/82756850,BlogCommendFromBaidu_9&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/feiyangqingyun/article/details/82756850,BlogCommendFromBaidu_9&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/feiyangqingyun/article/details/82756850" target="_blank" title="Qt中设置QTableWidget的表头高度">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em>中设置<em>QT</em>ableWidget的<em>表头</em>高度				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">09-18</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1399</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/feiyangqingyun/article/details/82756850" target="_blank" title="Qt中设置QTableWidget的表头高度">
      						<span class="desc oneline">关键就是
      

      ui-&amp;gt;tableWidget-&amp;gt;horizontalHeader()-&amp;gt;setMinimumHeight(30);

      ui-&amp;gt;…


      博文
      来自: Qt自定义控件大全+UI定制+输入法



            <div class="recommend-item-box blog-expert-recommend-box" style="">
      			<div class="d-flex">
      				<div class="blog-expert-recommend">
      					<div class="blog-expert">
      						<div class="blog-expert-flexbox"></div>
      					</div>
      				</div>
      			</div>
        </div>
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zyc_csdn/article/details/78830542,BlogCommendFromThirdService_10&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zyc_csdn/article/details/78830542,BlogCommendFromThirdService_10&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/zyc_csdn/article/details/78830542" target="_blank" title="QTableWidget与QTableView的区别">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget与<em>QT</em>ableView的区别				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">12-18</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1660</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/zyc_csdn/article/details/78830542" target="_blank" title="QTableWidget与QTableView的区别">
      						<span class="desc oneline">QTableWidget与QTableView的区别
      

      QTableWidget继承自QTableView。QSqlTableModel能与QTableView绑定,但不能于QTableWidget绑…


      博文
      来自: zyc_csdn的博客



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/y396397735/article/details/78494916,BlogCommendFromThirdService_11&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/y396397735/article/details/78494916,BlogCommendFromThirdService_11&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/y396397735/article/details/78494916" target="_blank" title="QTableView表头填满控件,表头对齐">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableView<em>表头</em>填满控件,<em>表头</em>对齐				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">11-09</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3570</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/y396397735/article/details/78494916" target="_blank" title="QTableView表头填满控件,表头对齐">
      						<span class="desc oneline">关于QTableView表头美化、对齐的问题经常操作QTableView,遇到表头无法对齐所在容器的情况,如下图所示:,当表头不能和QTableView控件宽度一致时,及其影响美观。解决办法在QTab...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/y396397735">来自:	<span class="blog_title"> 未来之歌</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/rootlife/article/details/79286910,BlogCommendFromThirdService_12&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/rootlife/article/details/79286910,BlogCommendFromThirdService_12&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/rootlife/article/details/79286910" target="_blank" title="关于QTableWidget 表头设置无效的原因">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					关于<em>QT</em>ableWidget <em>表头</em>设置无效的原因				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">02-08</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1345</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/rootlife/article/details/79286910" target="_blank" title="关于QTableWidget 表头设置无效的原因">
      						<span class="desc oneline">表头无效一般是由于 未设置列数量;调用&nbsp;setColumnCount 后,再调用&nbsp;setHorizontalHeaderLabels 即可生效;;当然最好的情况是&nbsp;setHorizontalHeade...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/rootlife">来自:	<span class="blog_title"> rootlife的专栏</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_61" data-pid="61" data-track-view="{&quot;mod&quot;:&quot;kp_popu_61-903&quot;,&quot;con&quot;:&quot;,,&quot;}" data-track-click="{&quot;mod&quot;:&quot;kp_popu_61-903&quot;,&quot;con&quot;:&quot;,,&quot;}"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
      

      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/thrashx/article/details/80624480,BlogCommendFromThirdService_13&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/thrashx/article/details/80624480,BlogCommendFromThirdService_13&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/thrashx/article/details/80624480" target="_blank" title="QT快速设置QTableWidget表头内容">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>快速设置<em>QT</em>ableWidget<em>表头</em>内容				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">06-08</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3795</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/thrashx/article/details/80624480" target="_blank" title="QT快速设置QTableWidget表头内容">
      						<span class="desc oneline">&nbsp;&nbsp;&nbsp; 可以直接将一个QStringList设置为QTableWidget表头各栏标题,如此方便。因此,以后可以注意qt中可能已经很多新式的便捷接口。QStringList headers;&nbsp;&nbsp; &nbsp;h...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/thrashx">来自:	<span class="blog_title"> thrashx的博客</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/jolin678/article/details/46417377,BlogCommendFromThirdService_14&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/jolin678/article/details/46417377,BlogCommendFromThirdService_14&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/jolin678/article/details/46417377" target="_blank" title="Qt之QTableWidget的使用及常用设置">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em>之<em>QT</em>ableWidget的使用及常用设置				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">06-08</span>
      					<span class="read-num hover-hide">
                阅读数 
      						9637</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/jolin678/article/details/46417377" target="_blank" title="Qt之QTableWidget的使用及常用设置">
      						<span class="desc oneline">[原]Qt之QTableWidget的使用及常用设置
      

      2014-5-25阅读379 评论0

      各种软件设计中,表格的使用非常频繁,下面介绍的是关于QTableWidget的使用以及常用属…


      博文
      来自: 笨师兄



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/shengzhe8688/article/details/52929886,BlogCommendFromBaidu_15&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/shengzhe8688/article/details/52929886,BlogCommendFromBaidu_15&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/shengzhe8688/article/details/52929886" target="_blank" title="QTableWidget的样式和表头">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget的样式和<em>表头</em>				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">10-26</span>
      					<span class="read-num hover-hide">
                阅读数 
      						4813</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/shengzhe8688/article/details/52929886" target="_blank" title="QTableWidget的样式和表头">
      						<span class="desc oneline">//设置该单元格为屏蔽状态,不能编辑和选中。 
      

      ui->tableWidget->item(0,0)->setFlags(Qt::ItemIsEditable);//取消表头的在选中单元格时的高亮状…


      博文
      来自: shengzhe8688的专栏



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zyc_csdn/article/details/78830557,BlogCommendFromBaidu_16&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zyc_csdn/article/details/78830557,BlogCommendFromBaidu_16&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/zyc_csdn/article/details/78830557" target="_blank" title="QTableWidget详解(样式、右键菜单、表头塌陷、多选等)">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget详解(样式、右键菜单、<em>表头</em>塌陷、多选等)				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">12-18</span>
      					<span class="read-num hover-hide">
                阅读数 
      						619</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/zyc_csdn/article/details/78830557" target="_blank" title="QTableWidget详解(样式、右键菜单、表头塌陷、多选等)">
      						<span class="desc oneline">QTableWidget详解(样式、右键菜单、表头塌陷、多选等)
      

      ​ 在Qt的开发过程中,时常会用到表单(QTableWidget)这个控件,网上的资料不少,但是都是最基本的,有一些比较经常遇到的问…


      博文
      来自: zyc_csdn的博客



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/peace2010/article/details/8098684,BlogCommendFromBaidu_17&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/peace2010/article/details/8098684,BlogCommendFromBaidu_17&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/peace2010/article/details/8098684" target="_blank" title="QTableWidget 表头样式设置">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget <em>表头</em>样式设置				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">10-22</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3848</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/peace2010/article/details/8098684" target="_blank" title="QTableWidget 表头样式设置">
      						<span class="desc oneline">最近纠结了好长时间了,在Designer中设置了QWidget{font:……}的样式表,程序中的所有的控件的字体均按要求显示了,只有QTableWidget表头显示不正常。
      

      而且我的界面中很很多个…


      博文



      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_62" data-pid="62" data-track-view="{&quot;mod&quot;:&quot;kp_popu_62-902&quot;,&quot;con&quot;:&quot;,,&quot;}" data-track-click="{&quot;mod&quot;:&quot;kp_popu_62-902&quot;,&quot;con&quot;:&quot;,,&quot;}"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
      

      		<div class="recommend-item-box recommend-box-ident recommend-other-item-box" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390502199,BlogCommendFromBaidu_18&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390502199,BlogCommendFromBaidu_18&quot;}" data-flg="true">
      	<a href="https://bbs.csdn.net/topics/390502199" target="_blank">
      		<h4 class="text-truncate oneline" style="width: 763px;">
      				<em>Qt</em>ablewidget水平和垂直<em>表头</em>设置			</h4>
      		<div class="info-box d-flex align-content-center">
      				<span class="date">06-27</span>
      		</div>
      		<p class="content oneline" style="width: 852px;">
          <span class="desc oneline">我想设置Qtablewidget水平和垂直表头的颜色,代码如下: ui-&gt;tableWidget-&gt;horizontalHeader()-&gt;setStyleSheet("QHeaderView::se</span>
                    <span class="type-show type-show-bbs">论坛</span>
          			</p>
      	</a>
      
      </div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/lycx1234/article/details/77751021,BlogCommendFromBaidu_19&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/lycx1234/article/details/77751021,BlogCommendFromBaidu_19&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/lycx1234/article/details/77751021" target="_blank" title="qtabwidget表头字体大小、字体颜色、背景颜色设置">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>qt</em>abwidget<em>表头</em>字体大小、字体颜色、背景颜色设置				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">08-31</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/lycx1234/article/details/77751021" target="_blank" title="qtabwidget表头字体大小、字体颜色、背景颜色设置">
      						<span class="desc oneline">如下是对tabwidget表头的设置。background-color是对表头背景颜色的设置。font是对字体大小,字体颜色,字体格式设置。
      

      ui.tableWidget_grid->horizont…


      博文
      来自: 蜗牛的专栏



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/qq769651718/article/details/79357938,BlogCommendFromThirdService_20&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/qq769651718/article/details/79357938,BlogCommendFromThirdService_20&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/qq769651718/article/details/79357938" target="_blank" title="Qt深入浅出(十五)QTableView">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em>深入浅出(十五)<em>QT</em>ableView				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">02-24</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/qq769651718/article/details/79357938" target="_blank" title="Qt深入浅出(十五)QTableView">
      						<span class="desc oneline">QTableView​	表格视图控件QTableView,需要和QStandardItemModel, 配套使用,这套框架是基于MVC设计模式设计的,M(Model)是QStandardItemMod...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/qq769651718">来自:	<span class="blog_title"> qq769651718的专栏</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/sundan308/article/details/8743046,BlogCommendFromBaidu_21&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/sundan308/article/details/8743046,BlogCommendFromBaidu_21&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/sundan308/article/details/8743046" target="_blank" title="QT 修改QTableWidget表头">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em> 修改<em>QT</em>ableWidget<em>表头</em>				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">03-31</span>
      					<span class="read-num hover-hide">
                阅读数 
      						5040</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/sundan308/article/details/8743046" target="_blank" title="QT 修改QTableWidget表头">
      						<span class="desc oneline">void NodeConfigDlg::initNodeTable()
      

      {
      m_pNodeTable = new QTableWidget(this);
      QStringList hea…


      博文
      来自: 笑秋水



      		<div class="recommend-item-box recommend-box-ident recommend-other-item-box" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390707830,BlogCommendFromBaidu_22&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390707830,BlogCommendFromBaidu_22&quot;}" data-flg="true">
      	<a href="https://bbs.csdn.net/topics/390707830" target="_blank">
      		<h4 class="text-truncate oneline" style="width: 763px;">
      				关于<em>QT</em>ableWidget设置<em>多行</em><em>表头</em>问题			</h4>
      		<div class="info-box d-flex align-content-center">
      				<span class="date">02-13</span>
      		</div>
      		<p class="content oneline" style="width: 852px;">
          <span class="desc oneline">如上图,如果需要设置多行表头,甚至出现合并表头的情况,该如何处理,请教一个简单可行的方法。</span>
                    <span class="type-show type-show-bbs">论坛</span>
          			</p>
      	</a>
      
      </div>
      
      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_63" data-pid="63" data-track-view="{&quot;mod&quot;:&quot;kp_popu_63-908&quot;,&quot;con&quot;:&quot;,,&quot;}" data-track-click="{&quot;mod&quot;:&quot;kp_popu_63-908&quot;,&quot;con&quot;:&quot;,,&quot;}"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
      

      		<div class="recommend-item-box recommend-box-ident recommend-other-item-box" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/330113953,BlogCommendFromBaidu_23&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/330113953,BlogCommendFromBaidu_23&quot;}" data-flg="true">
      	<a href="https://bbs.csdn.net/topics/330113953" target="_blank">
      		<h4 class="text-truncate oneline" style="width: 763px;">
      				<em>QT</em>ableView如何实现整行选中和禁止编辑单元格?			</h4>
      		<div class="info-box d-flex align-content-center">
      				<span class="date">02-23</span>
      		</div>
      		<p class="content oneline" style="width: 852px;">
          <span class="desc oneline">QTableView如何实现整行选中和禁止编辑单元格? 我就是想让QTableView来显示数据,不想让它接受编辑。 同时最好是能实现单击的时候整行选中的效果</span>
                    <span class="type-show type-show-bbs">论坛</span>
          			</p>
      	</a>
      
      </div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u011417605/article/details/50935696,BlogCommendFromBaidu_24&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u011417605/article/details/50935696,BlogCommendFromBaidu_24&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/u011417605/article/details/50935696" target="_blank" title="Qt学习之QListWidget删除Item">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em>学习之QListWidget删除Item				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">03-21</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/u011417605/article/details/50935696" target="_blank" title="Qt学习之QListWidget删除Item">
      						<span class="desc oneline">将QListWidgetItem从QListWidget列表中删除有两种方法可以做到,但也要根据自己的需要进行选择。
      

      第一种是QListWidgetItem *takeItem(int row);使用…


      博文
      来自: GreenArrowMan-CSDN博客



      		<div class="recommend-item-box recommend-box-ident recommend-other-item-box" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,http://ask.csdn.net/questions/190506,BlogCommendFromBaidu_25&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,http://ask.csdn.net/questions/190506,BlogCommendFromBaidu_25&quot;}" data-flg="true">
      	<a href="http://ask.csdn.net/questions/190506" target="_blank">
      		<h4 class="text-truncate oneline" style="width: 763px;">
      				<em>Qt</em>中如何将<em>QT</em>ableView水平的<em>表头</em>设置成垂直显示,内容自适应改变?像下面这样。			</h4>
      		<div class="info-box d-flex align-content-center">
      				<span class="date">06-24</span>
      		</div>
      		<p class="content oneline" style="width: 852px;">
          <span class="desc oneline">-</span>
                    <span class="type-show type-show-ask">问答</span>
          			</p>
      	</a>
      
      </div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/mmdaphne/article/details/41725329,BlogCommendFromBaidu_26&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/mmdaphne/article/details/41725329,BlogCommendFromBaidu_26&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/mmdaphne/article/details/41725329" target="_blank" title="Qt——取消表头,行标题设置,删除行标题,隐藏行">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em>——取消<em>表头</em>,行标题设置,删除行标题,隐藏行				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">12-04</span>
      					<span class="read-num hover-hide">
                阅读数 
      						5707</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/mmdaphne/article/details/41725329" target="_blank" title="Qt——取消表头,行标题设置,删除行标题,隐藏行">
      						<span class="desc oneline">取消行表头#include  &nbsp; //除了QTableWidget还需要引用QHeaderView
      

      verticalHeader()->hide();
      行标题的设置
      QTableWidgetItem …


      博文
      来自: mmdaphne的专栏



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/xcy2011sky/article/details/6991073,BlogCommendFromBaidu_27&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/xcy2011sky/article/details/6991073,BlogCommendFromBaidu_27&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/xcy2011sky/article/details/6991073" target="_blank" title="QTableWidget 详细使用">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget 详细使用				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">11-19</span>
      					<span class="read-num hover-hide">
                阅读数 
      						8万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/xcy2011sky/article/details/6991073" target="_blank" title="QTableWidget 详细使用">
      						<span class="desc oneline">QTableWidget是QT程序中常用的显示数据表格的空间,很类似于VC、C#中的DataGrid。说到QTableWidget,就必须讲一下它跟QTabelView的区别了。QTableWidge...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/xcy2011sky">来自:	<span class="blog_title"> xcy2011sky</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_64" data-pid="64" data-track-view="{&quot;mod&quot;:&quot;kp_popu_64-901&quot;,&quot;con&quot;:&quot;,,&quot;}" data-track-click="{&quot;mod&quot;:&quot;kp_popu_64-901&quot;,&quot;con&quot;:&quot;,,&quot;}"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
      

      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/sunboyhch/article/details/12781833,BlogCommendFromBaidu_28&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/sunboyhch/article/details/12781833,BlogCommendFromBaidu_28&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/sunboyhch/article/details/12781833" target="_blank" title="如何在QTableWidget表头(列头)添加QCheckBox控件">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					如何在<em>QT</em>ableWidget<em>表头</em>(列头)添加QCheckBox控件				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">10-16</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3508</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/sunboyhch/article/details/12781833" target="_blank" title="如何在QTableWidget表头(列头)添加QCheckBox控件">
      						<span class="desc oneline">如何在QTableWidget表头添加QCheckBox控件</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/sunboyhch">来自:	<span class="blog_title"> 静故了群动</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u011125673/article/details/51753997,BlogCommendFromBaidu_29&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u011125673/article/details/51753997,BlogCommendFromBaidu_29&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/u011125673/article/details/51753997" target="_blank" title="QListWidget与QTableWidget的使用以及样式设置">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					QListWidget与<em>QT</em>ableWidget的使用以及样式设置				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">06-24</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/u011125673/article/details/51753997" target="_blank" title="QListWidget与QTableWidget的使用以及样式设置">
      						<span class="desc oneline">//一、QListWidgetlist_widget = new QListWidget();//list_widget-&gt;resize(200,300);
      

      list_widget->setFixed…


      博文
      来自: Code搬运工



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/liukang325/article/details/49682901,BlogCommendFromBaidu_30&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/liukang325/article/details/49682901,BlogCommendFromBaidu_30&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/liukang325/article/details/49682901" target="_blank" title="在QTableWidget的列头增加Checkbox">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					在<em>QT</em>ableWidget的列头增加Checkbox				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">11-06</span>
      					<span class="read-num hover-hide">
                阅读数 
      						9363</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/liukang325/article/details/49682901" target="_blank" title="在QTableWidget的列头增加Checkbox">
      						<span class="desc oneline">新建一个类,继承QHeaderView:#include 
      

      #include
      #include
      #include class CCheckBoxHeaderView : public QHeade…


      博文
      来自: 阳光柠檬_的技术笔记



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/yangguodang0502/article/details/13167565,BlogCommendFromBaidu_31&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/yangguodang0502/article/details/13167565,BlogCommendFromBaidu_31&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/yangguodang0502/article/details/13167565" target="_blank" title="QTableView中表头宽度设置">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableView中<em>表头</em>宽度设置				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">10-27</span>
      					<span class="read-num hover-hide">
                阅读数 
      						2547</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/yangguodang0502/article/details/13167565" target="_blank" title="QTableView中表头宽度设置">
      						<span class="desc oneline">QTableView中表头宽度设置."标题"列宽度随窗口大小变化而变化,其他列宽度不变
      

      //喜欢

      resizeColumnToContents(SEQ_FAVOURITE);



      博文
      来自: DLove0502的专栏



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/fanyun_01/article/details/78341615,BlogCommendFromBaidu_32&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/fanyun_01/article/details/78341615,BlogCommendFromBaidu_32&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/fanyun_01/article/details/78341615" target="_blank" title="QTableWidget属性及美化总结">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget属性及美化总结				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">10-25</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3574</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/fanyun_01/article/details/78341615" target="_blank" title="QTableWidget属性及美化总结">
      						<span class="desc oneline">(1).&nbsp;&nbsp;QTableWidget创建及属性设置
      

      tableWidget = new QTableWidget(this);
      tableWidget->setRowCount(10);
      tableW…


      博文
      来自: fanyun的博客



      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_65" data-pid="65" data-track-view="{&quot;mod&quot;:&quot;kp_popu_65-900&quot;,&quot;con&quot;:&quot;,,&quot;}" data-track-click="{&quot;mod&quot;:&quot;kp_popu_65-900&quot;,&quot;con&quot;:&quot;,,&quot;}"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
      

      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/hsl17/article/details/6740732,BlogCommendFromBaidu_33&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/hsl17/article/details/6740732,BlogCommendFromBaidu_33&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/hsl17/article/details/6740732" target="_blank" title="对QTableWidget标题的操作">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					对<em>QT</em>ableWidget标题的操作				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">09-01</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3824</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/hsl17/article/details/6740732" target="_blank" title="对QTableWidget标题的操作">
      						<span class="desc oneline">table-&gt;verticalHeader()-&gt;hide();//竖的标题隐藏
      

      table->horizontalHeader()->hide();//顶上的标题隐藏

      tablewidg…


      博文
      来自: HSL、部落



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/leo115/article/details/7665090,BlogCommendFromBaidu_34&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/leo115/article/details/7665090,BlogCommendFromBaidu_34&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/leo115/article/details/7665090" target="_blank" title="QTableWidget的使用详细介绍和美工总结">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableWidget的使用详细介绍和美工总结				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">06-15</span>
      					<span class="read-num hover-hide">
                阅读数 
      						2万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/leo115/article/details/7665090" target="_blank" title="QTableWidget的使用详细介绍和美工总结">
      						<span class="desc oneline">基本外观设置
      

      FriendTable->setFrameShape(QFrame::NoFrame);  //设置边框
      FriendTable->setHorizontalHeaderLabels…


      博文
      来自: leo115的专栏



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/LG1259156776/article/details/52469166,BlogCommendFromBaidu_35&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/LG1259156776/article/details/52469166,BlogCommendFromBaidu_35&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/LG1259156776/article/details/52469166" target="_blank" title="【Qt开发】QTableWidget的详细设置">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					【<em>Qt</em>开发】<em>QT</em>ableWidget的详细设置				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">09-08</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/LG1259156776/article/details/52469166" target="_blank" title="【Qt开发】QTableWidget的详细设置">
      						<span class="desc oneline">在使用Qt不多的日子里,已经两次用到了QTableWidget这个控件,也慢慢的习惯和喜欢上了它。再使用QTableWidget的时候,已不像刚开始使用时的迷茫。嗯嗯。现在就来总结总结我与QTable...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/LG1259156776">来自:	<span class="blog_title"> ZhangPY的专栏</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident recommend-other-item-box" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390787475,BlogCommendFromBaidu_36&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390787475,BlogCommendFromBaidu_36&quot;}" data-flg="true">
      	<a href="https://bbs.csdn.net/topics/390787475" target="_blank">
      		<h4 class="text-truncate oneline" style="width: 763px;">
      				<em>Qt</em>ableWidget水平<em>表头</em>怎么占多列			</h4>
      		<div class="info-box d-flex align-content-center">
      				<span class="date">05-14</span>
      		</div>
      		<p class="content oneline" style="width: 852px;">
          <span class="desc oneline">如图要实现下午效果:</span>
                    <span class="type-show type-show-bbs">论坛</span>
          			</p>
      	</a>
      
      </div>
      
      
      
      			<div class="recommend-item-box recommend-box-ident recommend-download-box clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://download.csdn.net/download/wanguangtong/10807663,BlogCommendFromBaidu_37&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://download.csdn.net/download/wanguangtong/10807663,BlogCommendFromBaidu_37&quot;}" data-flg="true">
      		<a href="https://download.csdn.net/download/wanguangtong/10807663" target="_blank">
      			<div class="content clearfix">
      				<div class="">
      					<h4 class="text-truncate oneline clearfix">
      						<em>QT</em>ableWidget <em>多行</em><em>表头</em>						</h4>
      					<span class="data float-right">11-26</span>
      				</div>
      				<div class="desc oneline">
      						QTableWidget 多行表头,拿去用就行了,本想免费,但最小是1分					</div>
            <span class="type-show type-show-download">下载</span>
      			</div>
      		</a>
      	</div>
      
      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_66" data-pid="66" data-track-click="{&quot;mod&quot;:&quot;kp_popu_66-881&quot;,&quot;con&quot;:&quot;,,&quot;}"><script src="https://nbrecsys.4paradigm.com/resource/cus/csdn/sdk-csdn-render.js"></script>
      

      媒体大神和科技大佬的团聚,你来吗?

      年青人因科技而团聚,4月28日,我们在杭州云栖小镇2050大会等你

      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u014430031/article/details/78108920,BlogCommendFromBaidu_38&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/u014430031/article/details/78108920" target="_blank" title="Qt Table 的表头合并">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em> Table 的<em>表头</em>合并				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">09-27</span>
      					<span class="read-num hover-hide">
                阅读数 
      						4474</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/u014430031/article/details/78108920" target="_blank" title="Qt Table 的表头合并">
      						<span class="desc oneline">最近接到了开发表格的需求,一般来说网上有很多不错的例子。表格的开发多半使用QtableWeiget或者Qtableview。为了美观,有很多样式设置的代码行。
      

      基本外观设置
      FriendTab…


      博文
      来自: u014430031的博客



      		<div class="recommend-item-box recommend-other-item-box" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390025427,BlogCommendFromBaidu_39&quot;}" data-flg="true">
      	<a href="https://bbs.csdn.net/topics/390025427" target="_blank">
      		<h4 class="text-truncate oneline" style="width: 763px;">
      				<em>Qt</em> <em>QT</em>ableWidget的<em>表头</em>或某个格子,如果填写内容过多,如何让其文字自动换行?			</h4>
      		<div class="info-box d-flex align-content-center">
      				<span class="date">04-26</span>
      		</div>
      		<p class="content oneline" style="width: 852px;">
          <span class="desc oneline">有个烦恼的问题一直木有解决:QTableWidget的表头或某个格子,如果填写内容过多,如何让它自动换行? 请各位大虾指导一下!!!</span>
                    <span class="type-show type-show-bbs">论坛</span>
          			</p>
      	</a>
      
      </div>
      
      
      
      			<div class="recommend-item-box recommend-download-box clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://download.csdn.net/download/wuzhongxian/6767901,BlogCommendFromBaidu_40&quot;}" data-flg="true">
      		<a href="https://download.csdn.net/download/wuzhongxian/6767901" target="_blank">
      			<div class="content clearfix">
      				<div class="">
      					<h4 class="text-truncate oneline clearfix">
      						<em>qt</em>树型表格,并带有<em>多行</em><em>表头</em>,超牛						</h4>
      					<span class="data float-right">12-25</span>
      				</div>
      				<div class="desc oneline">
      						自己写的qt树型表格,并带有自定义的多行表头,并使用在表格中画checkbox和画图形,挺不错的。全部源码都有,能编译过。					</div>
            <span class="type-show type-show-download">下载</span>
      			</div>
      		</a>
      	</div>
      
      
      
      		<div class="recommend-item-box recommend-other-item-box" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://bbs.csdn.net/topics/390839884,BlogCommendFromBaidu_41&quot;}" data-flg="true">
      	<a href="https://bbs.csdn.net/topics/390839884" target="_blank">
      		<h4 class="text-truncate oneline" style="width: 763px;">
      				<em>qt</em> <em>QT</em>ableWidget 类的合并单元格			</h4>
      		<div class="info-box d-flex align-content-center">
      				<span class="date">07-21</span>
      		</div>
      		<p class="content oneline" style="width: 852px;">
          <span class="desc oneline">我做了一个合并单元格的动西 QWidget#ExpectedWarnWidget QTableWidget#tableWidget{ gridline-color: #DADADA; border-c</span>
                    <span class="type-show type-show-bbs">论坛</span>
          			</p>
      	</a>
      
      </div>
      
      
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/hebbely/article/details/54310726,BlogCommendFromBaidu_42&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/hebbely/article/details/54310726" target="_blank" title="Qt QTableWidget的用法">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>Qt</em> <em>QT</em>ableWidget的用法				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">01-10</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/hebbely/article/details/54310726" target="_blank" title="Qt QTableWidget的用法">
      						<span class="desc oneline">简述:
      

      表格类是Qt中常用的控件,如QTableWidget,QTableView。QTableWidget是QTableView的子类,主要区别是QTableView可以使用自定义的数据模型来显示…


      博文
      来自: hebbely的博客



      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_67" data-pid="67" data-track-click="{&quot;mod&quot;:&quot;kp_popu_67-882&quot;,&quot;con&quot;:&quot;,,&quot;}"><script src="https://nbrecsys.4paradigm.com/resource/cus/csdn/sdk-csdn-render.js"></script>
      

      媒体大神和科技大佬的团聚,你来吗?

      年青人因科技而团聚,4月28日,我们在杭州云栖小镇2050大会等你。

      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u012765446/article/details/81436327,BlogCommendFromBaidu_43&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/u012765446/article/details/81436327" target="_blank" title="QTableView,支持拖拽列,冻结列,多行表头,绘制表格,复选框,按钮等操作">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableView,支持拖拽列,<em>冻结</em>列,<em>多行</em><em>表头</em>,绘制表格,复选框,按钮等操作				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">08-05</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1055</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/u012765446/article/details/81436327" target="_blank" title="QTableView,支持拖拽列,冻结列,多行表头,绘制表格,复选框,按钮等操作">
      						<span class="desc oneline">封装QTableView,支持以下操作
      

      1、拖拽表列
      2、冻结表列
      3、多行表头
      4、绘制表格包含功能(绘制复选框 、绘制按钮,点击响应  、支持字体指定颜色的设置 、绘制表头,支持排序、全选

      绘制…


      博文
      来自: u012765446的专栏



      			<div class="recommend-item-box recommend-download-box clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://download.csdn.net/download/tom06/9682480,BlogCommendFromBaidu_44&quot;}" data-flg="true">
      		<a href="https://download.csdn.net/download/tom06/9682480" target="_blank">
      			<div class="content clearfix">
      				<div class="">
      					<h4 class="text-truncate oneline clearfix">
      						自定义<em>QT</em>ableView的<em>表头</em>QHeaderView实现<em>多行</em><em>表头</em>						</h4>
      					<span class="data float-right">11-14</span>
      				</div>
      				<div class="desc oneline">
      						A.详情见readme.txt 1.自定义了一个表格View(TcTableView),支持继承重载相关虚函数, 2.TcTabelView支持设置多行横向表头(默认2行), 3.可以添加多张表格,每					</div>
            <span class="type-show type-show-download">下载</span>
      			</div>
      		</a>
      	</div>
      
      
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/y396397735/article/details/78526009,BlogCommendFromBaidu_45&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/y396397735/article/details/78526009" target="_blank" title="QTableView表头添加QCheckBox复选框">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableView<em>表头</em>添加QCheckBox复选框				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">11-13</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3252</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/y396397735/article/details/78526009" target="_blank" title="QTableView表头添加QCheckBox复选框">
      						<span class="desc oneline">关于本文主要讲如何给表格QTableView表头添加复选框,搜集文档网络发现并不能直接设置表头复选功能,普遍采取一种继承QHeaderView,重写paintSection方法实现一个QHeaderV...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/y396397735">来自:	<span class="blog_title"> 未来之歌</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zhangbinsijifeng/article/details/48825683,BlogCommendFromBaidu_46&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/zhangbinsijifeng/article/details/48825683" target="_blank" title="QTableView 设置列头 setHeaderView()">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableView 设置列头 setHeaderView()				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">09-30</span>
      					<span class="read-num hover-hide">
                阅读数 
      						6667</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/zhangbinsijifeng/article/details/48825683" target="_blank" title="QTableView 设置列头 setHeaderView()">
      						<span class="desc oneline">//创建HeadView列头
      

              void TradeTableView::InitView()
              {

                  //设置列头
                  QHe…


      博文
      来自: 证券指标的专栏



      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/fanbiqi/article/details/40212875,BlogCommendFromBaidu_47&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/fanbiqi/article/details/40212875" target="_blank" title="一 QT之QTableView用QHeaderView添加横向表头">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					一 <em>QT</em>之<em>QT</em>ableView用QHeaderView添加横向<em>表头</em>				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">10-18</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/fanbiqi/article/details/40212875" target="_blank" title="一 QT之QTableView用QHeaderView添加横向表头">
      						<span class="desc oneline">QTableView的表头用QHeaderView来添加,为了提高QTableView从sqlite数据库中提取数据的数据,通过设置QSqlQueryModel来添加。
      

      1) 若是在表头不增加任何控…


      博文
      来自: CoolCode



      <div class="recommend-item-box recommend-ad-box"><div id="kp_box_68" data-pid="68" data-track-click="{&quot;mod&quot;:&quot;kp_popu_68-883&quot;,&quot;con&quot;:&quot;,,&quot;}"><!-- T48 位置 -->
      

      媒体大神和科技大佬的团聚,你来吗?

      年青人因科技而团聚,4月28日,我们在杭州云栖小镇2050大会等你

      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zxl_1996/article/details/80093215,BlogCommendFromBaidu_48&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zxl_1996/article/details/80093215,BlogCommendFromBaidu_48&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/zxl_1996/article/details/80093215" target="_blank" title="QTableView如何才能不显示行号和列头">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em>ableView如何才能不显示行号和列头				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">04-26</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1379</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/zxl_1996/article/details/80093215" target="_blank" title="QTableView如何才能不显示行号和列头">
      						<span class="desc oneline">方法一:QTableView::horizontalHeader()-&amp;amp;gt;hide()//隐藏列头方法QTableView::verticalHeader()-&amp;amp;gt;hide()...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/zxl_1996">来自:	<span class="blog_title"> zxl_1996的博客</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/lwwl12/article/details/74941468,BlogCommendFromBaidu_49&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/lwwl12/article/details/74941468,BlogCommendFromBaidu_49&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/lwwl12/article/details/74941468" target="_blank" title="QT QTableView表格左上角样式">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					<em>QT</em> <em>QT</em>ableView表格左上角样式				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">07-11</span>
      					<span class="read-num hover-hide">
                阅读数 
      						2093</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/lwwl12/article/details/74941468" target="_blank" title="QT QTableView表格左上角样式">
      						<span class="desc oneline">在设置完QTableView的表头样式后,发现表格左上角是一片空白,如下图: 
      

      我们希望左上角的区域也是和表头的颜色一致,可以设置此处样式:/QTableView 左上角样式/
      QTableVie…


      博文
      来自: David



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/xiejiashu/article/details/64924006,BlogCommendHotData_0&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/xiejiashu/article/details/64924006,BlogCommendHotData_0&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/xiejiashu/article/details/64924006" target="_blank" title="基于EasyIPCamera实现的数字网络摄像机IPCamera的模拟器IPC RTSP Simulator">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					基于EasyIPCamera实现的数字网络摄像机IPCamera的模拟器IPC RTSP Simulator				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">03-22</span>
      					<span class="read-num hover-hide">
                阅读数 
      						7402</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/xiejiashu/article/details/64924006" target="_blank" title="基于EasyIPCamera实现的数字网络摄像机IPCamera的模拟器IPC RTSP Simulator">
      						<span class="desc oneline">还记得去年在北京安博会上,看到一些厂家的展示台上,各种船舶、公路、车辆的高清视频直播,好奇这些数据是怎么接到现场的,现场成百上千家展台,不可能有那么大的带宽供应,细想数据肯定不是实时的,果然,盯着看了...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/xiejiashu">来自:	<span class="blog_title"> Babosa的专栏</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/arcgis_all/article/details/8200220,BlogCommendHotData_1&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/arcgis_all/article/details/8200220,BlogCommendHotData_1&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/arcgis_all/article/details/8200220" target="_blank" title="如何在ArcGIS Online中构建自己的应用程序模板初级篇-显示地图">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					如何在ArcGIS Online中构建自己的应用程序模板初级篇-显示地图				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">11-21</span>
      					<span class="read-num hover-hide">
                阅读数 
      						4万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/arcgis_all/article/details/8200220" target="_blank" title="如何在ArcGIS Online中构建自己的应用程序模板初级篇-显示地图">
      						<span class="desc oneline">开发ArcGIS Online应用程序模板之前,需要了解怎么使用ArcGIS API for JavaScript。
      

          在ArcGIS Online当中如何构架自己的应用程序模板,我们得先要了…


      博文
      来自: ArcGIS产品与技术专栏



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/hankaibo/article/details/19705205,BlogCommendHotData_2&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/hankaibo/article/details/19705205,BlogCommendHotData_2&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/hankaibo/article/details/19705205" target="_blank" title="JSP/Servlet环境配置">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					JSP/Servlet环境配置				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">02-23</span>
      					<span class="read-num hover-hide">
                阅读数 
      						6720</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/hankaibo/article/details/19705205" target="_blank" title="JSP/Servlet环境配置">
      						<span class="desc oneline">下载安装JDK并配置环境变量
      

      这里我下载安装的是jdk-7u51-windows-i586,如果你没有请到Oracle官网下载;
      【我的电脑】-【高级系统设置】-【环境变量】-系统变量中的Path添加…


      博文
      来自: hankaibo



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/themagickeyjianan/article/details/52386981,BlogCommendHotData_3&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/themagickeyjianan/article/details/52386981,BlogCommendHotData_3&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/themagickeyjianan/article/details/52386981" target="_blank" title="python图片处理类之~PIL.Image模块(ios android icon图标自动生成处理)">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					python图片处理类之~PIL.Image模块(ios android icon图标自动生成处理)				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">08-31</span>
      					<span class="read-num hover-hide">
                阅读数 
      						7万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/themagickeyjianan/article/details/52386981" target="_blank" title="python图片处理类之~PIL.Image模块(ios android icon图标自动生成处理)">
      						<span class="desc oneline">1.从pyCharm提示下载PIL包
      

       http://www.pythonware.com/products/pil/

       

      2.解压后,进入到目录下

      cd /Users/jianan/Dow…


      博文
      来自: 专注于cocos+unity+服务器全栈



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/ymj7150697/article/details/7384126,BlogCommendHotData_4&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/ymj7150697/article/details/7384126,BlogCommendHotData_4&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/ymj7150697/article/details/7384126" target="_blank" title="expat介绍文档翻译">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					expat介绍文档翻译				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">03-22</span>
      					<span class="read-num hover-hide">
                阅读数 
      						4万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/ymj7150697/article/details/7384126" target="_blank" title="expat介绍文档翻译">
      						<span class="desc oneline">原文地址:http://www.xml.com/pub/a/1999/09/expat/index.html
      

      因为需要用,所以才翻译了这个文档。但总归赖于英语水平很有限,翻译出来的中文有可能…


      博文
      来自: ymj7150697的专栏



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/dongcheng_/article/details/84624789,BlogCommendHotData_5&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/dongcheng_/article/details/84624789,BlogCommendHotData_5&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/dongcheng_/article/details/84624789" target="_blank" title="pandas某一列中每一行拆分成多行的方法">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					pandas某一列中每一行拆分成多行的方法				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">11-29</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1195</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/dongcheng_/article/details/84624789" target="_blank" title="pandas某一列中每一行拆分成多行的方法">
      						<span class="desc oneline">在处理数据过程中,常会遇到将一条数据拆分成多条,比如一个人的地址信息中,可能有多条地址,既有家庭地址也有工作地址,还有电话信息等等类似的情况,实际使用数据的时候又需要分开处理,这个时候就需要将这一条数...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/dongcheng_">来自:	<span class="blog_title"> dongcheng 的博客</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/lk_blog/article/details/8007777,BlogCommendHotData_6&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/lk_blog/article/details/8007777,BlogCommendHotData_6&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/lk_blog/article/details/8007777" target="_blank" title="配置简单功能强大的excel工具类搞定excel导入导出工具类(一)">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					配置简单功能强大的excel工具类搞定excel导入导出工具类(一)				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">09-22</span>
      					<span class="read-num hover-hide">
                阅读数 
      						4万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/lk_blog/article/details/8007777" target="_blank" title="配置简单功能强大的excel工具类搞定excel导入导出工具类(一)">
      						<span class="desc oneline">对于J2EE项目导入导出Excel是最普通和实用功能,本工具类使用步骤简单,功能强大,只需要对实体类进行简单的注解就能实现导入导出功能,导入导出操作的都是实体对象.
      

      请看一下这个类都有哪些功能:
        …


      博文
      来自: 李坤 大米时代 第五期



      		<div class="recommend-item-box recommend-box-ident type_blog clearfix" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zhanglong_web/article/details/78649717,BlogCommendHotData_7&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/zhanglong_web/article/details/78649717,BlogCommendHotData_7&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/zhanglong_web/article/details/78649717" target="_blank" title="vue移动端flexible.js结合Muse-ui使用的小坑">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					vue移动端flexible.js结合Muse-ui使用的小坑				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">11-27</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/zhanglong_web/article/details/78649717" target="_blank" title="vue移动端flexible.js结合Muse-ui使用的小坑">
      						<span class="desc oneline">因为公司有个项目有webapp的需求,在前期准备的期间考虑过使用ionic,毕竟该项目web端的框架使用的是Angular,项目组的人也都比较熟悉,但是我们毕竟只是做个移动的网页,不想用ionic那么...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/zhanglong_web">来自:	<span class="blog_title"> zhangl的博客</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/VBcom/article/details/7245186,BlogCommendHotData_8&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/VBcom/article/details/7245186" target="_blank" title="DirectX修复工具增强版">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					DirectX修复工具增强版				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">02-09</span>
      					<span class="read-num hover-hide">
                阅读数 
      						195万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/VBcom/article/details/7245186" target="_blank" title="DirectX修复工具增强版">
      						<span class="desc oneline">最后更新:2018-12-20
      

      DirectX修复工具最新版:DirectX Repair V3.8 增强版  NEW!

      版本号:V3.8.0.11638

      大小: 107MB/7z格式压缩,18…


      博文
      来自: VBcom的专栏



      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u010258235/article/details/45666851,BlogCommendHotData_9&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/u010258235/article/details/45666851" target="_blank" title="C语言函数操作大全----(超详细)">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					C语言函数操作大全----(超详细)				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">05-12</span>
      					<span class="read-num hover-hide">
                阅读数 
      						2万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/u010258235/article/details/45666851" target="_blank" title="C语言函数操作大全----(超详细)">
      						<span class="desc oneline">fopen(打开文件)
      

      相关函数 open,fclose
      表头文件 #include
      定义函数 FILE * fopen(const char * path,const char * mode)…


      博文
      来自: 独旅天涯



      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/yang_lover/article/details/45057181,BlogCommendHotData_10&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/yang_lover/article/details/45057181" target="_blank" title="避免 Hibernate 中用get/load方法获取的实体调用set方法后自动更新">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					避免 Hibernate 中用get/load方法获取的实体调用set方法后自动更新				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">04-15</span>
      					<span class="read-num hover-hide">
                阅读数 
      						1万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/yang_lover/article/details/45057181" target="_blank" title="避免 Hibernate 中用get/load方法获取的实体调用set方法后自动更新">
      						<span class="desc oneline">1、问题症状描述
      

            最近在处理一个新需求问题,代码的大致逻辑是获取一个实体对象,调用该对象的set方法设置其中的某些字段,然后把修改后的实体作为参数供其他地方调用,根据返回值来决定是否更新这…


      博文
      来自: Mr_Alex



      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u011860731/article/details/48733073,BlogCommendHotData_11&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/u011860731/article/details/48733073" target="_blank" title="ThreadLocal的设计理念与作用">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					ThreadLocal的设计理念与作用				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">09-25</span>
      					<span class="read-num hover-hide">
                阅读数 
      						6万+</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/u011860731/article/details/48733073" target="_blank" title="ThreadLocal的设计理念与作用">
      						<span class="desc oneline">Java中的ThreadLocal类允许我们创建只能被同一个线程读写的变量。因此,如果一段代码含有一个ThreadLocal变量的引用,即使两个线程同时执行这段代码,它们也无法访问到对方的Thread...</span>
      					</a>
      					  <span class="blog_title_box oneline ">
      						                <span class="type-show type-show-blog type-show-after">博文</span>
                                    <a target="_blank" href="https://blog.csdn.net/u011860731">来自:	<span class="blog_title"> u011860731的专栏</span></a>
                  							              </span>
      				</p>
      		</div>
      				</div>
      
      
      
      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/u011068702/article/details/48786525,BlogCommendHotData_12&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/u011068702/article/details/48786525" target="_blank" title="Git的理解和使用">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					Git的理解和使用				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">09-28</span>
      					<span class="read-num hover-hide">
                阅读数 
      						3497</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/u011068702/article/details/48786525" target="_blank" title="Git的理解和使用">
      						<span class="desc oneline">Git介绍
      

      Git(the stupid content tracker)是一个源自Linux内核项目的源码管理工具。和传统的CVS、SVN不同,git是一个分布式源码管理工具。

      Git命令…


      博文
      来自: No talent but persistence



      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;con&quot;:&quot;,https://blog.csdn.net/pyx61198/article/details/52298037,BlogCommendHotData_13&quot;}" data-flg="true">
      		<div class="content" style="width: 852px;">
      			<a href="https://blog.csdn.net/pyx61198/article/details/52298037" target="_blank" title="GIS算法--已知一点经纬度,方位角,距离求另一点">
      			<h4 class="text-truncate oneline" style="width: 692px;">
      					GIS算法--已知一点经纬度,方位角,距离求另一点				</h4>
      			<div class="info-box d-flex align-content-center">
      				<p class="date-and-readNum oneline">
      					<span class="date hover-show">08-24</span>
      					<span class="read-num hover-hide">
                阅读数 
      						8714</span>
      					</p>
      				</div>
      			</a>
      				<p class="content" style="width: 852px;">
      					<a href="https://blog.csdn.net/pyx61198/article/details/52298037" target="_blank" title="GIS算法--已知一点经纬度,方位角,距离求另一点">
      						<span class="desc oneline">已知一个点A的经纬度坐标,点B相对与A的方位角,B到A的距离,求B的经纬度坐标,用Javascript语言来完成该算法,借用了一下openL
      

      CommonFunc.caculate={



      博文
      来自: 夕颜的专栏



      		<div class="recommend-item-box type_blog clearfix" data-track-click="{&quot;mod&quot
      
    • 2
      点赞
    • 3
      评论
    • 50
      收藏
    • 一键三连
      一键三连
    • 扫一扫,分享海报

    ©️2021 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页
    实付
    使用余额支付
    点击重新获取
    扫码支付
    钱包余额 0

    抵扣说明:

    1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
    2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

    余额充值