Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user