[Qt-interest] Adding button to each section of QHeader
S.P
iraniangirl9999 at yahoo.com
Mon Jan 26 14:08:41 CET 2009
Dear All,
I have a QTable.I want to add a QPushButton to the right side of each section in the horizontal header of this table.These push buttons are shown as 'button" in the following example:
===========================================================
| | X [button]| Y1 [button]| Y2 [button]| Y3 [button]|
===========================================================
| 1 | 0.0 | 0.0 | 0.0 | 0.0 |
| 2 | 1.0 | 1.0 | 0.0 | 0.0 |
| 3 | 2.0 | 2.0 | 0.0 | 0.0 |
===========================================================
the horizontal header of the above table has 4 sections( columns).I want to add a QPushButton ( totaly 4 push buttons) to the right edge of each section.Does anyone know how I should do this?
Thank you in advance
New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090126/9ecc1272/attachment.html
More information about the Qt-interest-old
mailing list