]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QLPrintDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QLPrintDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QLPrintDialog.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  * \author Edwin Leuven
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef QLPRINTDIALOG_H
14 #define QLPRINTDIALOG_H
15
16 #include "ui/QPrintUi.h"
17
18 #include <QDialog>
19
20 namespace lyx {
21 namespace frontend {
22
23 class QPrint;
24
25 class QLPrintDialog : public QDialog, public Ui::QPrintUi {
26         Q_OBJECT
27 public:
28         QLPrintDialog(QPrint * f);
29 protected Q_SLOTS:
30         virtual void change_adaptor();
31         virtual void browseClicked();
32         virtual void fileChanged();
33         virtual void copiesChanged(int);
34         virtual void printerChanged();
35         virtual void pagerangeChanged();
36 private:
37         QPrint * form_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QLPRINTDIALOG_H