Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ist there a "signal" if application main window raised?

Ist there a "signal" if application main window raised?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 298 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ademmlerA Offline
    ademmlerA Offline
    ademmler
    wrote on last edited by
    #1

    Hi,

    I am looking for a signal, which is fired after application launch and the main window appeared.
    Maybe somebody can pint me to the right list of qt standard signals ...

    thx & regards Alex

    JonBJ 1 Reply Last reply
    0
    • ademmlerA ademmler

      Hi,

      I am looking for a signal, which is fired after application launch and the main window appeared.
      Maybe somebody can pint me to the right list of qt standard signals ...

      thx & regards Alex

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by JonB
      #2

      @ademmler
      There isn't a signal. However, all QWidgets, including QMainWindow, have a showEvent. You must subclass from QMainWindow for yours, and then you can override this virtual protected method, and do whatever you want there (be sure to call the base class method before or after your code).

      In Qt some things emit a signal for you to act on, while other things have virtual methods which require you to subclass and override. The distinction/which one is available is a touch "random"... :)

      1 Reply Last reply
      4

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved