mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Add ticks to zoom slider
This commit is contained in:
parent
610ea7f4f5
commit
b07084df2d
@ -635,6 +635,8 @@ GuiView::GuiView(int id)
|
||||
zoomslider->setRange(10, (lyxrc.defaultZoom * 2) - 10);
|
||||
zoomslider->setValue(lyxrc.currentZoom);
|
||||
zoomslider->setToolTip(qt_("Workarea zoom level. Drag, use Ctrl-+/- or Shift-Mousewheel to adjust."));
|
||||
zoomslider->setTickPosition(QSlider::TicksBelow);
|
||||
zoomslider->setTickInterval(lyxrc.defaultZoom - 10);
|
||||
statusBar()->addPermanentWidget(zoomslider);
|
||||
|
||||
connect(zoomslider, SIGNAL(sliderMoved(int)), this, SLOT(zoomSliderMoved(int)));
|
||||
|
Loading…
Reference in New Issue
Block a user