PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 963 - What's This not displaying QTableWidget column header information as in Qt Designer
: What's This not displaying QTableWidget column header information as in Qt De...
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: pyside-tools
: 1.0.5
: All All
: P3 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-08-09 17:31 EEST by Peter
Modified: 2011-08-23 00:35 EEST (History)
8 users (show)

See Also:


Attachments
what's this example code (6.68 KB, application/zip)
2011-08-09 17:31 EEST, Peter
Details
File generated from example_dlg.ui (5.93 KB, text/plain)
2011-08-16 20:30 EEST, Hugo Parente Lima
Details
Pictures of the problem (137.59 KB, application/octet-stream)
2011-08-17 14:13 EEST, Peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2011-08-09 17:31:31 EEST
Created attachment 393 [details]
what's this example code

If you click on a column header that has "what's this" information set, it will
display the QTableWidget "what's this" information instead. If the QTableWidget
has no "what's this" information, the cursor never changes to the '?' cursor.

When you preview the dialog in Qt Designer this does not occur. It correctly
displays the column header information. 

As a side-note, I tested it in PyQt4 and it has the same problem.

Attached is an example of the problem with the ui files. Run
'whats_this_example.pyw' to view the problem in the dialog. 'example_dlg.pyw'
is the problematic dialog box.
Comment 1 Hugo Parente Lima 2011-08-16 20:30:03 EEST
Created attachment 399 [details]
File generated from example_dlg.ui

What's version of pyside-tools are you using?

Can you attach the python file generated by pyside-uic tool?

If I correctly understood your problem, it worked for me, I'm attaching the
file created when I ran pyside-uic on example_dlg.ui.
Comment 2 Peter 2011-08-17 13:38:30 EEST
(In reply to comment #1)
> Created attachment 399 [details]
> File generated from example_dlg.ui
> 
> What's version of pyside-tools are you using?
> 
> Can you attach the python file generated by pyside-uic tool?

As you can see in "example_dlg.pyw" included with the first attachment, I am
using "pyside-uic 0.2.12 running on PySide 1.0.5"
Yours is: "pyside-uic 0.2.12 running on PySide 1.0.6"

Unfortunately it isn't working with your version either. I will setup on
another computer and let you know if it works there.
Comment 3 Peter 2011-08-17 14:05:01 EEST
I have now tested this on:

Windows 7 64-bit, pyside 1.0.5, python 2.7.2 32-bit (in and out of VirtualBox)
Windows XP SP3 32-bit, pyside 1.0.5, python 2.7.2 32-bit (in VirtualBox)

None of them work.

I will attach images of the problem as well. Hopefully they will help you.
Comment 4 Peter 2011-08-17 14:13:35 EEST
Created attachment 402 [details]
Pictures of the problem

The 'No Info.JPG' shows that no information is available (even though there
is).
The 'Wrong Info.JPG' shows that the table information and not the column header
info is being shown when clicking on the column header.
Comment 5 Hugo Parente Lima 2011-08-17 23:16:02 EEST
I had misunderstood the problem, I wrote your example in C++ and saw how the
Python version should be, thanks.
Comment 6 Hugo Parente Lima 2011-08-17 23:32:40 EEST
The problem isn't in PySide bindings itself, but in pyside-uic that isn't
generating the lines to set the what's this on table headers.
Comment 7 Hugo Parente Lima 2011-08-18 22:55:00 EEST
Fixed in commit:

pyside-tools/d3c49d24de27ff41b2a465ffa9f5a98957ed9946
Comment 8 Peter 2011-08-19 13:22:38 EEST
(In reply to comment #7)
> Fixed in commit:
> 
> pyside-tools/d3c49d24de27ff41b2a465ffa9f5a98957ed9946

Thanks Hugo, I will have a look
Comment 9 renato filho 2011-08-23 00:35:30 EEST
Released on PySide 1.0.6