Qt string fixed width
The fixed width of qt string can be achieved by using Qt function setFixedWidth (). According to the relevant public information of the query, the function setFixedWidth () receives a parameter, that is, the width to be set, which can be set by itself as required.