4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialog.h"
16 #include "ControlRef.h"
21 class QListWidgetItem;
26 class GuiRefDialog : public GuiDialog, public Ui::RefUi
31 GuiRefDialog(LyXView & lv);
34 void changed_adaptor();
36 void refHighlighted(QListWidgetItem *);
37 void selectionChanged();
38 void refSelected(QListWidgetItem *);
39 void sortToggled(bool);
47 void closeEvent(QCloseEvent * e);
49 ControlRef & controller() const;
55 void update_contents();
57 /// is name allowed for this ?
59 /// is type allowed for this ?
61 /// go to current reference
63 /// set go back button
65 /// set goto ref button
67 /// re-enter references
72 /// sort or not persistent state
74 /// went to a reference ?
76 /// the last reference entered or examined
77 QString last_reference_;
78 /// store the buffer settings
81 std::vector<docstring> refs_;
84 } // namespace frontend