]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiRef.h
GuiBibtex: Use appropriate title when using Biblatex
[lyx.git] / src / frontends / qt4 / GuiRef.h
index 3f0abfe2624dd700ad1a743faf313a62b101f110..46d9a6d076607a71d96aa4f9b8ac138221e14945 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "GuiDialog.h"
 #include "ui_RefUi.h"
+#include "FancyLineEdit.h"
 
 #include "insets/InsetCommandParams.h"
 
@@ -30,17 +31,21 @@ class GuiRef : public GuiDialog, public Ui::RefUi
 
 public:
        GuiRef(GuiView & lv);
+       /// Dialog inherited methods
+       //@{
+       void enableView(bool enable);
+       //@}
 
 private Q_SLOTS:
        void changed_adaptor();
        void gotoClicked();
-       void on_findLE_textChanged(const QString &);
-       void on_searchPB_clicked();
+       void filterLabels();
+       void resetFilter();
        void refHighlighted(QTreeWidgetItem *);
        void selectionChanged();
+       void refTextChanged(QString const &);
        void refSelected(QTreeWidgetItem *);
        void sortToggled();
-       void caseSensitiveToggled();
        void groupToggled();
        void updateClicked();
        void resetDialog();
@@ -64,6 +69,8 @@ private:
        void applyView();
        /// update dialog
        void updateContents();
+       ///
+       void enableBoxes();
 
        /// is name allowed for this ?
        bool nameAllowed();
@@ -90,6 +97,9 @@ private:
        ///
        InsetCommandParams params_;
 
+       /// contains the search box
+       FancyLineEdit * filter_;
+
        /// went to a reference ?
        bool at_ref_;
        /// the last reference entered or examined