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. MessageBox not show before function
Forum Updated to NodeBB v4.3 + New Features

MessageBox not show before function

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 383 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.
  • I Offline
    I Offline
    iskenderoguz
    wrote on last edited by
    #1
    QMessageBox box;
    box.setTitle("title");
    box.show;
    //other stuff
    

    I want to show message box to inform user. I do not want to use exec() because user has to click. I just want to show message while function is working.
    But with this code messageBox appear after function. How can I open messageBox before function without using exec()

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      -But with this code messageBox appear after function

      But box is deleted when function ends so im not sure
      how it can be shown after?

      Can you show the real code?

      1 Reply Last reply
      0

      • Login

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