Qt with Python size of headeritem in Qtablewidget -
i developping gui using python , qt. problem can't set , fix value columns.
i created table called "tablewidget_segment_list" 2 columns (using qt designer)
i set first width column 100px , second 1 50px.
and fixed values against user.
thank you
you can in either way:
in qtdesigner, right click on widget, select "changestylesheet"
in script code, do
table.setcolumnwidth(1, 100) table.setcolumnwidth(2, 50)
Comments
Post a Comment