#include "ui_PrefsUi.h"
-#include "ui_PrefPlaintextUi.h"
-#include "ui_PrefDateUi.h"
+#include "ui_PrefOutputUi.h"
#include "ui_PrefInputUi.h"
#include "ui_PrefLatexUi.h"
#include "ui_PrefScreenFontsUi.h"
public Q_SLOTS:
void change_adaptor();
+Q_SIGNALS:
+ void prefsApplied(LyXRC const & rc);
+
public:
/// Apply changes
void applyView();
};
-class PrefPlaintext : public PrefModule, public Ui::PrefPlaintextUi
-{
- Q_OBJECT
-public:
- PrefPlaintext(GuiPreferences * form);
-
- virtual void apply(LyXRC & rc) const;
- virtual void update(LyXRC const & rc);
-};
-
-
-class PrefDate : public PrefModule, public Ui::PrefDateUi
+class PrefOutput : public PrefModule, public Ui::PrefOutputUi
{
Q_OBJECT
public:
- PrefDate(GuiPreferences * form);
+ PrefOutput(GuiPreferences * form);
virtual void apply(LyXRC & rc) const;
virtual void update(LyXRC const & rc);
void on_firstKeymapPB_clicked(bool);
void on_secondKeymapPB_clicked(bool);
void on_keymapCB_toggled(bool);
+ void on_scrollzoomEnableCB_toggled(bool);
private:
QString testKeymap(QString const & keymap);
virtual void update(LyXRC const & rc);
private Q_SLOTS:
+ void on_latexEncodingCB_stateChanged(int state);
void on_latexBibtexCO_activated(int n);
void on_latexIndexCO_activated(int n);
void selectRoman(const QString&);
void selectSans(const QString&);
void selectTypewriter(const QString&);
+
+public Q_SLOTS:
+ void updateScreenFontSizes(LyXRC const & rc);
};
private Q_SLOTS:
void changeColor();
+ void changeSysColor();
void changeLyxObjectsSelection();
private:
void apply(LyXRC & rc) const;
void update(LyXRC const & rc);
+
+private Q_SLOTS:
+ void on_instantPreviewCO_currentIndexChanged(int);
+ void on_displayGraphicsCB_toggled(bool);
};
void apply(LyXRC & rc) const;
void update(LyXRC const & rc);
+private Q_SLOTS:
+ void on_spellcheckerCB_currentIndexChanged(int);
};
///
void updateEditors();
///
- std::vector<std::pair<std::string, std::string> > viewer_alternatives;
+ LyXRC::Alternatives viewer_alternatives;
///
- std::vector<std::pair<std::string, std::string> > editor_alternatives;
+ LyXRC::Alternatives editor_alternatives;
};
private Q_SLOTS:
void on_uiLanguageCO_currentIndexChanged(int);
+ void on_languagePackageCO_currentIndexChanged(int);
};