mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Add "zoom in/out/reset and fit to content" buttons
This commit is contained in:
@@ -30,6 +30,7 @@ OutputGLCanvas::OutputGLCanvas(MainWindow* mainWindow, QWidget* parent, const QG
|
||||
// Disable scrollbars.
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
showZoomToolBar(false);
|
||||
}
|
||||
|
||||
void OutputGLCanvas::drawForeground(QPainter *painter , const QRectF &rect)
|
||||
|
||||
Reference in New Issue
Block a user