4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialog.h"
16 #include "ControlExternal.h"
17 #include "ui_ExternalUi.h"
24 class GuiExternalDialog : public GuiDialog, public Ui::ExternalUi
29 GuiExternalDialog(LyXView & lv);
34 void change_adaptor();
36 void extraChanged(const QString&);
37 void formatChanged(const QString&);
40 void templateChanged();
41 void widthUnitChanged();
46 void closeEvent(QCloseEvent * e);
48 bool activateAspectratio() const;
50 ControlExternal & controller() const;
54 void update_contents();
55 /// Helper function called when the template is changed.
56 void updateTemplate();
57 /// get bounding box from file
61 typedef std::map<std::string, QString> MapType;
66 } // namespace frontend
69 #endif // GUIEXTERNAL_H