Skip to content

File MarkerShape.hpp

File List > QAccelPlot > src > QAccelPlot > series > MarkerShape.hpp

Go to the documentation of this file

//
// SPDX-FileCopyrightText: 2026 Michal Grabarczyk
// SPDX-License-Identifier: GPL-3.0-only WITH Universal-FOSS-exception-1.0
//
// This file is also available under a separate commercial license.
// See COMMERCIAL-LICENSING.md for contact information.
//
#pragma once

#include <QObject>
#include <QtQml/qqmlregistration.h>

namespace QAccelPlot {

namespace MarkerShapeNS {
Q_NAMESPACE
QML_NAMED_ELEMENT(MarkerShape)


enum class Shape {
    None,          
    Circle,        
    Square,        
    Diamond,       
    TriangleUp,    
    TriangleDown,  
    TriangleLeft,  
    TriangleRight, 
    Cross,         
    XCross,        
    HLine,         
    VLine,         
    Star,          
    Asterisk,      
    Pixel,         
    Hexagon,       
    Pentagon       
};
Q_ENUM_NS(Shape)
} // namespace MarkerShapeNS

using MarkerShape = MarkerShapeNS::Shape;

} // namespace QAccelPlot