Qt Forum - programming with C++ and Qt
Register Calendar Members List Team Members Search Frequently Asked Questions Go to the Main Page

Qt Forum - programming with C++ and Qt » QtForum.org » Qt » Qt Designer » QTreeWidget DoubleClick » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page QTreeWidget DoubleClick
Author
Post « Previous Thread | Next Thread »
ajonesfl
Assistant


Registration Date: 17.03.2008
Posts: 7
Location: Florida

Level: 7 [?]
Experience: 431
Next Level: 443

12 points of experience needed for next level

QTreeWidget DoubleClick Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

I am trying to get the itemDoubleClick on the QTreeWidget to open a custom Dialog box. Does anyone know how to do that. Any advise would be appreciated. Thanks in Advance. I have had no success.

__________________
Adam Jones
15.04.2008 00:17 ajonesfl is offline Send an Email to ajonesfl Homepage of ajonesfl Search for Posts by ajonesfl Add ajonesfl to your Buddy List
seguprasad seguprasad is a male
Chief Software Engineer


Registration Date: 14.02.2007
Posts: 103
Location: INDIA

Level: 22 [?]
Experience: 47,190
Next Level: 49,025

1,835 points of experience needed for next level

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

You need to implement itemDoubleClicked() of QTreeWidget in your application.

__________________
-Segu,
17.04.2008 13:14 seguprasad is offline Send an Email to seguprasad Search for Posts by seguprasad Add seguprasad to your Buddy List
T.M.F. T.M.F. is a male
Chief Software Engineer


Registration Date: 21.11.2006
Posts: 140

Level: 24 [?]
Experience: 75,978
Next Level: 79,247

3,269 points of experience needed for next level

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

He rather needs to catch itemDoubleClicked ( QTreeWidgetItem*, int) signal.
18.04.2008 00:53 T.M.F. is offline Send an Email to T.M.F. Homepage of T.M.F. Search for Posts by T.M.F. Add T.M.F. to your Buddy List
alokraj
Coder


Registration Date: 05.05.2008
Posts: 12
Location: Bangalore

Level: 5 [?]
Experience: 144
Next Level: 173

29 points of experience needed for next level

RE: QTreeWidget DoubleClick Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Correct catch the signal, and in slot call a "show" for the dialog to be shown.
definitely, before showing you have to fill in that dialogue class

__________________
Thanks!
Alok
14.05.2008 15:37 alokraj is offline Send an Email to alokraj Search for Posts by alokraj Add alokraj to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
Qt Forum - programming with C++ and Qt » QtForum.org » Qt » Qt Designer » QTreeWidget DoubleClick

views today: 6.024 | views yesterday: 12.104 | total views: 10.251.497


Klebekork Shop - Linux Shop - Kontaktanzeigen - Linux Forum -  SMS Gewinnspiel -  Hotels -  Stadtpläne -  Branchenbuch & Stadtplan

Branchenbuch Österreich - Branchenbuch Niederlande - Portugal Branchenverzeichnis - Spanien Branchenverzeichnis 
Telefonbuch - Branchenbuch Frankreich