Questions tagged [qprogressdialog]

Use this tag when you have a question about QProgressDialog, a Qt class which provides feedback on the progress of a slow operation.

The QProgressDialog is a Qt class that provides feedback on the progress of a slow operation.

In general, a progress dialog is used to give the user an indication of how long an operation is going to take.

Qt QProgressDialog Documentation

20 questions
0
votes
3 answers

How to stop/cancel a worker job using the cancel button of a QProgressDialog

My code is composed of a worker class and a dialog class. The worker class launches a job (a very long job). My dialog class has 2 buttons that allows for launching and stopping the job (they work correctly). I would like to implement a busy bar…
Pat. ANDRIA
  • 2,330
  • 1
  • 13
  • 27
0
votes
0 answers

PyQT5/QT Designer - Threading with Signal/Slots

I wrote a PyQt5 app that searches user inputs in a SQL database. Everything works but I've had no luck trying to add a worker thread to handle the search process and prevent the app from becoming unresponsive. I'm using QT Designer to generate the…
0
votes
2 answers

How to block the 'native close button' of a QProgressDialog on OS X?

I'm creating a QProgressDialog as follows: QProgressDialog progressDialog = new QProgressDialog(tr("Calculating..."), NULL, 0, 100, this); progressDialog->setAutoClose(true); progressDialog->setValue(0); progressDialog->setWindowTitle(tr("Calculate…
KelvinS
  • 2,870
  • 8
  • 34
  • 67
0
votes
1 answer

Modal QProgressDialog::setValue() causes crash by nested event loop

I just wrote some QThread based code that executes a big calculation. To visualize the progress I need to open a QProgressDialog. The dialog is application modal (using open()) since I do not want to allow modifications of the main window during…
Silicomancer
  • 8,604
  • 10
  • 63
  • 130
-1
votes
0 answers

Stylesheet(QSS) not work when I use qApp.setStyleSheet(qss)

// MyDialog.h // #pragma once #include #include #include class MyDialog : public QProgressDialog { Q_OBJECT public: explicit MyDialog(const QString &text, QWidget *parent = nullptr) :…
Paul
  • 1
  • 2
1
2