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 "GuiDialogView.h"
17 #include "ui_ExternalUi.h"
19 #include <QCloseEvent>
29 class GuiExternalDialog : public QDialog, public Ui::ExternalUi {
32 GuiExternalDialog(GuiExternal * form);
36 virtual void bbChanged();
37 virtual void browseClicked();
38 virtual void change_adaptor();
39 virtual void editClicked();
40 virtual void extraChanged(const QString&);
41 virtual void formatChanged(const QString&);
42 virtual void getbbClicked();
43 virtual void sizeChanged();
44 virtual void templateChanged();
45 virtual void widthUnitChanged();
48 virtual void closeEvent(QCloseEvent * e);
50 bool activateAspectratio() const;
55 class ControlExternal;
58 : public QController<ControlExternal, GuiView<GuiExternalDialog> >
61 friend class GuiExternalDialog;
63 GuiExternal(Dialog &);
65 typedef std::map<std::string, QString> MapType;
71 virtual void update_contents();
73 virtual void build_dialog();
75 /// Helper function called when the template is changed.
76 void updateTemplate();
77 /// get bounding box from file
83 } // namespace frontend