KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
kdganttstyleoptionganttitem.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Chart library.
4**
5** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#ifndef KDGANTTSTYLEOPTIONGANTTITEM_H
12#define KDGANTTSTYLEOPTIONGANTTITEM_H
13
14#include "kdganttglobal.h"
15
16#include <QDebug>
17#include <QRectF>
18#include <QStyleOptionViewItem>
19
20namespace KDGantt {
21class AbstractGrid;
22class KDGANTT_EXPORT StyleOptionGanttItem : public QStyleOptionViewItem
23{
24public:
26 {
30 Hidden
31 };
32
35 StyleOptionGanttItem &operator=(const StyleOptionGanttItem &other);
36
39 Position displayPosition = Left;
40 AbstractGrid *grid = nullptr;
42};
43}
44
45#ifndef QT_NO_DEBUG_STREAM
46
48KDGANTT_EXPORT QDebug operator<<(QDebug dbg, const KDGantt::StyleOptionGanttItem &s);
49
50#endif /* QT_NO_DEBUG_STREAM */
51
52#endif /* KDGANTTSTYLEOPTIONGANTTITEM_H */
Abstract baseclass for grids.
QStyleOption subclass for gantt items.
Position
This enum is used to describe where the Qt::DisplayRole (the label) should be located relative to the...
QRectF boundingRect
Contains the bounding rectangle for the item.
QString text
Contains a string printed to the item.
QRectF itemRect
Contains the "active" item rectangle that corresponds to the values from the model.
Contains KDGantt macros.
KDGANTT_EXPORT QDebug operator<<(QDebug dbg, KDGantt::StyleOptionGanttItem::Position p)

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Fri Apr 26 2024 00:04:57 for KD Chart API Documentation by doxygen 1.9.8