Results 1 to 1 of 1

Thread: MDI Parent -Child relation problem when porting from QT3 to QT4

  1. #1
    Join Date
    May 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default MDI Parent -Child relation problem when porting from QT3 to QT4

    Hi everybody..

    During the process of porting from QT 3.3.8 to QT 4.3.0, I am having the following problem. Some of the widgets of all Mdi Chlid windows are displayed as part of the workspace and not as part of a window. The flags that I used were,

    m_pPWindow->reparent ( (QWidget*)getApp()->getWorkSpace(),

    Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowSystemMenuHint , pt , false );

    Here (QWidget*)getApp()->getWorkSpace() returns the Mdi workspace as the parent to the Child windows.

    Inorder to fix this, I put a flag , Qt::Window. This will make the windows appear properly, but all are stand-alone windows. No Mdi child parent relation is maintained. How can I maintain the MDI child parent relationship?

    Has anybody got any idea regarding this issue? Thanks in advance.
    Last edited by noufalk; 7th June 2007 at 19:42. Reason: missing [code] tags

Similar Threads

  1. Problem related to porting from QT3 to QT4 in list items
    By rohitjun in forum Qt Programming
    Replies: 5
    Last Post: 1st June 2007, 09:05
  2. Problem porting Kivio MP on win32 from Qt 3 to Qt 4
    By Amanda in forum Qt Programming
    Replies: 2
    Last Post: 26th October 2006, 19:40
  3. Problem in porting Main window on linux
    By jyoti kumar in forum Qt Tools
    Replies: 2
    Last Post: 2nd June 2006, 08:35
  4. problem of porting from windows to linux
    By jyoti kumar in forum Qt Programming
    Replies: 4
    Last Post: 22nd May 2006, 08:42
  5. Porting problem from Qt3 to Qt4
    By Krishnacins in forum Qt Programming
    Replies: 2
    Last Post: 19th May 2006, 14:29

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.