读书人

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

发布时间: 2012-03-29 12:53:12 作者: rapoo

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

读书人网 >QT开发

热点推荐