3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
25 * For holding an arbitrary set of icons.
27 class IconPalette : public QWidget {
30 IconPalette(QWidget * parent, char const * name);
33 void add(QPixmap const & pixmap, string name, string tooltip);
36 void button_clicked(string);
39 virtual void clicked();
42 typedef std::map<QPushButton *, string> ButtonMap;
47 QGridLayout * layout_;
49 ButtonMap button_map_;
52 #endif // ICONPALETTE_H