Qt Busy Indicator

I want to include my own Qt busy indicator in the application, but I'm not sure how to add it, because it is part of QML, and I am writing my application in C ++.

http://wiki.qt.io/Busy-Indicator-for-QML

+4
source share
2 answers

I found that QML components can be included in a QQuickWidget. Thus, QML BusyIndicator is easily added to C ++ applications. http://doc.qt.io/qt-5/qquickwidget.html

+3
source

Without repeating third-party implementations or subclassing the widget, the only way I know to display the busy indicator with standard QWidgets is:

QProgressBar* bar = new QProgressBar();
bar->setRange(0,0);

This will show a "undefined" progress bar.

+2
source

All Articles