]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QExternalDialog.h
fix math fonts with LyX/Mac
[lyx.git] / src / frontends / qt2 / QExternalDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QExternalDialog.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 QEXTERNALDIALOG_H
13 #define QEXTERNALDIALOG_H
14
15 #include "ui/QExternalDialogBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class QExternal;
21
22 class QExternalDialog : public QExternalDialogBase {
23         Q_OBJECT
24 public:
25         QExternalDialog(QExternal * form);
26
27         virtual void show();
28 protected slots:
29         virtual void bbChanged();
30         virtual void browseClicked();
31         virtual void change_adaptor();
32         virtual void editClicked();
33         virtual void extraChanged(const QString&);
34         virtual void formatChanged(const QString&);
35         virtual void getbbClicked();
36         virtual void sizeChanged();
37         virtual void templateChanged();
38         virtual void widthUnitChanged();
39
40 protected:
41         virtual void closeEvent(QCloseEvent * e);
42 private:
43         bool activateAspectratio() const;
44         QExternal * form_;
45 };
46
47 } // namespace frontend
48 } // namespace lyx
49
50 #endif // QEXTERNALDIALOG_H