专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > QT开发

QTableWidget每个列头的指针怎么找到

发布时间:2010-05-30 21:35:26 文章来源:www.iduyao.cn 采编人员:星星草
QTableWidget每个列头的指针如何找到?
QHeaderView
Supports the box model. The sections of the header view are styled using the ::section sub control. The section Sub-control supports the :middle, :first, :last, :only-one, :next-selected, :previous-selected, :selected, and :checked pseudo states.
Sort indicator in can be styled using the ::up-arrow and the ::down-arrow Sub-control.
See Customizing QHeaderView for an example.

C/C++ code
m_pMyTable = new QTableWidget(3, 3, this);
QHeaderView* headerView = m_m_pMyTable->horizontalHeader();
headerView->setObjectName ("MyTableHeaderName");


:middle, :first, :last,这几个参数如何用它?

------解决方案--------------------
探讨

引用:

呵呵 恭喜蛤~
QT的帮助文档,有时间多浏览一下,还是很多问题能解决的。
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: