View Full Version : QTable - Cell Thickness
Solarity
16th March 2006, 17:36
I need to somehow make a vertical divider in my table. Is there a way to alter the cell thickenss on one side, or is there some other means of making a divider?
zlatko
16th March 2006, 18:00
Maiby will be better use 2 tables with splitter between them?
Corran
16th March 2006, 19:58
Otherwise you can subclass the table widget and reimplement the paintEvent function there. Just draw lines over the table where you need the divider.
Solarity
16th March 2006, 20:14
Maiby will be better use 2 tables with splitter between them?
I definitely need it to be one table.
Solarity
16th March 2006, 20:15
Otherwise you can subclass the table widget and reimplement the paintEvent function there. Just draw lines over the table where you need the divider.
Possible... But I wouldn't be sure where exactly to draw the line. Maybe there is a way to get the cells coordinates and then draw the line that way. I'll have to look into it. It would also cut into the cell space that way.
Powered by vBulletin® Version 4.2.5 Copyright © 2023 vBulletin Solutions Inc. All rights reserved.