00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef GUI_EDITING_SCALEDPREVIEWINTERFACE_H
00012 #define GUI_EDITING_SCALEDPREVIEWINTERFACE_H
00013
00014 #include "splitViewInterface.h"
00015
00016
00018
00019 class ScaledPreviewInterface : public SplitViewInterface
00020 {
00021 Q_OBJECT
00022
00023 public:
00025 ScaledPreviewInterface(QString imageFilename, QWidget *parent=0, const char* name=0);
00026
00027 virtual QSize sizeHint() const;
00028 virtual QSize minimumSizeHint() const;
00029
00030 protected:
00031 void resizeEvent( QResizeEvent * );
00032
00033 private:
00035 QImage fullScreenImage;
00036
00038 QSize origImageSize;
00039
00040 signals:
00041
00042
00043 void resized();
00044
00045 };
00046
00047
00048 #endif //GUI_EDITING_SCALEDPREVIEWINTERFACE_H