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.
12 #ifndef GUIDELIMITERDIALOG_H
13 #define GUIDELIMITERDIALOG_H
15 #include "GuiDialog.h"
17 #include "ui_DelimiterUi.h"
19 class QListWidgetItem;
24 class GuiDelimiter : public GuiDialog, public Ui::DelimiterUi
29 GuiDelimiter(GuiView & lv);
31 bool initialiseParams(std::string const &) { return true; }
33 void dispatchParams() {}
34 bool isBufferDependent() const { return true; }
37 void on_leftLW_itemActivated(QListWidgetItem *);
38 void on_rightLW_itemActivated(QListWidgetItem *);
39 void on_leftLW_currentRowChanged(int);
40 void on_rightLW_currentRowChanged(int);
41 void on_matchCB_stateChanged(int);
42 void on_insertPB_clicked();
43 void on_sizeCO_activated(int);
47 char_type doMatch(char_type const symbol);
49 void updateTeXCode(int size);
51 /// TeX code that will be inserted.
55 } // namespace frontend
58 #endif // GUIDELIMITERDIALOG_H