Qwt User's Guide  6.1.6
QwtColumnRect Class Reference

Directed rectangle representing bounding rectangle and orientation of a column. More...

#include <qwt_column_symbol.h>

Public Types

enum  Direction { LeftToRight, RightToLeft, BottomToTop, TopToBottom }
 Direction of the column. More...
 

Public Member Functions

 QwtColumnRect ()
 Build an rectangle with invalid intervals directed BottomToTop.
 
QRectF toRect () const
 
Qt::Orientation orientation () const
 

Public Attributes

QwtInterval hInterval
 Interval for the horizontal coordinates.
 
QwtInterval vInterval
 Interval for the vertical coordinates.
 
Direction direction
 Direction.
 

Detailed Description

Directed rectangle representing bounding rectangle and orientation of a column.

Member Enumeration Documentation

◆ Direction

Direction of the column.

Enumerator
LeftToRight 

From left to right.

RightToLeft 

From right to left.

BottomToTop 

From bottom to top.

TopToBottom 

From top to bottom.

Member Function Documentation

◆ orientation()

Qt::Orientation QwtColumnRect::orientation ( ) const
inline
Returns
Orientation

◆ toRect()

QRectF QwtColumnRect::toRect ( ) const
inline
Returns
A normalized QRect built from the intervals