Align image to center and put dark background

This commit is contained in:
2016-07-30 21:19:25 +02:00
parent a679efa11a
commit 59970e20de
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent),
viewMenu->addAction(tr("Zoom In"), m_image, SLOT(zoomIn()), QKeySequence::ZoomIn);
viewMenu->addAction(tr("Zoom Out"), m_image, SLOT(zoomOut()), QKeySequence::ZoomOut);
viewMenu->addAction(tr("Best Fit"), m_image, SLOT(bestFit()), QKeySequence("Ctrl+1"));
viewMenu->addAction(tr("1:1"), m_image, SLOT(oneToOne()));
viewMenu->addAction(tr("100%"), m_image, SLOT(oneToOne()));
menuBar()->addMenu(viewMenu);
}