+ /// Create the main window with given geometry settings.
+ /// \param geometry_arg: only for Windows platform.
+ /// \param optional id identifier.
+ void createView(QString const & geometry_arg = QString(),
+ bool autoShow = true, int id = 0);
+ /// FIXME: this method and the one above are quite ugly.
+ void createView(int id);
+ ///
+ GuiView const * currentView() const { return current_view_; }
+ ///
+ GuiView * currentView() { return current_view_; }
+ ///
+ void setCurrentView(GuiView * view) { current_view_ = view; }
+ ///
+ QList<int> viewIds() const;
+
+ /// Clear all session information.
+ void clearSession();
+
+ ///
+ ColorCache & colorCache();
+ ///
+ QAbstractItemModel * languageModel();
+
+ /// return a suitable serif font name.
+ QString const romanFontName();
+
+ /// return a suitable sans serif font name.
+ QString const sansFontName();
+
+ /// return a suitable monospaced font name.
+ QString const typewriterFontName();
+ QFont const typewriterSystemFont();
+