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>
22 class BulletsModule : public QWidget, public Ui::BulletsUi {
26 BulletsModule(QWidget * parent = 0, const char * name = 0, Qt::WFlags fl = 0);
31 void setBullet(int level, Bullet const & bullet);
32 /// get bullet setting
33 Bullet const & getBullet(int level) const;
42 void on_bulletsizeCO_activated(int level);
43 void on_customCB_toggled(bool);
44 void on_customLE_textEdited(const QString &);
45 void bulletSelected(QListWidgetItem *, QListWidgetItem*);
49 void selectItem(int font, int character, bool select);
50 void setupPanel(QListWidget * lw, QString panelname, std::string fname);
53 boost::array<Bullet, 4> bullets_;
58 #endif // BULLETSMODULE_H