]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDocument.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiDocument.h
index dad82ea75ce486ef36b90a38649550753ce1c544..cfd58823fed127594514139932534004849e7eca 100644 (file)
@@ -13,8 +13,6 @@
 #ifndef GUIDOCUMENT_H
 #define GUIDOCUMENT_H
 
-#include <QDialog>
-
 #include "BufferParams.h"
 #include "BulletsModule.h"
 #include "GuiDialog.h"
@@ -98,6 +96,8 @@ private Q_SLOTS:
        void romanChanged(int);
        void sansChanged(int);
        void ttChanged(int);
+       void fontOsfToggled(bool state);
+       void fontScToggled(bool state);
        void setIndent(int);
        void enableIndent(bool);
        void setSkip(int);
@@ -122,7 +122,11 @@ private Q_SLOTS:
        void deleteBoxBackgroundColor();
        void languageChanged(int);
        void osFontsChanged(bool);
+       void mathFontChanged(int);
        void branchesRename(docstring const &, docstring const &);
+       void allPackagesAuto();
+       void allPackagesAlways();
+       void allPackagesNot();
 private:
        /// validate listings parameters and return an error message, if any
        QString validateListingsParameters();
@@ -175,14 +179,10 @@ private:
        ///
        void setLayoutComboByIDString(std::string const & idString);
 
-       /// available classes
-       GuiIdListModel classes_model_;
        /// available modules
        GuiIdListModel modules_av_model_;
        /// selected modules
        GuiIdListModel modules_sel_model_;
-       /// current buffer
-       BufferId current_id_;
 
        /// return false if validate_listings_params returns error
        bool isValid();
@@ -232,8 +232,14 @@ private:
        bool providesOSF(QString const & font) const;
        /// does this font provide true Small Caps?
        bool providesSC(QString const & font) const;
+       /** does this font provide OSF and Small Caps only via 
+        * a single, undifferentiated expert option?
+        */
+       bool hasMonolithicExpertSet(QString const & font) const;
        /// does this font provide size adjustment?
        bool providesScale(QString const & font) const;
+       /// does this font provide an alternative without math?
+       bool providesNoMath(QString const & font) const;
        ///
        void executeBranchRenaming() const;
        ///
@@ -246,12 +252,18 @@ private:
        ///
        void updateTexFonts();
        ///
+       void updateMathFonts(QString const & rm);
+       ///
        void updateFontOptions();
        ///
        bool ot1() const;
        ///
        bool completeFontset() const;
        ///
+       bool noMathFont() const;
+       ///
+       void allPackages(int);
+       ///
        BufferParams bp_;
        /// List of names of available modules
        std::list<modInfoStruct> moduleNames_;