]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QDelimiterDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / 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/QDelimiterUi.h"
16 #include <string>
17
18 namespace lyx {
19 namespace frontend {
20
21 class QMathDelimiter;
22
23 class QDelimiterDialog : public QDialog, public Ui::QDelimiterUi {
24         Q_OBJECT
25 public:
26         QDelimiterDialog(QMathDelimiter * form);
27 public Q_SLOTS:
28         void on_leftCO_activated(int);
29         void on_rightCO_activated(int);
30         void on_matchCB_stateChanged(int);
31         void insertClicked();
32 private:
33         /// owning form
34         QMathDelimiter * form_;
35 };
36
37 } // namespace frontend
38 } // namespace lyx
39
40 #endif // QDELIMITERDIALOG_H