[Interest] [PROGRESS] Long pause with 5.7

Guenter Schwann guenterlists at schwann.at
Tue Nov 15 08:06:35 CET 2016


On Montag, 14. November 2016 19:15:46 CET william.crocker at analog.com wrote:
> - Restoring window locations to where the user left them...
>    Just one of a dozen behaviors of a good application
>    which is not implemented well (if at all) by Qt and,
>    therefore, has to be implemented by the developer.

It's quite back a while since I used it, but using QWidget::saveGeometry() and 
restoreGeometry() on the QMainWindow worked well for me.

http://doc.qt.io/qt-5/qwidget.html#saveGeometry
http://doc.qt.io/qt-5/qwidget.html#restoreGeometry

Guenter




More information about the Interest mailing list