Commit 41fbb7f7 authored by luyikei's avatar luyikei

MainWindow: Implement setScale

parent 056c7da6
......@@ -696,6 +696,12 @@ MainWindow::zoomOut()
m_zoomSlider->setValue( m_zoomSlider->value() + 1 );
}
void
MainWindow::setScale( quint32 scale )
{
m_zoomSlider->setValue( scale );
}
void
MainWindow::on_actionFullscreen_triggered( bool checked )
{
......
......@@ -66,6 +66,7 @@ public:
public slots:
void zoomIn();
void zoomOut();
void setScale( quint32 scale );
protected:
virtual void changeEvent( QEvent *e );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment