简体   繁体   中英

How to make QHeaderView item selected when clicked?

Currently it only be highlighted when mouse over. I want it behaves like windows task manager:

  1. one can select header item by clicking,
  2. and pop-up context menu when right clicking on the item.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM