diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-07-09 13:25:16 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-08-21 10:37:22 +0000 |
commit | 5549ba4fa512e0fed8f8dbf4f316293d04793d2f (patch) | |
tree | 5e0ffb356e5072d39da15c8967a55d3d142fabae /LICENSE.LGPLv3 | |
parent | b349289fa0003da58adb5cee51e5c2e093a6dd6f (diff) |
Polish the imageviewer example.
- Remove unneeded member variables.
- Use member initialization in the constructor.
- Use new connection syntax in createActions()
to assemble the menu there, removing the createMenus()
function.
- Fix coding style issue (braces)
- Avoid empty label showing up by setting the scroll
area invisible until an image is loaded.
- Set a new image only if image read succeeds.
- Add status bar with information message.
Task-number: QTBUG-46848
Change-Id: I32d5af70d8eb71ec16dd58a0b98c32eb2bd988d7
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions