首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > QT开发 >

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

2012-03-29 
QTableWidget每个列头的指针如何找到?QHeaderViewSupports the box model. The sections of the header vi

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的帮助文档,有时间多浏览一下,还是很多问题能解决的。

热点排行