Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. qmessagebox
    Log in to post

    • SOLVED How to set StyleSheet for an specific label in QMessageBox?
      General and Desktop • c++ stylesheet css qmessagebox • • Muhammad Mirab Br.  

      8
      0
      Votes
      8
      Posts
      2809
      Views

      Thanks @Bonnie, You are AWESOME!
    • SOLVED QMessageBox location
      General and Desktop • qmessagebox • • Jedd  

      6
      0
      Votes
      6
      Posts
      738
      Views

      Glad you found out ! Could you explain what happened in your code to trigger this ?
    • SOLVED Two Message Boxes in a Row Positions Second One in an Odd Place
      General and Desktop • c++ qt4 qmessagebox • • DougyDrumz  

      5
      0
      Votes
      5
      Posts
      1394
      Views

      @joeQ As it turns out, I just tried the opposite. I had one newed Message Box for everything. In the place that had the funny location, I made a separate newed Message Box and it ended up in the correct place - the middle of its parent.
    • SOLVED QMessageBox Yes NO
      General and Desktop • qmessagebox • • cdcc0606  

      3
      0
      Votes
      3
      Posts
      958
      Views

      Yes, i've found how to change the text
    • SOLVED Using MessageBox buttonclicked signal
      General and Desktop • signal&slot qmessagebox • • gabor53  

      6
      0
      Votes
      6
      Posts
      4045
      Views

      Thank you.
    • UNSOLVED show QDialog when called from QMessageBox
      General and Desktop • qdialog qmessagebox • • the_  

      5
      0
      Votes
      5
      Posts
      1951
      Views

      @jsulm pbar is in the VBoxLayout of the dialog, q is a QSqlQuery. I Just modified the code so that the dialog also contains the yes and no buttons and no QMessageBox is shown. When i now show the QDialog instead of the QMessageBox and then execute the slot, everything looks good and the progressbar is updated at each step of the foreach() loop.
    • SOLVED QPushButton in QMessageBox missing key shortcut underline on initial display
      General and Desktop • qpushbutton shortcut qmessagebox underline • • Harry123  

      24
      0
      Votes
      24
      Posts
      9703
      Views

      @Harry123 I did it putting this in main.cpp and that's all folks ;-) QApplication a(argc, argv); a.setStyle("fusion");
    • SOLVED Understanding QMessagebox .exec() and .show()
      General and Desktop • exec show qmessagebox • • roseicollis  

      5
      0
      Votes
      5
      Posts
      14165
      Views

      @Chris-Kawa said: QThread docs Oh!! Then I need to make a worker class and do something like: thread = new QThread(); thread->start(); worker = new Worker; worker->moveToThread(thread); // this is the initialization of a QWizardPage in the QWizard WizardPageClass1 *page1 = new WizardPageClass1 ; page1->setWorker(worker); And then where I have the lengthy operation, emit a signal (DoOperation for example) and in its constructor make a connect like connect(this, DoOperation(), worker, doWork()) if doWork() is where I have the lenghty operation with?