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);
45 void closeEvent(QCloseEvent * e);
47 ControlRef & controller();
53 void updateContents();
55 /// is name allowed for this ?
57 /// is type allowed for this ?
59 /// go to current reference
61 /// set go back button
63 /// set goto ref button
65 /// re-enter references
70 /// sort or not persistent state
72 /// went to a reference ?
74 /// the last reference entered or examined
75 QString last_reference_;
76 /// store the buffer settings
79 std::vector<docstring> refs_;
82 } // namespace frontend