[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] QTable sortcolumns question
From: Rick Kier <rick () TeamSTARS ! net>
Date: 2002-07-28 12:58:26
[Download RAW message or body]
Hi,
We are relative newbies to PyQT, QT, and Python. What a GREAT
combination. We can really be productive compare to c... Thanks
Phil for all of your effort!!!
Now, the question:
How do we swap sections when we swap rows?
We have a table that we are sorting by calling sortColumns forcing
it to sort full rows. This works fine except that the sections
don't get swapped as well.
QTable's sortColumns calls swapRows without the bool indicating that
sections should be swapped.
So, we created our own swapRows which called QTable.swapRws with
swapSections = true. This didn't work - we recursed forever. We
checked: QHeader.swapSections calls table->swapRows.
Thanks,
TeamSTARS
Dick Gordon and Rick Kier
_______________________________________________
PyKDE mailing list PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic