4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
16 #include "GuiDialog.h"
17 #include "ControlGraphics.h"
18 #include "ui_GraphicsUi.h"
27 class GuiGraphicsDialog : public GuiDialog, public Ui::GraphicsUi
31 GuiGraphicsDialog(LyXView & lv);
34 void change_adaptor();
36 void on_browsePB_clicked();
37 void on_getPB_clicked();
38 void on_editPB_clicked();
39 void on_filename_textChanged(const QString &);
40 void on_scaleCB_toggled(bool);
41 void on_WidthCB_toggled(bool);
42 void on_HeightCB_toggled(bool);
43 void on_angle_textChanged(const QString &);
45 void closeEvent(QCloseEvent * e);
47 ControlGraphics & controller();
52 void updateContents();
53 /// get bounding box from file
56 /// Store the LaTeX names for the rotation origins.
57 std::vector<std::string> origin_ltx;
60 } // namespace frontend
63 #endif // GUIGRAPHICS_H