Home > other >  The QTreeWidget eventfilters
The QTreeWidget eventfilters

Time:04-24

In the constructor of a dialog: copying code QTreeWidget * pTreeWidget=new QTreeWidget (this); PTreeWidget - & gt; InstallEventFilter (this); And then added some in the QTreeWidget QTreeWidgetItem but in this dialog eventfilters function capture of QTreeWidgetItem click event, such as use eventfilters don't give up, what should I do? That the answer: [in the foreigners to use pTreeWidget - & gt; viewport () - & gt; installEventFilter (this); so that,] [this post is luoyes in the 2010-03-31 16:15 redacted]

CodePudding user response:

Their top, everybody to help,

CodePudding user response:

I was such a problem,,,, waiting for solving

CodePudding user response:

Thank you, ok.
  • Related