]> git.lyx.org Git - features.git/blob - src/frontends/qt2/QDelimiterDialog.h
Replace LString.h with support/std_string.h,
[features.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
16 #include "ui/QDelimiterDialogBase.h"
17 #include "support/std_string.h"
18
19 class QMathDelimiter;
20 class IconPalette;
21 class QLabel;
22
23 class QDelimiterDialog : public QDelimiterDialogBase {
24         Q_OBJECT
25 public:
26         QDelimiterDialog(QMathDelimiter * form);
27 public slots:
28         void ldelim_clicked(const string & str);
29         void rdelim_clicked(const string & str);
30         void insertClicked();
31 protected:
32         //needed ? virtual void closeEvent(QCloseEvent * e);
33 private:
34         void set_label(QLabel * label, const string & str);
35
36         /// symbol of left delimiter
37         string left_;
38
39         /// symbol of right delimiter
40         string right_;
41
42         /// owning form
43         QMathDelimiter * form_;
44 };
45
46 #endif // QDELIMITERDIALOG_H