On 01/25/2014 11:54 AM, Andre Somers wrote:
> Your delegate is dealing with the editor, but not with the display. Try
> reimplementing the displayText method. Also, check if the data type you
> get from the database really is numerical. SQLite can be weird with data
> types in my experience.
Ignore
On 01/25/2014 11:54 AM, Andre Somers wrote:
> Your delegate is dealing with the editor, but not with the display. Try
> reimplementing the displayText method. Also, check if the data type you
> get from the database really is numerical. SQLite can be weird with data
> types in my experience.
I trie
Muhammad Bashir Al-Noimi schreef op 25-1-2014 12:13:
> On 01/22/2014 10:24 AM, André Somers wrote:
>> If you want to modify it at the 'view' end, you should use a
>> QStyledItemDelegate subclass and install that on the view, or on a
>> specific column of the view.
> I did that exactly but unfortuna
On 01/22/2014 10:24 AM, André Somers wrote:
> If you want to modify it at the 'view' end, you should use a
> QStyledItemDelegate subclass and install that on the view, or on a
> specific column of the view.
I did that exactly but unfortunately it didn't work :(
May you please tell me what's wrong?
Muhammad Bashir Al-Noimi schreef op 21-1-2014 18:22:
>Howdy,
>
> I'm using QTableView in very basic mode to view a QSqlTableModel but one
> of numeric column shows the numbers using 'e' factor while they should
> be in digits only '100'
>
> How can I change the format of specific column
Howdy,
I'm using QTableView in very basic mode to view a QSqlTableModel but one
of numeric column shows the numbers using 'e' factor while they should
be in digits only '100'
How can I change the format of specific column without subclassing
QTableView?
Can I change the format from