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 Abdelrazak Younes
11 * Full author contact details are available in file CREDITS.
17 #include "GuiDialog.h"
18 #include "ControlToc.h"
21 #include <QStandardItemModel>
22 #include <QStringListModel>
29 class GuiToc : public GuiDialog
37 /// \c ControlToc inherited method.
38 virtual bool initialiseParams(std::string const & data);
42 bool canOutline(int type) const;
44 QStandardItemModel * tocModel(int type);
46 QModelIndex const getCurrentIndex(int type) const;
48 void goTo(int type, QModelIndex const & index);
52 int getTocDepth(int type);
54 ControlToc & controller() const;
57 /// Signal that the internal toc_models_ has been reset.
62 std::vector<TocModel *> toc_models_;
65 } // namespace frontend