void deleteNoteFontColor();
void changeBoxBackgroundColor();
void deleteBoxBackgroundColor();
+ void languageChanged(int);
void osFontsChanged(bool);
+ void mathFontChanged(int);
void branchesRename(docstring const &, docstring const &);
private:
/// validate listings parameters and return an error message, if any
///
void setLayoutComboByIDString(std::string const & idString);
- /// available classes
- GuiIdListModel classes_model_;
/// available modules
GuiIdListModel modules_av_model_;
/// selected modules
void setLanguage() const;
///
void saveAsDefault() const;
- ///
- bool isFontAvailable(std::string const & font) const;
/// does this font provide Old Style figures?
- bool providesOSF(std::string const & font) const;
+ bool providesOSF(QString const & font) const;
/// does this font provide true Small Caps?
- bool providesSC(std::string const & font) const;
+ bool providesSC(QString const & font) const;
/// does this font provide size adjustment?
- bool providesScale(std::string const & font) const;
+ bool providesScale(QString const & font) const;
+ /// does this font provide an alternative without math?
+ bool providesNoMath(QString const & font) const;
///
void executeBranchRenaming() const;
///
///
void updateUnknownBranches();
///
+ void updateTexFonts();
+ ///
+ void updateMathFonts(QString const & rm);
+ ///
+ void updateFontOptions();
+ ///
+ bool ot1() const;
+ ///
+ bool completeFontset() const;
+ ///
+ bool noMathFont() const;
+ ///
BufferParams bp_;
/// List of names of available modules
std::list<modInfoStruct> moduleNames_;
LocalLayout();
void update(BufferParams const & params, BufferId id);
void apply(BufferParams & params);
- bool isValid() const { return is_valid_; }
+ bool isValid() const { return validated_; }
Q_SIGNALS:
/// signal that something's changed in the Widget.
private:
BufferId current_id_;
- bool is_valid_;
+ bool validated_;
};