Revert "GMO for BG"

This reverts commit 5b84f11f80.
This commit is contained in:
Richard Kimberly Heck 2019-05-12 23:30:49 -04:00
parent 5b84f11f80
commit 051a1a56a9
7 changed files with 1 additions and 36 deletions

BIN
po/bg.gmo

Binary file not shown.

BIN
po/cs.gmo

Binary file not shown.

BIN
po/de.gmo

Binary file not shown.

BIN
po/sk.gmo

Binary file not shown.

View File

@ -305,26 +305,6 @@ typedef map<string, GuiToolbar *> ToolbarMap;
typedef shared_ptr<Dialog> DialogPtr;
// see https://wiki.qt.io/Clickable_QLabel
class QClickableLabel : public QLabel {
Q_OBJECT
public:
explicit QClickableLabel(QWidget * parent)
: QLabel(parent)
{}
~QClickableLabel() {}
Q_SIGNALS:
void clicked();
protected:
void mousePressEvent(QMouseEvent *) {
Q_EMIT clicked();
}
};
} // namespace
@ -630,7 +610,7 @@ GuiView::GuiView(int id)
setAcceptDrops(true);
// add busy indicator to statusbar
QClickableLabel * busylabel = new QClickableLabel(statusBar());
QLabel * busylabel = new QLabel(statusBar());
statusBar()->addPermanentWidget(busylabel);
search_mode mode = theGuiApp()->imageSearchMode();
QString fn = toqstr(lyx::libFileSearch("images", "busy", "gif", mode).absFileName());
@ -643,7 +623,6 @@ GuiView::GuiView(int id)
busylabel, SLOT(show()));
connect(&d.processing_thread_watcher_, SIGNAL(finished()),
busylabel, SLOT(hide()));
connect(busylabel, SIGNAL(clicked()), this, SLOT(checkKillBackground()));
QFontMetrics const fm(statusBar()->fontMetrics());
int const iconheight = max(int(d.normalIconSize), fm.height());
@ -734,17 +713,6 @@ void GuiView::disableShellEscape()
}
void GuiView::checkKillBackground()
{
docstring const ttl = _("Cancel background process?");
docstring const msg = _("Do you want to cancel the background export process?");
const int decision =
Alert::prompt(ttl, msg, 1, 1, _("&Cancel Export"), _("Conti&nue"));
if (decision == 0)
Systemcall::killscript();
}
QVector<GuiWorkArea*> GuiView::GuiViewPrivate::guiWorkAreas()
{
QVector<GuiWorkArea*> areas;

View File

@ -231,8 +231,6 @@ public Q_SLOTS:
void updateWindowTitle(GuiWorkArea * wa);
///
void disableShellEscape();
///
void checkKillBackground();
private Q_SLOTS:
///

View File

@ -197,7 +197,6 @@ MOCHEADER = \
GuiChanges.h \
GuiCharacter.h \
GuiCitation.h \
GuiClickableLabel.h \
GuiClipboard.h \
GuiCommandBuffer.h \
GuiCommandEdit.h \