there are multi-row of my text content in 1 column of the QTreeWidget, how to simplify the displayed text in order to show only 1st row of the text?



  • there are multi-row of my text content in 1 column of the QTreeWidget, how to simplify the displayed text in order to show only 1st row of the text?
    eg. the text content is :
    1st row
    2nd row
    i want it display as follow:
    1st row...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.