#include "DockView.h"
-#include "GuiProgress.h"
#include <string>
-class QAbstractButton;
+
class QHideEvent;
class QShowEvent;
public:
ProgressViewWidget();
private:
-
+
};
class GuiProgressView : public DockView
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.
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*);
};