Navigation

    Qt Forum

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

    • SOLVED Context menu QMenu not showing up when using popup(). Only showing on exec().
      General and Desktop • qmenu exec context menu popup • • dante77  

      3
      0
      Votes
      3
      Posts
      319
      Views

      Thank you @SGaist ! I figured it was something along those lines but couldn't put my finger on it.
    • UNSOLVED "Progress MessageBox"
      General and Desktop • progress bar modal dialog popup • • StringTheory  

      8
      0
      Votes
      8
      Posts
      2163
      Views

      @JonB said in "Progress MessageBox": OK. Forget about modeless for a moment, if you don't want to deal with threads. Take a look at http://doc.qt.io/qt-5/qdialog.html#open, and start from there instead of the normal QDialog::exec(). I'm thinking that may be all you are looking for. I still don't know what it is you think you are going to "show the progress against", but that's another issue..... Thanks for the recommendation. I will look into open(), etc. I will probably end up threading the heavy tasks, but I'm trying to avoid all the tedious synchronization for now. As for 'progress against': I realized why that may not have made sense. Individual time-consuming tasks will not be able to report on their progress mid-stream (no way to gauge how long to complete), but there is a series of them. Basically a chain of image processes--filters, denoising, etc. and each can take from 5 seconds to almost a minute. Awkward to just sit there looking at the barberpole progress bar, so I thought of setting up a timer in the progress dialog in order to monitor a 'status variable' back at the ranch. As each filter stage completes, the status variable would be updated. When the variable changes from "filter 1" to "filter 2", appropriate text could be displayed in the progress dialog. Or so I hope. :-)
    • SOLVED Why is the action from a context menu on a popup dialog not triggered?
      General and Desktop • qt5 qdialog qmenu popup • • Jakob  

      14
      0
      Votes
      14
      Posts
      5696
      Views

      @SGaist According to comments in the bug report the posted code should work in qt 5.6.1, and I have been able to verify this is indeed the case. So I guess I should consider this question as 'answered' then. Thanx for the help
    • UNSOLVED Detect mouse click outside the modal window
      QML and Qt Quick • qml modal dialog popup • • jimcad  

      2
      0
      Votes
      2
      Posts
      1900
      Views

      A small clarification. Popup window should work the same way as menu or combobox, so it should be closed when you click anywhere outside popup.
    • SOLVED check Hover in pool of rectangles
      QML and Qt Quick • qt quick hover popup qml canvas popovee • • Anas A. Ismail  

      11
      0
      Votes
      11
      Posts
      3712
      Views

      @p3c0 Thank You, your answers were really helpful, it's solved.