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

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

Public Attributes

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

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

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.

Constructor & Destructor Documentation

◆ QwtColumnRect()

QwtColumnRect::QwtColumnRect ( )
inline

Build an rectangle with invalid intervals directed BottomToTop.

Definition at line 46 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.

Member Data Documentation

◆ direction

Direction QwtColumnRect::direction

Direction.

Definition at line 70 of file qwt_column_symbol.h.

◆ hInterval

QwtInterval QwtColumnRect::hInterval

Interval for the horizontal coordinates.

Definition at line 64 of file qwt_column_symbol.h.

◆ vInterval

QwtInterval QwtColumnRect::vInterval

Interval for the vertical coordinates.

Definition at line 67 of file qwt_column_symbol.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50