4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Jürgen Spitzmüller
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialogView.h"
16 #include "ControlSendto.h"
17 #include "ui_SendtoUi.h"
23 class QListWidgetItem;
33 class GuiSendtoDialog : public QDialog, public Ui::SendtoUi {
36 GuiSendtoDialog(GuiSendto * form);
38 virtual void changed_adaptor();
39 virtual void slotFormatHighlighted(QListWidgetItem *) {}
40 virtual void slotFormatSelected(QListWidgetItem *) {}
42 virtual void closeEvent(QCloseEvent * e);
48 /** This class provides a Qt implementation of the Custom Export Dialog.
50 class GuiSendto : public GuiView<GuiSendtoDialog>
54 friend class GuiSendtoDialog;
56 GuiSendto(GuiDialog &);
58 ControlSendto & controller()
59 { return static_cast<ControlSendto &>(this->getController()); }
61 ControlSendto const & controller() const
62 { return static_cast<ControlSendto const &>(this->getController()); }
64 virtual bool isValid();
69 virtual void update_contents();
71 virtual void build_dialog();
73 std::vector<Format const *> all_formats_;
76 } // namespace frontend