]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QGraphicsDialog.h
delete unneeded Menubar virtual interface.
[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  * \author Richard Heck
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef QGRAPHICSDIALOG_H
15 #define QGRAPHICSDIALOG_H
16
17 #include "ui_GraphicsUi.h"
18
19 #include <QCloseEvent>
20 #include <QDialog>
21 #include <QString>
22
23 namespace lyx {
24 namespace frontend {
25
26 class QGraphics;
27
28 class QGraphicsDialog : public QDialog, public Ui::QGraphicsUi {
29         Q_OBJECT
30 public:
31         QGraphicsDialog(QGraphics * form);
32         virtual void setAutoText();
33         virtual void show();
34 protected Q_SLOTS:
35         virtual void change_adaptor();
36         virtual void change_bb();
37         virtual void on_browsePB_clicked();
38         virtual void on_getPB_clicked();
39         virtual void on_editPB_clicked();
40         virtual void on_filename_textChanged(const QString &);
41         virtual void on_scaleCB_toggled(bool);
42         virtual void on_WidthCB_toggled(bool);
43         virtual void on_HeightCB_toggled(bool);
44         virtual void on_angle_textChanged(const QString &);
45 protected:
46         virtual void closeEvent(QCloseEvent * e);
47 private:
48         QGraphics * form_;
49 };
50
51 } // namespace frontend
52 } // namespace lyx
53
54 #endif // QGRAPHICSDIALOG_H