]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QDelimiterDialog.h
Some string(widget->text()) fixes. Weirdness
[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         Q_OBJECT
28 public:
29         QDelimiterDialog(QMath * form);
30 public slots:
31         void ldelim_clicked(string const & str);
32         void rdelim_clicked(string const & str);
33         void insertClicked();
34 protected:
35         //needed ? virtual void closeEvent(QCloseEvent * e);
36 private:
37         void set_label(QLabel * label, string const & str);
38
39         /// symbol of left delimiter
40         string left_;
41
42         /// symbol of right delimiter
43         string right_;
44
45         /// owning form
46         QMath * form_;
47 };
48
49 #endif // QDELIMITERDIALOG_H