File indexing completed on 2024-12-15 04:02:49
0001 /* 0002 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved. 0003 * 0004 * This file is part of the KGantt library. 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef KGANTTITEMDELEGATE_P_H 0010 #define KGANTTITEMDELEGATE_P_H 0011 0012 #include "kganttitemdelegate.h" 0013 0014 #include <QHash> 0015 0016 namespace KGantt { 0017 class Q_DECL_HIDDEN ItemDelegate::Private { 0018 public: 0019 Private(); 0020 0021 QPen constraintPen( const QPointF& start, const QPointF& end, const Constraint& constraint, const QStyleOptionGraphicsItem& opt ); 0022 0023 QHash<ItemType, QBrush> defaultbrush; 0024 QHash<ItemType, QPen> defaultpen; 0025 }; 0026 } 0027 0028 #endif /* KGANTTITEMDELEGATE_P_H */ 0029