qt5base-lts/examples/widgets
Friedemann Kleint 5549ba4fa5 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>
2015-08-21 10:37:22 +00:00
..
animation Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
desktop Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
dialogs Polish widgets/dialogs/standarddialogs example. 2015-08-18 20:03:21 +00:00
doc Polish the imageviewer example. 2015-08-21 10:37:22 +00:00
draganddrop Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
effects Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
gestures Use QImageReader::setAutoTransform() in examples. 2015-07-13 20:16:35 +00:00
graphicsview fix usage of wince scope 2015-06-05 10:29:10 +00:00
itemviews Port examples/widgets/itemviews to new connection syntax. 2015-07-31 14:21:15 +00:00
layouts Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
mac Fixed license headers 2015-02-17 18:46:09 +00:00
mainwindows Fix mainwindow examples when clipboard support is disabled. 2015-08-11 16:23:23 +00:00
painting Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
richtext Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
scroller Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
statemachine Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
tools Add QRegularExpression based regexp tool 2015-04-02 13:19:30 +00:00
tutorials Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
widgets Polish the imageviewer example. 2015-08-21 10:37:22 +00:00
windowcontainer Make the windowcontainer example more robust 2015-05-12 08:58:47 +00:00
widgets.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00