Dark transparent layer over a QMainWindow in Qt

前端 未结 3 516
情话喂你
情话喂你 2020-11-29 07:50

I need to implement a \"Loading...\" window in my application but I do prefer to cover the whole QMainWindow with a dark transparent layer with a text above. Does anybody kn

3条回答
  •  感情败类
    2020-11-29 08:06

    If you are talking about using a separate layout/widget over your 'Main Window', you could just make the "Loading..." window modal either through the UI editor or in the constructor for your UI.

提交回复
热议问题