3 * \file GuiProgressView.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
13 #ifndef GUIPROGRESSVIEW_H
14 #define GUIPROGRESSVIEW_H
16 #if QT_VERSION < 0x040400
17 #define settingsLayout gridLayout1
20 #include "ui_ProgressViewUi.h"
24 #include "GuiProgress.h"
38 class ProgressViewWidget : public QWidget, public Ui::ProgressViewUi
48 class GuiProgressView : public DockView
54 GuiView & parent, ///< the main window where to dock.
55 Qt::DockWidgetArea area, ///< Position of the dock (and also drawer)
56 Qt::WindowFlags flags = 0);
59 /// Controller inherited method.
61 bool initialiseParams(std::string const &) { return true; }
63 void dispatchParams() {}
64 bool isBufferDependent() const { return false; }
65 bool canApply() const { return true; }
66 bool canApplyToReadOnly() const { return true; }
68 bool wantInitialFocus() const { return false; }
69 void restoreSession();
70 void saveSession() const;
74 void appendText(QString const & text);
75 void appendLyXErrText(QString const & text);
77 void debugMessageActivated(QTreeWidgetItem *, int);
78 void debugSelectionChanged();
81 ProgressViewWidget * widget_;
84 void showEvent(QShowEvent*);
85 void hideEvent(QHideEvent*);
89 } // namespace frontend