Results 1 to 17 of 17

Thread: QMainWindow pointer

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    70
    Thanked 59 Times in 57 Posts

    Default QMainWindow pointer

    Hi,
    Is there any way to get the MainWindow pointer on any part of the code?

    I need to get the MainWindow pointer to make connections into other objects. These objects are created dinamically by user operation and I want to connect a SIGNAL from the object to the SLOT of the MainWindow.

    I need this because I have to make that the GUI Thread paint Images that the objects create.

    Thanks,
    Last edited by ^NyAw^; 18th November 2006 at 17:59.
    Òscar Llarch i Galán

Similar Threads

  1. Disabling the Maximize button in QMainWindow ?
    By sunil.thaha in forum Qt Programming
    Replies: 17
    Last Post: 26th June 2017, 14:31
  2. Dynamically Loading a QMainWindow?
    By natron in forum Newbie
    Replies: 10
    Last Post: 21st July 2006, 02:15
  3. Insert separate QToolBar into QMainWindow
    By YuriyRusinov in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 11:37
  4. Signals destroys my pointer
    By Jojo in forum Qt Programming
    Replies: 12
    Last Post: 7th March 2006, 22:05
  5. Replies: 18
    Last Post: 22nd February 2006, 21:51

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.