]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiRef.h
Use <cstdint> instead of <boost/cstdint.hpp>
[lyx.git] / src / frontends / qt4 / GuiRef.h
index e240d0e939e36f6935835d6ab27cc34f22869f01..f7e007724a6a3bfc9ea5e7a9389428f31dfdb12f 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "GuiDialog.h"
 #include "ui_RefUi.h"
+#include "FancyLineEdit.h"
 
 #include "insets/InsetCommandParams.h"
 
@@ -30,17 +31,23 @@ 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 filterLabels();
+       void resetFilter();
        void refHighlighted(QTreeWidgetItem *);
        void selectionChanged();
+       void refTextChanged(QString const &);
        void refSelected(QTreeWidgetItem *);
        void sortToggled();
-       void caseSensitiveToggled();
        void groupToggled();
+       void on_buttonBox_clicked(QAbstractButton *);
        void updateClicked();
        void resetDialog();
        void dialogRejected();
@@ -63,6 +70,8 @@ private:
        void applyView();
        /// update dialog
        void updateContents();
+       ///
+       void enableBoxes();
 
        /// is name allowed for this ?
        bool nameAllowed();
@@ -89,6 +98,9 @@ private:
        ///
        InsetCommandParams params_;
 
+       /// contains the search box
+       FancyLineEdit * filter_;
+
        /// went to a reference ?
        bool at_ref_;
        /// the last reference entered or examined