Hi.
Is there a simple way of rightjustify the QString that I'm about to insert into a QListWidget so that it is right justified to the right margin of the QListWidget. For this I need to know the number of chars that I can write on the line, right?
Hi.
Is there a simple way of rightjustify the QString that I'm about to insert into a QListWidget so that it is right justified to the right margin of the QListWidget. For this I need to know the number of chars that I can write on the line, right?
void QListWidgetItem::setTextAlignment ( int alignment )
Sets the list item's text alignment to alignment (see Qt::AlignmentFlag).
Morea (24th March 2006)
Bookmarks