Align image to center and put dark background
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user