Skip to content

Class QAccelPlot::Internal::OutlinedRectangle

ClassList > QAccelPlot > Internal > OutlinedRectangle

Item that fills its bounds and outlines them inside its edges.

  • #include <OutlinedRectangle.hpp>

Inherits the following classes: QQuickItem

Inherited by the following classes: QAccelPlot::Internal::RectangleZoomOverlay

Inheritance diagram

flowchart TB
  classQAccelPlot_1_1Internal_1_1OutlinedRectangle["QAccelPlot::Internal::OutlinedRectangle"]

  external_base_classQAccelPlot_1_1Internal_1_1OutlinedRectangle_1["QQuickItem"]
  external_base_classQAccelPlot_1_1Internal_1_1OutlinedRectangle_1 --> classQAccelPlot_1_1Internal_1_1OutlinedRectangle

  classQAccelPlot_1_1Internal_1_1RectangleZoomOverlay["Internal::RectangleZoomOverlay"]
  classQAccelPlot_1_1Internal_1_1OutlinedRectangle --> classQAccelPlot_1_1Internal_1_1RectangleZoomOverlay
  click classQAccelPlot_1_1Internal_1_1RectangleZoomOverlay "../classQAccelPlot_1_1Internal_1_1RectangleZoomOverlay/" "Open Internal::RectangleZoomOverlay"

Public Functions

Type Name
OutlinedRectangle (QQuickItem * parent=nullptr)
void setStyle (const QColor & fill, const QColor & borderColor, qreal borderWidth)
Sets the fill color and an outline of__borderColor _,_borderWidth logical pixels wide.

Protected Functions

Type Name
QSGNode * updatePaintNode (QSGNode * oldNode, UpdatePaintNodeData *) override

Public Functions Documentation

function OutlinedRectangle

explicit QAccelPlot::Internal::OutlinedRectangle::OutlinedRectangle (
    QQuickItem * parent=nullptr
) 

function setStyle

Sets the fill color and an outline of__borderColor _,_borderWidth logical pixels wide.

void QAccelPlot::Internal::OutlinedRectangle::setStyle (
    const QColor & fill,
    const QColor & borderColor,
    qreal borderWidth
) 


Protected Functions Documentation

function updatePaintNode

QSGNode * QAccelPlot::Internal::OutlinedRectangle::updatePaintNode (
    QSGNode * oldNode,
    UpdatePaintNodeData *
) override


The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/internal/OutlinedRectangle.hpp