Seamly2D
Code documentation
VAbstractSimple Class Reference

#include <vabstractsimple.h>

Inheritance diagram for VAbstractSimple:
Collaboration diagram for VAbstractSimple:

Signals

void showContextMenu (QGraphicsSceneContextMenuEvent *event, quint32 id=null_id)
 
void Delete ()
 

Public Member Functions

 VAbstractSimple (quint32 id, QObject *parent=nullptr)
 
virtual ~VAbstractSimple ()=default
 
virtual void ToolSelectionType (const SelectionType &type)
 
GOType GetType () const
 
void SetType (const GOType &value)
 

Protected Attributes

quint32 id
 id spline id. More...
 
SelectionType selectionType
 
GOType type
 

Detailed Description

Definition at line 69 of file vabstractsimple.h.

Constructor & Destructor Documentation

◆ VAbstractSimple()

VAbstractSimple::VAbstractSimple ( quint32  id,
QObject *  parent = nullptr 
)

Definition at line 55 of file vabstractsimple.cpp.

References ByMouseRelease, and Unknown.

◆ ~VAbstractSimple()

virtual VAbstractSimple::~VAbstractSimple ( )
virtualdefault

Member Function Documentation

◆ Delete

◆ GetType()

◆ SetType()

void VAbstractSimple::SetType ( const GOType value)

Definition at line 76 of file vabstractsimple.cpp.

References type.

Referenced by VAbstractOperation::InitOperatedObjects().

◆ showContextMenu

void VAbstractSimple::showContextMenu ( QGraphicsSceneContextMenuEvent *  event,
quint32  id = null_id 
)
signal

◆ ToolSelectionType()

void VAbstractSimple::ToolSelectionType ( const SelectionType type)
virtual

Reimplemented in VSimplePoint.

Definition at line 64 of file vabstractsimple.cpp.

References selectionType, and type.

Referenced by VSimplePoint::ToolSelectionType().

Member Data Documentation

◆ id

quint32 VAbstractSimple::id
protected

id spline id.

Definition at line 87 of file vabstractsimple.h.

◆ selectionType

◆ type

GOType VAbstractSimple::type
protected

Definition at line 91 of file vabstractsimple.h.

Referenced by GetType(), SetType(), and ToolSelectionType().


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