PDA

View Full Version : QTableWidget- how to set caption



GG2013
21st June 2013, 01:36
Hallo,
I am using multiple widgets (like plot, table etc.) on one page. I would like to have a caption ("Bandwidth Table") as shown in the attached picture. I can set the headers (eg: "Date" & "Traffic") but not the caption.
Could someone help me please!

ChrisW67
21st June 2013, 05:35
There is no "caption". Just place a QLabel in the layout.

anda_skoa
21st June 2013, 08:19
Or put the table into a QGroupBox

Cheers,
_

GG2013
24th June 2013, 02:05
Thank you so much @ChrisW67 and @anda_skoa. Both worked fine but I found QGroupBox is easier to use.