ImageViewer: Support splitting

Change-Id: Id789bd4a77d14ff990f3c9092a9ba533ac4fab7a
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Eike Ziller
2015-05-29 13:23:52 +02:00
parent 45194515c0
commit 7c9e8f8767
6 changed files with 349 additions and 235 deletions

View File

@@ -59,6 +59,8 @@ public:
Core::IDocument *document();
QWidget *toolBar();
IEditor *duplicate();
public slots:
void imageSizeUpdated(const QSize &size);
void scaleFactorUpdate(qreal factor);
@@ -75,11 +77,10 @@ private slots:
void playToggled();
private:
ImageViewer(const QSharedPointer<ImageViewerFile> &document, QWidget *parent = 0);
void ctor();
void updatePauseAction();
bool updateButtonIconByTheme(QAbstractButton *button, const QString &name);
void setPaused(bool paused);
private:
struct ImageViewerPrivate *d;
};