Simone Zaccarin ha scritto:
My only problem is that I construct the UI via QtDesigner. Is there a way to
overwrite the table added via Designer without being a PyQt4 expert?
Sorry, I misunderstood the message... :)
The QSqlRelationalTableModel is added by code... :)
Simone
Chiacchiera con i
Mark Summerfield ha scritto:
On 2008-04-11, Simone Zaccarin wrote:
I'm trying to create a custom QSqlRelationalDelegate.
In the database, the date field is in text form '-MM-dd'. I have to
show that string in a QSqlTable in the form 'dd-MM-'.
If that's the only change you want to
I'm trying to create a custom QSqlRelationalDelegate.
In the database, the date field is in text form '-MM-dd'. I have to show
that string in a QSqlTable in the form 'dd-MM-'.
I think to overwrite the paint method of the QSqlRelationalDelegate, but the
result is not what I'm expeting:
On 2008-04-11, Simone Zaccarin wrote:
I'm trying to create a custom QSqlRelationalDelegate.
In the database, the date field is in text form '-MM-dd'. I have to
show that string in a QSqlTable in the form 'dd-MM-'.
If that's the only change you want to make, you could try what might be
]
Inviato: Venerdì 11 aprile 2008, 16:02:12
Oggetto: Re: [PyQt] Custom QSqlRelationalDelagate: how to change text?
On 2008-04-11, Simone Zaccarin wrote:
I'm trying to create a custom QSqlRelationalDelegate.
In the database, the date field is in text form '-MM-dd'. I have to
show that string