]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QGraphicsDialog.h
This new citation dialog follows a new design similar to lyx-1.3:
[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
21 namespace lyx {
22 namespace frontend {
23
24 class QGraphics;
25
26 class QGraphicsDialog : public QDialog, public Ui::QGraphicsUi {
27         Q_OBJECT
28 public:
29         QGraphicsDialog(QGraphics * form);
30
31         virtual void show();
32 protected slots:
33         virtual void change_adaptor();
34         virtual void change_bb();
35         virtual void change_WUnit();
36         virtual void browse_clicked();
37         virtual void getBB_clicked();
38         virtual void edit_clicked();
39 protected:
40         virtual void closeEvent(QCloseEvent * e);
41 private:
42         QGraphics * form_;
43 };
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // QGRAPHICSDIALOG_H