Hi there,
I am just implementing a QProgressDialog. Everything works as expected except one strange behavior:
I cannot manage to ensure that the dialog's horizontal size is big enough to show the complete text of the window title I defined. Here's my code:
progress.setWindowModality(Qt::WindowModal);
progress.setMinimumDuration(500);
progress.setWindowTitle("My really somewhat long Window Title");
QProgressDialog progress(QString("Loading %1 Objects").arg(ids.size()), "Abort", 0, ids.size(), this);
progress.setWindowModality(Qt::WindowModal);
progress.setMinimumDuration(500);
progress.setWindowTitle("My really somewhat long Window Title");
To copy to clipboard, switch view to plain text mode
I tried to accomplish this using the setSizePolicy() method but without success. But there should be a simple way to accomplish this ...
Bookmarks