namespace lyx {
class Cursor;
-class ToolbarInfo;
namespace frontend {
class GuiToolbar;
class GuiWorkArea;
class TabWorkArea;
+class TocModels;
+class ToolbarInfo;
/**
* GuiView - Qt4 implementation of LyXView
void updateLayoutList();
void updateToolbars();
QMenu * createPopupMenu();
- FuncStatus getStatus(FuncRequest const & cmd);
+ bool getStatus(FuncRequest const & cmd, FuncStatus & flag);
bool dispatch(FuncRequest const & cmd);
///
void errors(std::string const &);
void structureChanged();
///@}
+
+ ///
+ TocModels & tocModels();
/// called on timeout
void autoSave();
///
void resetDialogs();
- /** Check the status of all visible dialogs and disable or reenable
+ /// Hide all visible dialogs
+ void hideAll() const;
+
+ /// Update all visible dialogs.
+ /**
+ * Check the status of all visible dialogs and disable or reenable
* them as appropriate.
*
* Disabling is needed for example when a dialog is open and the
* cursor moves to a position where the corresponding inset is not
* allowed.
*/
- void checkStatus();
-
- /// Hide all visible dialogs
- void hideAll() const;
-
- // Update all visible dialogs.
void updateDialogs();
/** \param name == "bibtex", "citation" etc; an identifier used to
std::string const & data, Inset * inset = 0);
/** \param name == "citation", "bibtex" etc; an identifier used
- to update the contents of a particular dialog with \param data.
+ to reset the contents of a particular dialog with \param data.
See the comments to 'show', above.
*/
void updateDialog(std::string const & name, std::string const & data);
void updateCompletion(Cursor & cur, bool start, bool keep);
private:
+ ///
+ void saveLayout() const;
+ ///
+ void restoreLayout();
+ ///
+ GuiToolbar * toolbar(std::string const & name);
+ ///
+ void constructToolbars();
+ ///
+ void initToolbars();
///
void lfunUiToggle(FuncRequest const & cmd);
-
+ ///
+ void toggleFullScreen();
///
void insertLyXFile(docstring const & fname);
///