]> git.lyx.org Git - features.git/blob - src/frontends/kde/indexdlg.C
renaming, fix citation (still no search though)
[features.git] / src / frontends / kde / indexdlg.C
1 /**
2  * \file indexdlg.C
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon
7  */
8
9 #include <config.h>
10 #include <gettext.h>
11
12 #include "FormIndex.h"
13 #include "indexdlg.h"
14
15 #include <qtooltip.h>
16
17 IndexDialog::IndexDialog(FormIndex * f, QWidget * p, char const * name)
18         : IndexDialogData(p, name), form_(f)
19 {
20         setCaption(name);
21
22         // tooltips
23
24         QToolTip::add(label_index,_("Index entry"));
25         QToolTip::add(line_index,_("Index entry"));
26
27         setMinimumSize(200, 65);
28         setMaximumSize(32767, 65);
29 }
30
31
32 void IndexDialog::closeEvent(QCloseEvent * e)
33 {
34         form_->CancelButton();
35         e->accept();
36 }