Thanks
answer
// pTee is the QTreeWidget
bConnect = connect( pTree->header(), SIGNAL( sectionDoubleClicked(int) ), this, SLOT( treeHeaderDoubleClick(int) ) );
treeHeaderDoubleClick(int)
{
// What ever you wont to do in click this event
}
// pTee is the QTreeWidget
bConnect = connect( pTree->header(), SIGNAL( sectionDoubleClicked(int) ), this, SLOT( treeHeaderDoubleClick(int) ) );
treeHeaderDoubleClick(int)
{
// What ever you wont to do in click this event
}
To copy to clipboard, switch view to plain text mode
Bookmarks