当前位置: 代码迷 >> QT开发 >> QTableWidget每个列头的指针怎么找到
  详细解决方案

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

热度:356   发布时间:2016-04-25 05:13:48.0
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的帮助文档,有时间多浏览一下,还是很多问题能解决的。
  相关解决方案