KD Chart API Documentation  3.1
Public Member Functions | List of all members
KDChart::HorizontalLineLayoutItem Class Reference

#include <KDChartLayoutItems.h>

Inheritance diagram for KDChart::HorizontalLineLayoutItem:
KDChart::AbstractLayoutItem

Public Member Functions

 HorizontalLineLayoutItem ()
 
Qt::Orientations expandingDirections () const override
 
QRect geometry () const override
 
bool isEmpty () const override
 
QSize maximumSize () const override
 
QSize minimumSize () const override
 
void paint (QPainter *) override
 
void setGeometry (const QRect &r) override
 
QSize sizeHint () const override
 
- Public Member Functions inherited from KDChart::AbstractLayoutItem
 AbstractLayoutItem (Qt::Alignment itemAlignment={})
 
virtual void paintAll (QPainter &painter)
 
virtual void paintCtx (PaintContext *context)
 
QLayout * parentLayout ()
 
void removeFromParentLayout ()
 
void setParentLayout (QLayout *lay)
 
virtual void setParentWidget (QWidget *widget)
 
virtual void sizeHintChanged () const
 

Additional Inherited Members

- Protected Attributes inherited from KDChart::AbstractLayoutItem
QWidget * mParent = nullptr
 
QLayout * mParentLayout = nullptr
 

Detailed Description

Layout item showing a horizontal line

Definition at line 325 of file KDChartLayoutItems.h.

Constructor & Destructor Documentation

◆ HorizontalLineLayoutItem()

KDChart::HorizontalLineLayoutItem::HorizontalLineLayoutItem ( )

Definition at line 506 of file KDChartLayoutItems.cpp.

Member Function Documentation

◆ expandingDirections()

Qt::Orientations KDChart::HorizontalLineLayoutItem::expandingDirections ( ) const
override

Definition at line 511 of file KDChartLayoutItems.cpp.

◆ geometry()

QRect KDChart::HorizontalLineLayoutItem::geometry ( ) const
override

Definition at line 516 of file KDChartLayoutItems.cpp.

◆ isEmpty()

bool KDChart::HorizontalLineLayoutItem::isEmpty ( ) const
override

Definition at line 521 of file KDChartLayoutItems.cpp.

◆ maximumSize()

QSize KDChart::HorizontalLineLayoutItem::maximumSize ( ) const
override

Definition at line 526 of file KDChartLayoutItems.cpp.

◆ minimumSize()

QSize KDChart::HorizontalLineLayoutItem::minimumSize ( ) const
override

Definition at line 531 of file KDChartLayoutItems.cpp.

◆ paint()

void KDChart::HorizontalLineLayoutItem::paint ( QPainter *  painter)
overridevirtual

Implements KDChart::AbstractLayoutItem.

Definition at line 546 of file KDChartLayoutItems.cpp.

◆ setGeometry()

void KDChart::HorizontalLineLayoutItem::setGeometry ( const QRect &  r)
override

Definition at line 536 of file KDChartLayoutItems.cpp.

◆ sizeHint()

QSize KDChart::HorizontalLineLayoutItem::sizeHint ( ) const
override

Definition at line 541 of file KDChartLayoutItems.cpp.


The documentation for this class was generated from the following files:

© 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 by doxygen 1.9.1