1 #ifndef __PENTOOLBAR_H__
2 #define __PENTOOLBAR_H__
5 //#include "layerlistlistener.h"
14 * A toolbar that offers all widgets for choosing a pen.
16 class PenToolBar: public QToolBar//, public LayerListListener
21 PenToolBar(QMainWindow * parent = NULL, const char * name = NULL);
22 virtual ~PenToolBar();
26 // Methods from LayerListListener Interface:
27 virtual void layerActivated(Layer *);
28 virtual void layerEdited(Layer *);
31 void slotColorChanged(const Color & color);
32 void slotWidthChanged(RS2::LineWidth w);
33 void slotLineTypeChanged(RS2::LineType w);
42 LineTypeBox * lineTypeBox;
45 #endif // __PENTOOLBAR_H__