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);
35 void change_adaptor();
37 void on_browsePB_clicked();
38 void on_getPB_clicked();
39 void on_editPB_clicked();
40 void on_filename_textChanged(const QString &);
41 void on_scaleCB_toggled(bool);
42 void on_WidthCB_toggled(bool);
43 void on_HeightCB_toggled(bool);
44 void on_angle_textChanged(const QString &);
46 void closeEvent(QCloseEvent * e);
48 ControlGraphics & controller() const;
53 void update_contents();
54 /// get bounding box from file
57 /// Store the LaTeX names for the rotation origins.
58 std::vector<std::string> origin_ltx;
61 } // namespace frontend
64 #endif // GUIGRAPHICS_H