]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCitation.h
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiCitation.h
index dc3b18ae98a1920f2fa323f3be33dd2b1aee1442..f8029ece78554dbd69a5b640cdb16c90636eb87e 100644 (file)
@@ -34,22 +34,18 @@ class GuiCitation : public GuiCommand, public Ui::CitationUi
 
 public:
        ///
-       GuiCitation(LyXView & lv);
+       GuiCitation(GuiView & lv);
 
        ///
        void applyView();
-       /// Hide the dialog from sight
-       void hideView();
-       /// Create the dialog if necessary, update it and display it.
-       void showView();
-       /// \return true if the dialog is visible.
-       bool isVisibleView() const;
 
 public Q_SLOTS:
        /// Update the display of the dialog whilst it is still visible.
        void updateView();
 
 private:
+       ///
+       void showEvent(QShowEvent * e);
        ///
        void closeEvent(QCloseEvent * e);
        /// prepares a call to GuiCitation::searchKeys when we
@@ -69,6 +65,7 @@ private Q_SLOTS:
        void on_findLE_textChanged(const QString & text);
        void on_fieldsCO_currentIndexChanged(int index);
        void on_entriesCO_currentIndexChanged(int index);
+       void on_citationStyleCO_currentIndexChanged(int index);
        void on_caseCB_stateChanged(int);
        void on_regexCB_stateChanged(int);
        void changed();
@@ -88,6 +85,8 @@ private:
        void fillEntries();
        /// set the styles combo
        void updateStyle();
+       /// set the formatting widgets
+       void updateFormatting(biblio::CiteStyle currentStyle);
        /// last used citation style
        int style_;