|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
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 a rectangle with invalid intervals directed BottomToTop. | |
| QRectF | toRect () const |
| Return a normalized QRect built from the intervals. | |
| Qt::Orientation | orientation () const |
| Return Orientation. | |
Public Attributes | |
| QwtInterval | hInterval |
| Interval for the horizontal coordinates. | |
| QwtInterval | vInterval |
| Interval for the vertical coordinates. | |
| Direction | direction |
| Direction. | |
Directed rectangle representing bounding rectangle and orientation of a column.
QwtColumnRect is a data structure that stores the horizontal and vertical intervals defining a column's extent, along with a direction that indicates how the column should be drawn. It is used by QwtColumnSymbol to determine the column's orientation and boundaries.
| QRectF QwtColumnRect::toRect | ( | ) | const |
Return a normalized QRect built from the intervals.
Converts the horizontal and vertical intervals into a QRectF, handling exclude minimum/maximum flags appropriately.