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.
25 class GuiToc : public DockView
32 GuiView & parent, ///< the main window where to dock.
33 Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
34 Qt::WindowFlags flags = {});
37 bool initialiseParams(std::string const & data) override;
38 void updateView() override;
39 void enableView(bool enable) override;
40 bool wantInitialFocus() const override { return false; }
41 void closeEvent(QCloseEvent * event) override;
42 bool isClosing() const override { return is_closing_; }
46 void clearParams() override {}
48 void dispatchParams() override;
50 bool isBufferDependent() const override { return true; }
52 void doDispatch(Cursor & cur, FuncRequest const & fr, DispatchResult & dr);
54 bool getStatus(Cursor & cur, FuncRequest const & fr, FuncStatus & fs) const;
63 } // namespace frontend