]> 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 9b0345003358e0ed1fbfedd936f231701b21c9df..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);
@@ -124,6 +124,9 @@ private Q_SLOTS:
        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();
@@ -176,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();
@@ -233,6 +232,10 @@ 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?
@@ -259,6 +262,8 @@ private:
        ///
        bool noMathFont() const;
        ///
+       void allPackages(int);
+       ///
        BufferParams bp_;
        /// List of names of available modules
        std::list<modInfoStruct> moduleNames_;