]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QDelimiterDialog.h
Matrix and delimiter.
[lyx.git] / src / frontends / qt2 / QDelimiterDialog.h
1 /**
2  * \file QDelimiterDialog.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon <moz@compsoc.man.ac.uk>
7  */
8
9 #ifndef QDELIMITERDIALOG_H
10 #define QDELIMITERDIALOG_H
11
12 #include <config.h>
13
14 #include "LString.h"
15  
16 #include "ui/QDelimiterDialogBase.h"
17
18 class QMath;
19 class IconPalette;
20 class QLabel;
21
22 class QDelimiterDialog : public QDelimiterDialogBase
23 {
24         Q_OBJECT
25
26 public:
27         QDelimiterDialog(QMath * form);
28
29 public slots:
30         void ldelim_clicked(string str);
31         void rdelim_clicked(string str);
32         void insertClicked();
33
34 protected:
35         //needed ? virtual void closeEvent(QCloseEvent * e);
36
37 private:
38         void set_label(QLabel * label, string const & str);
39
40         /// symbol of left delimiter 
41         string left_;
42
43         /// symbol of right delimiter
44         string right_;
45  
46         /// owning form
47         QMath * form_;
48 };
49
50 #endif // QDELIMITERDIALOG_H