Qwt User's Guide 6.2.0

Public Types | Public Member Functions | Public Attributes | List of all members
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.

Definition at line 26 of file qwt_column_symbol.h.

## Member Enumeration Documentation

## ◆ Direction

enum QwtColumnRect::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.

Definition at line 30 of file qwt_column_symbol.h.

## Member Function Documentation

## ◆ orientation()

Qt::Orientation QwtColumnRect::orientation | ( |  | ) | const

inline

Returns
  Orientation

Definition at line 55 of file qwt_column_symbol.h.

## ◆ toRect()

QRectF QwtColumnRect::toRect | ( |  | ) | const

Returns
  A normalized QRect built from the intervals

Definition at line 296 of file qwt_column_symbol.cpp.