AlbumShaper 1.0a3
scaledPreviewInterface.h
Go to the documentation of this file.
1//==============================================
2// copyright : (C) 2003-2005 by Will Stokes
3//==============================================
4// This program is free software; you can redistribute it
5// and/or modify it under the terms of the GNU General
6// Public License as published by the Free Software
7// Foundation; either version 2 of the License, or
8// (at your option) any later version.
9//==============================================
10
11#ifndef GUI_EDITING_SCALEDPREVIEWINTERFACE_H
12#define GUI_EDITING_SCALEDPREVIEWINTERFACE_H
13
14#include "splitViewInterface.h"
15//Added by qt3to4:
16#include <QResizeEvent>
17
18//=====================================
20//=====================================
22{
23Q_OBJECT
24
25public:
27 ScaledPreviewInterface(QString imageFilename, QWidget *parent=0, const char* name=0);
28
29 virtual QSize sizeHint() const;
30 virtual QSize minimumSizeHint() const;
31//----------------------
32protected:
33 void resizeEvent( QResizeEvent * );
34 //----------------------
35private:
38
41//----------------------
42signals:
43 //emited when the widget is resized indicating
44 //adjusted image needs to be reset
45 void resized();
46 //----------------------
47};
48//======================
49
50#endif //GUI_EDITING_SCALEDPREVIEWINTERFACE_H
void resizeEvent(QResizeEvent *)
QImage fullScreenImage
Full screen version of image.
ScaledPreviewInterface(QString imageFilename, QWidget *parent=0, const char *name=0)
Creates layout.
virtual QSize minimumSizeHint() const
QSize origImageSize
original image dimensions
virtual QSize sizeHint() const
A split view interface provides a means to show before and after versions of an image while adjustmen...