| 824 | } |
| 825 | |
| 826 | QSize Shell::sizeHint() const |
| 827 | { |
| 828 | const QSize baseSize = QApplication::primaryScreen()->availableSize() * 0.6; |
| 829 | // Set an arbitrary yet sensible sane minimum size for very small screens; |
| 830 | // for example we don't want people using 1366x768 screens to get a tiny |
| 831 | // default window size of 820 x 460 which will elide most of the toolbar buttons. |
| 832 | return baseSize.expandedTo(QSize(1000, 700)); |
| 833 | } |
| 834 | |
| 835 | bool Shell::queryClose() |
| 836 | { |
no test coverage detected