This is a multi-part message in MIME format. ------=_NextPart_000_0023_01C33224.1F37ADE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi again! Now I also have implemented QWidget::raise and lower. Does anyone know if the qt2-win32 developers are still around? Otherwise it would be nice to get access to cvs. Richard L=E4rk=E4ng > Hi! >=20 > I am stuck with a windows computer at the moment, > so I wanted to do some improvements to Qt. >=20 > This patch adds at least partial support of QCursor, > QWidget::setCursor(...) should work, at least for > those that I could figure out what the Windows > equivalents were. Don't know about overrideCursor, > as I'm not really sure how that works. And also > own bitmap-cursors doesn't work, as I have to > figure out how that works. >=20 > Richard L=E4rk=E4ng >=20 ------=_NextPart_000_0023_01C33224.1F37ADE0 Content-Type: application/octet-stream; name="qwidget.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="qwidget.patch" Index: qwidget_win32.cpp=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /cvsroot/kde-cygwin/qt-2/src/kernel/Attic/qwidget_win32.cpp,v=0A= retrieving revision 1.1.2.5=0A= diff -u -b -r1.1.2.5 qwidget_win32.cpp=0A= --- qwidget_win32.cpp 13 Mar 2003 01:46:56 -0000 1.1.2.5=0A= +++ qwidget_win32.cpp 14 Jun 2003 01:18:55 -0000=0A= @@ -1616,11 +1616,12 @@=0A= #ifdef DEBUG_QWIDGET=0A= qDebug("qwidget_win.cpp: raise");=0A= #endif=0A= -/* QWidget *p =3D parentWidget();=0A= + QWidget *p =3D parentWidget();=0A= if ( p && p->childObjects && p->childObjects->findRef(this) >=3D 0 )=0A= p->childObjects->append( p->childObjects->take() );=0A= - XRaiseWindow( x11Display(), winId() );=0A= -*/}=0A= + BringWindowToTop(winId());=0A= +// XRaiseWindow( x11Display(), winId() );=0A= +}=0A= =0A= /*!=0A= Lowers the widget to the bottom of the parent widget's stack.=0A= @@ -1636,11 +1637,12 @@=0A= #ifdef DEBUG_QWIDGET=0A= qDebug("qwidget_win.cpp: lower");=0A= #endif=0A= -/* QWidget *p =3D parentWidget();=0A= + QWidget *p =3D parentWidget();=0A= if ( p && p->childObjects && p->childObjects->findRef(this) >=3D 0 )=0A= p->childObjects->insert( 0, p->childObjects->take() );=0A= - XLowerWindow( x11Display(), winId() );=0A= -*/}=0A= + SetWindowPos(winId(), HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE | = SWP_NOSIZE );=0A= +/ XLowerWindow( x11Display(), winId() );=0A= +}=0A= =0A= =0A= /*!=0A= ------=_NextPart_000_0023_01C33224.1F37ADE0 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-cygwin mailing list kde-cygwin@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-cygwin ------=_NextPart_000_0023_01C33224.1F37ADE0--