|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi,
maybe it is sufficient for you to set a tool tip Qt 4.5: QTreeWidgetItem Class Reference to get what you want. Otherwise you have to intercept the mouse event in Qt 4.5: QAbstractItemView Class Reference by reimplementing the virtual function, doing your stuff with the event Qt 4.5: QMouseEvent Class Reference where you get the x and y position and then calling the base function. Hope this helps |
|
||||
|
Just forgot to mention how to get the item belonging to the mouse position. For this you have to use Qt 4.5: QTreeWidget Class Reference with the position which will give you the item for that position.
Hope this helps |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|