Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, May 2007
QApplication::restoreOverrideCursor() QT 4.3 beta


Message 1 in thread

Hello!

Know Somebody what's the problem with 
QApplication::restoreOverrideCursor() in QT 4.3 ? If I set cursor with 
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)) than 
restoreOverrideCursor() do not reset it to base status but I know use 
the form, push button etc.

Here is a part of code:
   
    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
    switch ( appRelId ) {
        case termek:
            pe = new productEditor( mw );
            if ( mRunMode == modeModal ) {
                QApplication::restoreOverrideCursor();
                pe->exec();
                emit closeDialog();
                delete pe;
                pe = 0;
                return;
            } else {
                QApplication::restoreOverrideCursor();
                pe->show();
            }
            break;
...

Thanks!
dj

--
 [ signature omitted ] 

Message 2 in thread

Hi!

I was find this thread: 
*http://lists.trolltech.com/qt4-preview-feedback/2007-03/thread00174-0.html
*about this problem. This was on 29 Mar 2007 but I download yesterday 
4.3.0beta and did not resolv this problem.*

*
> Hello!
>
> Know Somebody what's the problem with 
> QApplication::restoreOverrideCursor() in QT 4.3 ? If I set cursor with 
> QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)) than 
> restoreOverrideCursor() do not reset it to base status but I know use 
> the form, push button etc.
>
> Here is a part of code:
>      QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
>    switch ( appRelId ) {
>        case termek:
>            pe = new productEditor( mw );
>            if ( mRunMode == modeModal ) {
>                QApplication::restoreOverrideCursor();
>                pe->exec();
>                emit closeDialog();
>                delete pe;
>                pe = 0;
>                return;
>            } else {
>                QApplication::restoreOverrideCursor();
>                pe->show();
>            }
>            break;
> ...
>
> Thanks!
> dj
>
> -- 
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
>

--
 [ signature omitted ] 

Message 3 in thread

On Tuesday 08 May 2007 18:02:05 Dudás József wrote:
> Hi!
>
> I was find this thread:
> *http://lists.trolltech.com/qt4-preview-feedback/2007-03/thread00174-0.html
> *about this problem. This was on 29 Mar 2007 but I download yesterday
> 4.3.0beta and did not resolv this problem.*

Did you download the beta, or the 4.3.0 release candidate? The beta contains 
the bug, the release candidate does not. The example shown in the above 
thread works as expected for me when running it against the release 
candidate.

-- 
 [ signature omitted ] 

Message 4 in thread

Thanks for your answer.
I was download the beta because I did not find the release version. Please let me know an address where I can download the 4.3 open release.

Thanks again!



On Tuesday 08 May 2007 18:02:05 Dudás József wrote:
> Hi!
>
> I was find this thread:
> *http://lists.trolltech.com/qt4-preview-feedback/2007-03/thread00174-0.html
> *about this problem. This was on 29 Mar 2007 but I download yesterday
> 4.3.0beta and did not resolv this problem.*

Did you download the beta, or the 4.3.0 release candidate? The beta contains 
the bug, the release candidate does not. The example shown in the above 
thread works as expected for me when running it against the release 
candidate.

-- 
 [ signature omitted ] 

Message 5 in thread

Hi,

> I was download the beta because I did not find the release version. 

The release *candidate*, not the final release.

> Please let me know an address where I can download the 4.3 open release.

The same address you got the beta from. The open source version can be 
downloaded from the Trolltech FTP site:
	ftp://ftp.trolltech.com/qt/source/

--
 [ signature omitted ]