X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiLog.h;h=2a9ebb6e7a44d5233b2da13c9bd643bc1f7aa5d9;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=bce4b9b6b61e7a75b139f9bd14d6c2210a83e595;hpb=7fd83b7f02e2e199ce25db934cac90dd4d6bff06;p=lyx.git diff --git a/src/frontends/qt4/GuiLog.h b/src/frontends/qt4/GuiLog.h index bce4b9b6b6..2a9ebb6e7a 100644 --- a/src/frontends/qt4/GuiLog.h +++ b/src/frontends/qt4/GuiLog.h @@ -29,15 +29,22 @@ 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 + /// 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(); + /// Log type changed + void typeChanged(int); private: - void closeEvent(QCloseEvent * e); /// Apply changes void applyView() {} @@ -59,6 +66,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