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