X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffrontends%2Fqt4%2FGuiProgressView.h;h=51e4a55cbe7b08f37abe9200de823a0ab02b4f5c;hb=c203a842fce88f7313ceb6da99f6a4a10f50f365;hp=944eb0624993ebc6a90aa9ad5e374437283d2f4f;hpb=12efe108db4fa722c480bee7cb8f65e8303c6901;p=lyx.git diff --git a/src/frontends/qt4/GuiProgressView.h b/src/frontends/qt4/GuiProgressView.h index 944eb06249..51e4a55cbe 100644 --- a/src/frontends/qt4/GuiProgressView.h +++ b/src/frontends/qt4/GuiProgressView.h @@ -17,11 +17,10 @@ #include "DockView.h" -#include "GuiProgress.h" #include -class QAbstractButton; + class QHideEvent; class QShowEvent; @@ -37,7 +36,7 @@ class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi public: ProgressViewWidget(); private: - + }; class GuiProgressView : public DockView @@ -48,7 +47,7 @@ public: GuiProgressView( GuiView & parent, ///< the main window where to dock. Qt::DockWidgetArea area, ///< Position of the dock (and also drawer) - Qt::WindowFlags flags = 0); + Qt::WindowFlags flags = {}); ~GuiProgressView(); /// Controller inherited method. @@ -62,18 +61,22 @@ public: void updateView() {} bool wantInitialFocus() const { return false; } void restoreSession(); - void saveSession() const; + void saveSession(QSettings & settings) const; ///@} private Q_SLOTS: void appendText(QString const & text); + void appendLyXErrText(QString const & text); void clearText(); - - void levelChanged(QAbstractButton*); + void debugMessageActivated(QTreeWidgetItem *, int); + void debugSelectionChanged(); private: ProgressViewWidget * widget_; + /// did the last message contained eoln? (lyxerr X statusbar conflicts) + bool eol_last_; + void levelChanged(); void showEvent(QShowEvent*); void hideEvent(QHideEvent*); };