Skink wrote:
> David Boddie wrote:
> > I find it strange that you have to triple-click to edit any of the
> > items in your example. Do you see the same behaviour?
> oh, this is default Qt behavoiur: first click selects row, second select
> editor (for ColorProperty, IntProperty & StringProperty
David Boddie wrote:
>
> It should be OK - it shouldn't crash, anyway. It depends on the view
> doing the right thing when it finds that it hasn't received an editor
> widget.
>
> You could create an empty placeholder widget in the createEditor()
> method, call QColorDialog.getColor() with the exi
Skink wrote:
> I created simple property classes with editing option, but since i'm not
> too much experienced in PyQt4 i'd like to ask if i handle ColorProperty
> changing right. Any other Property has its own editor and their control
> flow is imho ok. Hovewer i'm not sure about ColorProperty.
>
Hi,
I created simple property classes with editing option, but since i'm not
too much experienced in PyQt4 i'd like to ask if i handle ColorProperty
changing right. Any other Property has its own editor and their control
flow is imho ok. Hovewer i'm not sure about ColorProperty.
What i do is: