]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiLog.h
If we are in a closeEvent, we don't want to close all buffers, because these may...
[lyx.git] / src / frontends / qt4 / GuiLog.h
index 8305e72aeb55a0e6392b0426cf243013e7c486a0..e8bdbb901b5f482e9863a8835b7d8b514619e6c3 100644 (file)
@@ -29,13 +29,20 @@ class GuiLog : public GuiDialog, public Ui::LogUi
        Q_OBJECT
 
 public:
-       GuiLog(LyXView & lv);
+       GuiLog(GuiView & lv);
 
 private Q_SLOTS:
        void updateContents();
+       /// copy log to clipboard
+       void on_copyPB_clicked();
+       /// find content
+       void find();
+       /// jump to next error message
+       void on_nextErrorPB_clicked();
+       /// jump to next warning
+       void on_nextWarningPB_clicked();
 
 private:
-       void closeEvent(QCloseEvent * e);
        /// Apply changes
        void applyView() {}
 
@@ -57,6 +64,10 @@ private:
        docstring title() const;
        /// put the log file into the ostream
        void getContents(std::ostream & ss) const;
+       /// go to the next occurence of the RegExp
+       void goTo(QRegExp const & exp) const;
+       /// does the document after cursor position contain the RegExp?
+       bool contains(QRegExp const & exp) const;
 
 private:
        /// Recognized log file-types