[PyKDE] QSpinBox doesn't work as expected within QSqlForm
Willi Richert
w.richert at gmx.net
Tue Aug 6 15:41:01 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Works fine for me.
PyQt 3.3.2 Qt 3.0.3 Python 2.2
On Tuesday 06 August 2002 13:42, Hans-Peter Jansen wrote:
> On Monday 05 August 2002 20:13, Phil Thompson wrote:
> > Hans-Peter Jansen wrote:
> > > Hi *,
> > >
> > > while struggling with QSqlForms, I observed a strange bahaviour of
> > > QSpinBoxes in QSqlForms. Arrow up/down keys simply don't work. All
> > > other keyboard/mouse events are handled fine. A corresponding c++
> > > version doesn't show this anomaly.
> > >
> > > For your convenience, I've attached my test scripts/sources.
> > > They're based on $QTDIR/examples/sql/overview/custom1 and my sql
> > > examples environment.
> > >
> > > Any hints are highly appreciated.
> >
> > It worked fine for me.
> >
> > Phil
>
> Take Two:
>
> I finally found out, that this effect isn't related to QSqlForms.
>
> Please, everybody, who can spend three minutes: run the attached
> script, and check, if both spinboxes can be controlled with the
> arrow keys.
>
> Top spinbox is a Qt native one, below is a reimplemented
> one with a custom eventFilter. This one is working fine for me,
> but the first isn't (Qt 3.0.4, PyQt 3.3.2, Python 2.1.1, Linux)
> All other events seem to work fine, including wheel events, BTW.
>
> Thanks in advance,
> Hans-Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9T9HRClnsru/vnVgRArnJAKDG6p2cKw/t1309GiGhO7o42oX/CgCfbWUb
Kdng6HnTWC7M6EeoBVaDYQc=
=jmo1
-----END PGP SIGNATURE-----
More information about the PyQt
mailing list