3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
15 // to connect apply() and hide()
16 #include "FormCitation.h"
23 #include <qlineedit.h>
24 #include <qmultilinedit.h>
25 #include <qpushbutton.h>
27 class CitationDialog : public QDialog {
30 CitationDialog(FormCitation *form, QWidget *parent=0, char const * name=0,
31 bool modal=false, WFlags f=0);
41 QMultiLineEdit * entry;
48 QPushButton * buttonOk;
49 QPushButton * buttonCancel;
52 void closeEvent(QCloseEvent * e);
59 QHBoxLayout * topLayout;
61 QHBoxLayout * browserLayout;
62 QVBoxLayout * chosenLayout;
63 QVBoxLayout * iconLayout;
64 QVBoxLayout * keysLayout;
65 QVBoxLayout * entryLayout;
66 QHBoxLayout * afterLayout;
67 QHBoxLayout * buttonLayout;
70 void apply_adaptor(void) {
76 void close_adaptor(void) {
81 void add_adaptor(void) {
85 void up_adaptor(void) {
89 void down_adaptor(void) {
93 void remove_adaptor(void) {
97 void select_key_adaptor(const char * key) {
98 form_->select_key(key);
101 void highlight_key_adaptor(const char * key) {
102 form_->highlight_key(key);
105 void highlight_chosen_adaptor(const char * key) {
106 form_->highlight_chosen(key);
110 #endif // CITATIONDLG_H