]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiProgressView.h
Use <cstdint> instead of <boost/cstdint.hpp>
[lyx.git] / src / frontends / qt4 / GuiProgressView.h
index 9a22b71307e59be2ffca9315b08b31c1ddebfdc4..94989093198bef63d477d84915ac4f5b6fb9b599 100644 (file)
@@ -5,6 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Peter Kümmel
+ * \author Pavel Sanda
  *
  * Full author contact details are available in file CREDITS.
  */
 
 #include "DockView.h"
 
-#include "GuiProgress.h"
 
 #include <string>
 
+
+class QHideEvent;
+class QShowEvent;
+
+
 namespace lyx {
 namespace frontend {
 
+
 class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi
 {
        Q_OBJECT
@@ -30,7 +36,7 @@ class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi
 public:
        ProgressViewWidget();
 private:
-       
+
 };
 
 class GuiProgressView : public DockView
@@ -55,15 +61,24 @@ 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 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*);
 };