4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Kalle Dalheimer
9 * \author Angus Leeming
10 * \author Abdelrazak Younes
12 * Full author contact details are available in file CREDITS.
26 class GuiToc : public DockView
33 GuiView & parent, ///< the main window where to dock.
34 Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
35 Qt::WindowFlags flags = {});
38 bool initialiseParams(std::string const & data) override;
39 void updateView() override;
40 void enableView(bool enable) override;
41 bool wantInitialFocus() const override { return false; }
42 void closeEvent(QCloseEvent * event) override;
43 bool isClosing() const override { return is_closing_; }
47 void clearParams() override {}
49 void dispatchParams() override;
51 bool isBufferDependent() const override { return true; }
53 void doDispatch(Cursor & cur, FuncRequest const & fr, DispatchResult & dr);
55 bool getStatus(Cursor & cur, FuncRequest const & fr, FuncStatus & fs) const;
64 } // namespace frontend