namespace lyx {
namespace frontend {
-class GuiErrorList : public GuiDialog, public Ui::ErrorListUi, public Controller
+class GuiErrorList : public GuiDialog, public Ui::ErrorListUi
{
Q_OBJECT
public:
- GuiErrorList(LyXView & lv);
+ GuiErrorList(GuiView & lv);
public Q_SLOTS:
/// select an entry
- void select(QListWidgetItem *);
+ void select();
+ /// open the LaTeX log
+ void viewLog();
+ /// show the output file despite compilation errors
+ void showAnyway();
private:
- ///
- void closeEvent(QCloseEvent *);
///
void showEvent(QShowEvent *);
- /// parent controller
- Controller & controller() { return *this; }
- /// update contents
- void updateContents();
+ ///
+ void paramsToDialog();
///
bool isBufferDependent() const { return true; }
///
void clearParams() {}
///
void dispatchParams() {}
+ ///
+ bool canApply() const { return true; }
- /// goto this error in the parent bv
- void goTo(int item);
+ /// goto this error in the parent bv. Returns success.
+ bool goTo(int item);
///
ErrorList const & errorList() const;
private:
///
std::string error_type_;
+ ///
+ mutable ErrorList error_list_;
+ ///
+ Buffer const * buf_;
/// the parent document name
docstring name_;
+ ///
+ bool from_master_;
};
} // namespace frontend