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