]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QDelimiterDialog.h
Lots and lots of little trivial bits.
[lyx.git] / src / frontends / qt2 / QDelimiterDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QDelimiterDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QDELIMITERDIALOG_H
13 #define QDELIMITERDIALOG_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "ui/QDelimiterDialogBase.h"
20 #include "LString.h"
21
22 class QMath;
23 class IconPalette;
24 class QLabel;
25
26 class QDelimiterDialog : public QDelimiterDialogBase
27 {
28         Q_OBJECT
29
30 public:
31         QDelimiterDialog(QMath * form);
32
33 public slots:
34         void ldelim_clicked(string str);
35         void rdelim_clicked(string str);
36         void insertClicked();
37
38 protected:
39         //needed ? virtual void closeEvent(QCloseEvent * e);
40
41 private:
42         void set_label(QLabel * label, string const & str);
43
44         /// symbol of left delimiter
45         string left_;
46
47         /// symbol of right delimiter
48         string right_;
49
50         /// owning form
51         QMath * form_;
52 };
53
54 #endif // QDELIMITERDIALOG_H