3 * \file BulletsModule.h
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 QBULLETSMODULE_H
13 #define QBULLETSMODULE_H
16 #include "ui/BulletsUi.h"
18 #include <boost/array.hpp>
25 class BulletsModule : public QWidget, public Ui::BulletsUi {
29 BulletsModule(QWidget * parent = 0, const char * name = 0, Qt::WFlags fl = 0);
34 void setBullet(int level, Bullet const & bullet);
35 /// get bullet setting
36 Bullet const & getBullet(int level) const;
45 void on_bulletsizeCO_activated(int level);
46 void on_customCB_toggled(bool);
47 void on_customLE_textEdited(const QString &);
48 void bulletSelected(QListWidgetItem *, QListWidgetItem*);
52 void selectItem(int font, int character, bool select);
53 void setupPanel(QListWidget * lw, QString panelname, std::string fname);
56 boost::array<Bullet, 4> bullets_;
64 #endif // BULLETSMODULE_H