]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDocument.h
Improve wording (#10670)
[lyx.git] / src / frontends / qt4 / GuiDocument.h
index 32ebb57d5e768dfc1e485c7d44572f2884201ea7..b5e09d3ec4cea0fecdcc16cdce6438a4992977e7 100644 (file)
@@ -61,7 +61,7 @@ template<class UI>
 class UiWidget : public QWidget, public UI
 {
 public:
-       UiWidget(QWidget * parent = 0) : QWidget(parent) { UI::setupUi(this); }
+       UiWidget(QWidget * parent) : QWidget(parent) { UI::setupUi(this); }
 };
 
 
@@ -109,6 +109,8 @@ private Q_SLOTS:
        void enableIndent(bool);
        void setSkip(int);
        void enableSkip(bool);
+       void allowMathIndent();
+       void enableMathIndent(int);
        void browseLayout();
        void browseMaster();
        void classChanged();
@@ -116,11 +118,15 @@ private Q_SLOTS:
        void languagePackageChanged(int);
        void biblioChanged();
        void rescanBibFiles();
-       void resetDefaultBibfile();
+       void resetDefaultBibfile(std::string const & which = std::string());
+       void resetDefaultBbxBibfile();
+       void resetDefaultCbxBibfile();
        void citeEngineChanged(int);
        void citeStyleChanged();
        void bibtexChanged(int);
        void updateResetDefaultBiblio();
+       void matchBiblatexStyles();
+       void updateEngineDependends();
        void updateModuleInfo();
        void modulesChanged();
        void changeBackgroundColor();
@@ -184,7 +190,8 @@ private:
        ///
        void updateIncludeonlys();
        ///
-       void updateDefaultBiblio(std::string const & style);
+       void updateDefaultBiblio(std::string const & style,
+                                std::string const & which = std::string());
        /// save as default template
        void saveDocDefault();
        /// reset to default params
@@ -281,6 +288,8 @@ private:
        ///
        void allPackages(int);
        ///
+       bool isBiblatex() const;
+       ///
        BufferParams bp_;
        /// List of names of available modules
        std::list<modInfoStruct> moduleNames_;
@@ -299,7 +308,7 @@ class PreambleModule : public UiWidget<Ui::PreambleUi>
 {
        Q_OBJECT
 public:
-       PreambleModule();
+       PreambleModule(QWidget * parent);
        void update(BufferParams const & params, BufferId id);
        void apply(BufferParams & params);
 
@@ -322,7 +331,7 @@ class LocalLayout : public UiWidget<Ui::LocalLayoutUi>
 {
        Q_OBJECT
 public:
-       LocalLayout();
+       LocalLayout(QWidget * parent);
        void update(BufferParams const & params, BufferId id);
        void apply(BufferParams & params);
        bool isValid() const { return validated_; }
@@ -350,6 +359,8 @@ class FontModule : public UiWidget<Ui::FontUi>
 {
        Q_OBJECT
 public:
+       FontModule(QWidget * parent) : UiWidget<Ui::FontUi>(parent),
+          font_sf_scale(100), font_tt_scale(100) {}
        /// The roman font currently not selected by osFontsCB->isChecked()
        QString font_roman;
        /// The sans font currently not selected by osFontsCB->isChecked()