30 lines
583 B
C++
Executable File
30 lines
583 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*
|
|
* Created by Christian Roeskens, SLSE, 2017-12-20
|
|
*/
|
|
|
|
|
|
#include "symbol_custom_graphics_item_group.h"
|
|
|
|
#include <QPainter>
|
|
|
|
namespace SymbologyXML {
|
|
|
|
CustomGraphicsItemGroup::CustomGraphicsItemGroup(QGraphicsItem *parent)
|
|
: QGraphicsItemGroup(parent)
|
|
{
|
|
|
|
}
|
|
|
|
void CustomGraphicsItemGroup::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
|
|
{
|
|
painter->setPen(QPen(QBrush(Qt::black), 0.01)); //TODO: change hardcoded penwidth
|
|
QGraphicsItemGroup::paint(painter, option, widget);
|
|
}
|
|
|
|
}
|