Results 1 to 2 of 2

Thread: There Signal Close or Show in MainWindow??

  1. #1
    Join Date
    Sep 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question There Signal Close or Show in MainWindow??

    Hello everyone, this is my first post and I am starting at qt,
    and when I'm with a doubt in my project, does not appear in a SIGNAL MainWindow class to the event to open the form or close to it. Can anyone help me?

    Translated by Google Translator.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: There Signal Close or Show in MainWindow??

    Signals, no.
    Events, yes.

    Use the functions close() and show() to close and show the main window.
    React to the closeEvent and showEvent to do other stuff.

Similar Threads

  1. Replies: 7
    Last Post: 25th July 2016, 15:42
  2. Replies: 6
    Last Post: 20th July 2009, 17:35
  3. close window signal
    By jano_alex_es in forum Newbie
    Replies: 5
    Last Post: 22nd May 2009, 11:10
  4. Replies: 3
    Last Post: 23rd July 2006, 19:02
  5. Replies: 1
    Last Post: 1st June 2006, 13:46

Tags for this Thread

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.