KGantt::StyleOptionGanttItem

Search for usage in LXR

KGantt::StyleOptionGanttItem Class Reference

#include <KGanttStyleOptionGanttItem>

Inheritance diagram for KGantt::StyleOptionGanttItem:

Public Types

enum  Position { Left , Right , Center , Hidden }
 
- Public Types inherited from QStyleOptionViewItem
enum  Position
 
enum  StyleOptionType
 
enum  StyleOptionVersion
 
enum  ViewItemFeature
 
typedef  ViewItemFeatures
 
enum  ViewItemPosition
 
- Public Types inherited from QStyleOption
enum  OptionType
 
enum  StyleOptionType
 
enum  StyleOptionVersion
 

Public Member Functions

 StyleOptionGanttItem ()
 
 StyleOptionGanttItem (const StyleOptionGanttItem &other)
 
StyleOptionGanttItemoperator= (const StyleOptionGanttItem &other)
 
- Public Member Functions inherited from QStyleOptionViewItem
 QStyleOptionViewItem (const QStyleOptionViewItem &other)
 
- Public Member Functions inherited from QStyleOption
 QStyleOption (const QStyleOption &other)
 
 QStyleOption (int version, int type)
 
void initFrom (const QWidget *widget)
 
QStyleOptionoperator= (const QStyleOption &other)
 
qstyleoption_cast (const QStyleOption *option)
 
qstyleoption_cast (QStyleOption *option)
 

Public Attributes

QRectF boundingRect
 
Position displayPosition
 
AbstractGridgrid
 
QRectF itemRect
 
QString text
 
- Public Attributes inherited from QStyleOptionViewItem
 Alternate
 
 Beginning
 
 Bottom
 
 End
 
 HasCheckIndicator
 
 HasDecoration
 
 HasDisplay
 
 Invalid
 
 Left
 
 Middle
 
 None
 
 OnlyOne
 
 Right
 
 Top
 
 Type
 
 Version
 
 WrapText
 
- Public Attributes inherited from QStyleOption
 SO_Button
 
 SO_ComboBox
 
 SO_Complex
 
 SO_ComplexCustomBase
 
 SO_CustomBase
 
 SO_Default
 
 SO_DockWidget
 
 SO_FocusRect
 
 SO_Frame
 
 SO_GraphicsItem
 
 SO_GroupBox
 
 SO_Header
 
 SO_MenuItem
 
 SO_ProgressBar
 
 SO_RubberBand
 
 SO_SizeGrip
 
 SO_Slider
 
 SO_SpinBox
 
 SO_Tab
 
 SO_TabBarBase
 
 SO_TabWidgetFrame
 
 SO_TitleBar
 
 SO_ToolBar
 
 SO_ToolBox
 
 SO_ToolButton
 
 SO_ViewItem
 
 Type
 
 Version
 

Detailed Description

QStyleOption subclass for gantt items.

Definition at line 20 of file kganttstyleoptionganttitem.h.

Member Enumeration Documentation

◆ Position

This enum is used to describe where the Qt::DisplayRole (the label) should be located relative to the item itself.

Definition at line 22 of file kganttstyleoptionganttitem.h.

Constructor & Destructor Documentation

◆ StyleOptionGanttItem() [1/2]

StyleOptionGanttItem::StyleOptionGanttItem ( )

Constructor. Sets grid to 0.

Definition at line 21 of file kganttstyleoptionganttitem.cpp.

◆ StyleOptionGanttItem() [2/2]

StyleOptionGanttItem::StyleOptionGanttItem ( const StyleOptionGanttItem & other)

Copy constructor. Creates a copy of other

Definition at line 31 of file kganttstyleoptionganttitem.cpp.

Member Function Documentation

◆ operator=()

StyleOptionGanttItem & StyleOptionGanttItem::operator= ( const StyleOptionGanttItem & other)

Assignment operator

Definition at line 38 of file kganttstyleoptionganttitem.cpp.

Member Data Documentation

◆ boundingRect

QRectF KGantt::StyleOptionGanttItem::boundingRect

Contains the bounding rectangle for the item

Definition at line 28 of file kganttstyleoptionganttitem.h.

◆ displayPosition

Position KGantt::StyleOptionGanttItem::displayPosition
See also
StyleOptionGanttItem::Position.

Definition at line 30 of file kganttstyleoptionganttitem.h.

◆ grid

AbstractGrid* KGantt::StyleOptionGanttItem::grid

Contains a pointer to the AbstractGrid used by the view

Definition at line 31 of file kganttstyleoptionganttitem.h.

◆ itemRect

QRectF KGantt::StyleOptionGanttItem::itemRect

Contains the "active" item rectangle that corresponds to the values from the model.

Definition at line 29 of file kganttstyleoptionganttitem.h.

◆ text

QString KGantt::StyleOptionGanttItem::text

Contains a string printed to the item

Definition at line 32 of file kganttstyleoptionganttitem.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.