3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "qt_helpers.h"
16 #include "QIndexDialog.h"
18 #include <qpushbutton.h>
19 #include <qlineedit.h>
20 #include <qwhatsthis.h>
25 QIndexDialog::QIndexDialog(QIndex * form)
26 : QIndexDialogBase(0, 0, false, 0),
29 connect(okPB, SIGNAL(clicked()),
30 form, SLOT(slotOK()));
31 connect(closePB, SIGNAL(clicked()),
32 form, SLOT(slotClose()));
34 QWhatsThis::add(keywordED, qt_(
35 "The format of the entry in the index.\n"
37 "An entry can be specified as a sub-entry of\n"
38 "another with \"!\":\n"
42 "You can cross-refer to another entry like so:\n"
44 "cars!mileage|see{economy}\n"
46 "For further details refer to the local LaTeX\n"
51 void QIndexDialog::show()
53 QIndexDialogBase::show();
54 keywordED->setFocus();
58 void QIndexDialog::change_adaptor()
64 void QIndexDialog::reject()
70 void QIndexDialog::closeEvent(QCloseEvent * e)
76 } // namespace frontend