Hi all, I'm building a table using QStandardItemModel. I'm using it like this:
myModel.setData( index1, new Double( 10.0 ) ); myModel.setData( index2, new Double( 10.32 ) ); In the table, the 2 rows appear as "10" and "10.32". Is there any way to format "10" to appear as "10.00" ? I don't want to set it up as a String, since using Double creates an edit spin box in that cell that allows only numeric values, as opposed to the String that is just a free text entry box... Thanks, Danny __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
