Unknown macro: {alias}
Name
qsethorizontalheaderlabel — set column label in tablewidget
Syntax
qsethorizontalheaderlabel [tablewidget] column text
Description
The qsethorizontalheaderlabel command sets the header text for a given column in a QTableWidget.
To set a row header use qsetverticalheaderlabel.
Arguments
tablewidget
column
Examples
Ex.1: qsethorizontalheaderlabel
set w [qwidget] qsetwindowtitle "Simple Table" qvboxlayout { qtablewidget 2 3 qsetverticalheaderlabel 0 "Row 1" qsetverticalheaderlabel 1 "Row 2" qsethorizontalheaderlabel 0 "First Name" qsethorizontalheaderlabel 1 "Last Name" } qshow $w