Results 1 to 8 of 8

Thread: QWidget::update() qeustion

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Unhappy QWidget::update() qeustion

    Hi,

    I have a question about QWidget::update() function.
    I was told that when I call update(), paintEvent() will be called automatically.
    Yes, it works.

    But, sometime, segment fault proglem happens and core contents are following.
    What is the problem with calling update()?

    Do you have any idea??

    Please, help me.

    #0 miRegionOp (dest=@0x2a9c35fb70, reg1=Variable "reg1" is not available.
    ) at ../..include/QtCore../../src/corelib/tools/qrect.h:221
    #1 0x0000002a9632c5a7 in UnionRegion (reg1=0x177aa00, reg2=0x2a9cbe6d70, dest=@0x2a9c35fb70) at painting/qregion_unix.cpp:1109
    #2 0x0000002a9632c925 in QRegion::unite (this=0xc0b978, r=@0x4b40f500) at painting/qregion_unix.cpp:2678
    #3 0x0000002a962feab9 in QRegion::operator+ (this=Variable "this" is not available.
    ) at painting/qregion.h:78
    #4 0x0000002a962feb82 in QRegion::operator+= (this=0xc0b978, r=Variable "r" is not available.
    ) at painting/qregion.cpp:439
    #5 0x0000002a9632dca7 in QWidgetBackingStore::dirtyRegion (this=0xc0b970, rgn=Variable "rgn" is not available.
    ) at painting/qbackingstore.cpp:499
    #6 0x0000002a9632f1c5 in QWidget::update (this=0xbe4d40, rgn=@0x4b40f5e0) at painting/qbackingstore.cpp:904
    #7 0x0000002a9632f239 in QWidget::update (this=0xbe4d40, r=Variable "r" is not available.
    ) at painting/qbackingstore.cpp:888
    #8 0x0000002a9632f2c6 in QWidget::update (this=Variable "this" is not available.
    ) at ../..include/QtGui../../src/gui/kernel/qwidget.h:883
    #9 0x000000000046c5b2 in CUIGOCIImgStatus::UpdateValue (this=0xbe4d40, _szImgRef=0x4b410550 "2000-09-13.03-00-00", _iSlotNum=5, _enBand=ENI_GOCI_B6_BAND) at UIGOCIImgStatus.cpp:317
    Last edited by jpn; 13th March 2008 at 07:18. Reason: missing [quote] tags

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.