X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiPrefs.h;h=2a0405fb3ec337eb1a482fd30757f8fe31bf801a;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=3e45906e32675c89f033522ba2be23e7f8fd1876;hpb=48f36f59e74cfdea1d33f9170671d33c45b8ba37;p=lyx.git diff --git a/src/frontends/qt4/GuiPrefs.h b/src/frontends/qt4/GuiPrefs.h index 3e45906e32..2a0405fb3e 100644 --- a/src/frontends/qt4/GuiPrefs.h +++ b/src/frontends/qt4/GuiPrefs.h @@ -91,7 +91,6 @@ public: QString browsebind(QString const & file) const; QString browseUI(QString const & file) const; QString browsekbmap(QString const & file) const; - QString browsedict(QString const & file) const; /// general browse QString browse(QString const & file, QString const & title) const; @@ -210,6 +209,10 @@ public: virtual void apply(LyXRC & rc) const; virtual void update(LyXRC const & rc); + virtual void enableCB(); +private Q_SLOTS: + void on_popupTextCB_clicked(); + void on_inlineTextCB_clicked(); }; @@ -223,14 +226,15 @@ public: 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); private: /// - std::vector bibtex_alternatives; + std::set bibtex_alternatives; /// - std::vector index_alternatives; + std::set index_alternatives; }; @@ -244,9 +248,9 @@ public: virtual void update(LyXRC const & rc); private Q_SLOTS: - void select_roman(const QString&); - void select_sans(const QString&); - void select_typewriter(const QString&); + void selectRoman(const QString&); + void selectSans(const QString&); + void selectTypewriter(const QString&); }; @@ -260,8 +264,8 @@ public: void update(LyXRC const & rc); private Q_SLOTS: - void change_color(); - void change_lyxObjects_selection(); + void changeColor(); + void changeLyxObjectsSelection(); private: std::vector lcolors_; @@ -278,6 +282,9 @@ public: void apply(LyXRC & rc) const; void update(LyXRC const & rc); + +private Q_SLOTS: + void on_instantPreviewCO_currentIndexChanged(int); }; @@ -291,13 +298,14 @@ public: void update(LyXRC const & rc); private Q_SLOTS: - void select_exampledir(); - void select_templatedir(); - void select_tempdir(); - void select_backupdir(); - void select_workingdir(); - void select_thesaurusdir(); - void select_lyxpipe(); + void selectExampledir(); + void selectTemplatedir(); + void selectTempdir(); + void selectBackupdir(); + void selectWorkingdir(); + void selectThesaurusdir(); + void selectHunspelldir(); + void selectLyxPipe(); }; @@ -311,8 +319,6 @@ public: void apply(LyXRC & rc) const; void update(LyXRC const & rc); -private Q_SLOTS: - void select_dict(); }; @@ -329,10 +335,10 @@ public Q_SLOTS: void updateGui(); private Q_SLOTS: - void update_converter(); - void switch_converter(); - void converter_changed(); - void remove_converter(); + void updateConverter(); + void switchConverter(); + void removeConverter(); + void changeConverter(); void on_cacheCB_stateChanged(int state); private: @@ -365,11 +371,21 @@ private Q_SLOTS: void on_formatsCB_editTextChanged(const QString &); void on_formatNewPB_clicked(); void on_formatRemovePB_clicked(); + void on_viewerCO_currentIndexChanged(int i); + void on_editorCO_currentIndexChanged(int i); void setFlags(); void updatePrettyname(); private: Format & currentFormat(); + /// + void updateViewers(); + /// + void updateEditors(); + /// + LyXRC::Alternatives viewer_alternatives; + /// + LyXRC::Alternatives editor_alternatives; }; @@ -408,7 +424,7 @@ public: void update(LyXRC const & rc); public Q_SLOTS: - void select_ui(); + void selectUi(); void on_clearSessionPB_clicked(); }; @@ -449,18 +465,19 @@ public: KeySequence const & shortcut, KeyMap::ItemType tag); public Q_SLOTS: - void select_bind(); + void selectBind(); void on_modifyPB_pressed(); void on_newPB_pressed(); void on_removePB_pressed(); void on_searchLE_textEdited(); /// void on_shortcutsTW_itemSelectionChanged(); - void shortcut_okPB_pressed(); - void shortcut_cancelPB_pressed(); - void shortcut_clearPB_pressed(); - void shortcut_removePB_pressed(); void on_shortcutsTW_itemDoubleClicked(); + /// + void shortcutOkPressed(); + void shortcutCancelPressed(); + void shortcutClearPressed(); + void shortcutRemovePressed(); private: ///