mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Used pressed() signal in status bar widgets (fixes #12613)
This commit is contained in:
parent
af5da98cae
commit
064955b151
@ -644,7 +644,7 @@ GuiView::GuiView(int id)
|
|||||||
processStop, SLOT(show()));
|
processStop, SLOT(show()));
|
||||||
connect(&d.processing_thread_watcher_, SIGNAL(finished()),
|
connect(&d.processing_thread_watcher_, SIGNAL(finished()),
|
||||||
processStop, SLOT(hide()));
|
processStop, SLOT(hide()));
|
||||||
connect(processStop, SIGNAL(pressed()), this, SLOT(checkCancelBackground()));
|
connect(processStop, SIGNAL(clicked()), this, SLOT(checkCancelBackground()));
|
||||||
|
|
||||||
connect(this, SIGNAL(scriptKilled()), busySVG, SLOT(hide()));
|
connect(this, SIGNAL(scriptKilled()), busySVG, SLOT(hide()));
|
||||||
connect(this, SIGNAL(scriptKilled()), processStop, SLOT(hide()));
|
connect(this, SIGNAL(scriptKilled()), processStop, SLOT(hide()));
|
||||||
@ -655,7 +655,7 @@ GuiView::GuiView(int id)
|
|||||||
stat_counts_->hide();
|
stat_counts_->hide();
|
||||||
statusBar()->addPermanentWidget(stat_counts_);
|
statusBar()->addPermanentWidget(stat_counts_);
|
||||||
|
|
||||||
connect(stat_counts_, SIGNAL(pressed()), this, SLOT(statsPressed()));
|
connect(stat_counts_, SIGNAL(clicked()), this, SLOT(statsPressed()));
|
||||||
|
|
||||||
zoom_slider_ = new QSlider(Qt::Horizontal, statusBar());
|
zoom_slider_ = new QSlider(Qt::Horizontal, statusBar());
|
||||||
// Small size slider for macOS to prevent the status bar from enlarging
|
// Small size slider for macOS to prevent the status bar from enlarging
|
||||||
@ -701,8 +701,8 @@ GuiView::GuiView(int id)
|
|||||||
connect(zoom_slider_, SIGNAL(sliderMoved(int)), this, SLOT(zoomSliderMoved(int)));
|
connect(zoom_slider_, SIGNAL(sliderMoved(int)), this, SLOT(zoomSliderMoved(int)));
|
||||||
connect(zoom_slider_, SIGNAL(valueChanged(int)), this, SLOT(zoomValueChanged(int)));
|
connect(zoom_slider_, SIGNAL(valueChanged(int)), this, SLOT(zoomValueChanged(int)));
|
||||||
connect(this, SIGNAL(currentZoomChanged(int)), zoom_slider_, SLOT(setValue(int)));
|
connect(this, SIGNAL(currentZoomChanged(int)), zoom_slider_, SLOT(setValue(int)));
|
||||||
connect(zoom_in_, SIGNAL(pressed()), this, SLOT(zoomInPressed()));
|
connect(zoom_in_, SIGNAL(clicked()), this, SLOT(zoomInPressed()));
|
||||||
connect(zoom_out_, SIGNAL(pressed()), this, SLOT(zoomOutPressed()));
|
connect(zoom_out_, SIGNAL(clicked()), this, SLOT(zoomOutPressed()));
|
||||||
|
|
||||||
// QPalette palette = statusBar()->palette();
|
// QPalette palette = statusBar()->palette();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user