Improve constructor. Remove input resolution on loadfile function. Improve sizeHint function

This commit is contained in:
jfmcarreira committed 2014-01-27 01:53:14 +00:00
1 parent c35e2cbc5d
commit f6e273fe42
2 files changed
+11 -11

No files matched your search

+3 -3
View File
@@ -61,10 +61,10 @@ private:
Bool m_firsTime;
public:
ImageInterface();
ImageInterface( QWidget * parent = 0 );
~ImageInterface();
bool loadFile( const QString &fileName, UInt width, UInt height );
bool loadFile( const QString &fileName );
bool save();
bool saveAs();
bool saveFile( const QString &fileName );
@@ -104,7 +104,7 @@ public:
return m_dScaleFactor;
}
QSize sizeHint();
QSize sizeHint() const;
/**
* Arranges all the listed widgets (normaly QMdiImageInterface) in a cascade