Results 1 to 3 of 3

Thread: How to mess QMdiArea indexes?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Location
    Sant'Elpidio a Mare, Italy
    Posts
    194
    Thanks
    54
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Lightbulb How to mess QMdiArea indexes?

    Hi,

    Since my problem is too hard to explicate, I'm looking for ideas.
    I'm going to request a brain-storming, I need all sort of suggestions, hints, tips, and more, then I'll try appropriated solutions.

    The topic is: "How could you mess up QMdiArea indexes?"
    Imagine that you have to mess up the indexes of the subwindows of a QMdiArea, in order to obtain a:
    ASSERT failure in QList<T>::at: "index out of range", file ../../include/QtCore/../../src/corelib/tools/qlist.h, line 391

    So, since indexes are anyway managed internally by QMdi system, how could be possible to twist this system, having an index that referse to -1 or to a number larger than the effective number of opened widgets?
    Delete, removeSubWindows,WA_DeleteOnClose... everything, even the most useless idea might be usefull!
    Ok, let's go.
    Last edited by Raccoon29; 21st April 2008 at 17:10. Reason: reformatted to look better
    --
    raccoon29

    "La mia vita finirà quando non vedrò più la gente ridere...non necessariamente alle mie battute "

Similar Threads

  1. QMdiArea unwanted actvation
    By fullmetalcoder in forum Qt Programming
    Replies: 7
    Last Post: 12th November 2007, 07:09

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
  •  
Qt is a trademark of The Qt Company.