Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.7.4, 5.1.1
-
None
-
Test Run under Linux platform
-
c782ed3c48b31dc38b728947270df3fc3f3a7626
Description
I have used the FreezeTableWidget case sample As i was needing the same feature.
While debugging my usage, i found a case where initial allignment of the 2nd table is incorrect. After analysis i found that:
- main table is having vertical header.
- this vertical header is resized at some point during initialization
- No geometriesChanged() signal is emitted while the size is altered.
I have checked in re-implemented API bool QHeaderView::viewportEvent(QEvent *e), and confirm that under this circompstance, the signal is missing.
To verify i have build special derived version of QHeaderView that emit the signal. My display get ok.
I attached a screenshot. I can be seen some alignment error on the 1st column (due to missed resize operation).
I also attach an updataed (improved)code for the Qt example that perform better.