ImageViewer: Update toolbar items for split/duplicated editors

The "export" button in a split/duplicated view was enabled for other
image formats than svg. The image size label was empty.

Fixes for all views (not just the split ones): The play button is now
disabled instead of "empty" for non-movies. The size of svgs is
displayed.

Change-Id: I1f6a2c47f3aa06ed052ba78e5e2d1edd51a0ec69
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-04-14 09:35:39 +02:00
parent 2b05793083
commit 62fc258ac0
3 changed files with 20 additions and 17 deletions

View File

@@ -66,6 +66,7 @@ public slots:
void zoomOut();
void resetToOriginalSize();
void fitToScreen();
void updateToolButtons();
void togglePlay();
private slots: