[Qt-interest] Display Euro Symbol in QTableWidget header.

Jan janusius at gmx.net
Wed Nov 18 16:03:06 CET 2009


Hi,

if I add a "€" column in Designer (tablewidget) the code generated looks 
like this

qtablewidgetitem->setText(QApplication::translate("Form", 
"\342\202\254", 0, QApplication::UnicodeUTF8))

Guess it should work in your code as well.

Jan

Wm. G. Urquhart schrieb:
> Hi List,
> 
> I need to create a two line column header that reads "Carbon\n€/tonne" 
> however, I can't get the Euro symbol to appear correctly, can anyone 
> help me please.
> 



More information about the Qt-interest-old mailing list