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 "QDialogView.h"
16 #include "ui/ListingsUi.h"
19 #include <QCloseEvent>
26 class QListingsDialog : public QDialog, public Ui::QListingsUi {
29 QListingsDialog(QListings * form);
31 virtual void change_adaptor();
32 /// AFAIK, QValidator only works for QLineEdit so
33 /// I have to validate listingsED (QTextEdit) manually.
34 void validate_listings_params();
36 virtual void closeEvent(QCloseEvent * e);
42 class ControlListings;
44 class QListings : public QController<ControlListings, QView<QListingsDialog> > {
46 friend class QListingsDialog;
53 virtual void update_contents();
55 virtual void build_dialog();
58 } // namespace frontend