如何捕捉鼠标悬停事件QTableWidget表头
1个回答
2015-12-02
展开全部
connect(horizontalHeader(), SIGNAL(sectionClicked(int)),
this, SLOT(onHeaderClicked(int)));
refer to http //developer qt.nokia com/faq/answer/how_can_i_sort_the_items_in_a_qtablewidget_on_multiple_columns
this, SLOT(onHeaderClicked(int)));
refer to http //developer qt.nokia com/faq/answer/how_can_i_sort_the_items_in_a_qtablewidget_on_multiple_columns
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询