]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiProgressView.h
Set a maximum value to zoom level
[lyx.git] / src / frontends / qt4 / GuiProgressView.h
index 944eb0624993ebc6a90aa9ad5e374437283d2f4f..51e4a55cbe7b08f37abe9200de823a0ab02b4f5c 100644 (file)
 
 #include "DockView.h"
 
-#include "GuiProgress.h"
 
 #include <string>
 
-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*);
 };