Add zoom spin box for precise zoom setting.

This commit is contained in:
Luis Lucas committed 2014-06-27 01:49:10 +01:00
1 parent 66e8e936ba
commit 2b3e0f5ffd
2 files changed
+48 -4

No files matched your search

+5 -1
View File
@@ -82,7 +82,8 @@ private Q_SLOTS:
* @param factor factor of scale. Ex: 120 scale the image up by 20% and
* 80 scale the image down by 25%
*/
void scaleFrame( int ratio = 100 );
void scaleFrame( int ratio = 100.0 );
void setZoomFromSBox( double ratio );
void normalSize();
void zoomToFit();
@@ -104,6 +105,8 @@ private Q_SLOTS:
void updateProperties();
void updatePropertiesSelectedArea( QRect area );
void updateZoomFactorSBox();
void setAllSubWindowTool();
void setNavigationTool();
void setSelectionTool();
@@ -150,6 +153,7 @@ private:
QSlider *m_pcFrameSlider;
QLabel *m_pcCurrFrameNumLabel;
QLabel *m_pcTotalFrameNumLabel;
QDoubleSpinBox *m_pcZoomFactorSBox;
QSignalMapper *mapperZoom;
QSignalMapper *mapperSeekVideo;