Changeset 480 for trunk


Ignore:
Timestamp:
Jan 27, 2010, 10:03:59 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: QCursor: Use a combination of the standard arrow and wait OS/2 cursors for Qt::BusyCursor to emphasize the difference from Qt::WaitCursor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qcursor_pm.cpp

    r479 r480  
    5656
    5757extern QCursorData *qt_cursorTable[Qt::LastCursor + 1]; // qcursor.cpp
     58
     59
     60
    5861
    5962/*****************************************************************************
     
    292295"                        "};
    293296
    294 enum { cursor_whatsthis_x = 9, cursor_whatsthis_y = 0 };
     297enum { cursor_whatsthis_x = , cursor_whatsthis_y = 0 };
    295298static char const * const cursor_whatsthis_xpm[] = {
    296299"24 24 3 1",
     
    368371"                ",
    369372"                "};
     373
     374
     375
     376
     377
     378
     379
     380
     381
     382
     383
     384
     385
     386
     387
     388
     389
     390
     391
     392
     393
     394
     395
     396
     397
     398
     399
     400
     401
     402
     403
     404
     405
     406
     407
     408
     409
     410
     411
     412
     413
     414
     415
     416
     417
     418
     419
     420
     421
     422
     423
     424
     425
     426
     427
     428
     429
     430
     431
     432
     433
     434
     435
     436
     437
     438
     439
     440
     441
     442
     443
     444
     445
     446
     447
     448
     449
     450
     451
     452
     453
     454
     455
     456
     457
     458
     459
     460
     461
     462
     463
     464
     465
     466
     467
     468
     469
     470
     471
     472
     473
     474
     475
     476
     477
     478
     479
     480
     481
     482
     483
     484
     485
     486
    370487
    371488void QCursorData::update()
     
    456573        break;
    457574    case Qt::BusyCursor:
    458         id = SPTR_WAIT;
    459         break;
     575        // we create a busy cursor below as a combination of the standard
     576        // arrow and wait cursors
     577        hptr = combineTwoCursors(SPTR_ARROW, SPTR_WAIT);
     578        isSysPtr = false;
     579        return;
    460580    case Qt::OpenHandCursor:
    461581        xpm = cursor_openhand_xpm;
Note: See TracChangeset for help on using the changeset viewer.