Results 1 to 9 of 9

Thread: emit a signal into an MdiSubWindow

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Jul 2016
    Posts
    13
    Qt products
    Platforms
    Windows

    Default Re: emit a signal into an MdiSubWindow

    here's the function that load the document ( QWidget ) :

    Qt Code:
    1. def load(self):
    2. ImageProject = OIWid()
    3. self.mdiArea.addSubWindow(ImageProject)
    To copy to clipboard, switch view to plain text mode 

    i skipped details , but that's it. it's the code that load my widget.

    if i make ImageProject an instance variable of my main class ( QMainWindow ) : self.ImageProject instead of ImageProject,

    the last opened Project would be self.ImageProject and not the current active window !
    Last edited by Qtdigitex; 18th July 2016 at 22:22.

Similar Threads

  1. Seems that my emit doesn't emit the signal
    By roseicollis in forum Newbie
    Replies: 2
    Last Post: 19th January 2015, 16:05
  2. Widget paint artefacts on MdiSubwindow
    By oberlus in forum Qt Programming
    Replies: 1
    Last Post: 9th May 2012, 13:30
  3. QProgressBar appearance only in MdiSubWindow
    By revellix in forum Qt Programming
    Replies: 3
    Last Post: 17th August 2011, 13:54
  4. Could not get focus on input widgets in mdisubwindow
    By Askar in forum Qt Programming
    Replies: 0
    Last Post: 19th January 2011, 14:29
  5. MDISubWindow will not resize
    By ad5xj in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2009, 22:17

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.