[PyKDE] Re: [PyQt3] QStyle.drawComplexControl() with invalid type in arg 7

2006-10-23 Thread Hans-Peter Jansen
Am Sonntag, 22. Oktober 2006 23:32 schrieb Hans-Peter Jansen: Hi Phil et al., for some special DecimalSpinBox and DateTimeEdit widgets, I've reimplemented QSpinWidget in Python. Unfortunately, I'm stuck with a problem in paintEvent, when executing this line:

[PyKDE] Re: [PyQt3] QStyle.drawComplexControl() with invalid type in arg 7

2006-10-23 Thread Hans-Peter Jansen
Am Montag, 23. Oktober 2006 18:22 schrieb Hans-Peter Jansen: Am Sonntag, 22. Oktober 2006 23:32 schrieb Hans-Peter Jansen: Update: to avoid the SC_All value for the sub parameter, I added: sub = QStyle.SC_SpinWidgetUp | QStyle.SC_SpinWidgetDown | QStyle.SC_SpinWidgetFrame | \