]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QGraphicsDialog.h
Remove quite a few compiler warnings:
[lyx.git] / src / frontends / qt4 / QGraphicsDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QGraphicsDialog.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 Herbert Voß
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef QGRAPHICSDIALOG_H
14 #define QGRAPHICSDIALOG_H
15
16 #include "ui/QGraphicsUi.h"
17
18 #include <QCloseEvent>
19 #include <QDialog>
20 #include <QString>
21
22 namespace lyx {
23 namespace frontend {
24
25 class QGraphics;
26
27 class QGraphicsDialog : public QDialog, public Ui::QGraphicsUi {
28         Q_OBJECT
29 public:
30         QGraphicsDialog(QGraphics * form);
31
32         virtual void show();
33 protected Q_SLOTS:
34         virtual void change_adaptor();
35         virtual void change_bb();
36         virtual void change_WUnit();
37         virtual void browse_clicked();
38         virtual void getBB_clicked();
39         virtual void edit_clicked();
40         virtual void filenameChanged(const QString &);
41 protected:
42         virtual void closeEvent(QCloseEvent * e);
43 private:
44         QGraphics * form_;
45 };
46
47 } // namespace frontend
48 } // namespace lyx
49
50 #endif // QGRAPHICSDIALOG_H