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 "ControlInclude.h"
17 #include "ui_IncludeUi.h"
22 class GuiIncludeDialog : public GuiDialog, public Ui::IncludeUi
27 GuiIncludeDialog(LyXView & lv);
30 void change_adaptor();
33 void typeChanged(int v);
34 /// AFAIK, QValidator only works for QLineEdit so
35 /// I have to validate listingsED (QTextEdit) manually.
36 /// This function displays a hint or error message returned by
37 /// validate_listings_params
38 void set_listings_msg();
41 void closeEvent(QCloseEvent * e);
43 ControlInclude & controller();
46 /// validate listings parameters and return an error message, if any
47 docstring validate_listings_params();
54 void updateContents();
55 /// edit the child document, .lyx file will be opened in lyx
56 /// other formats will be edited by external applications.
62 } // namespace frontend
65 #endif // GUIINCLUDE_H