LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BEE_Base Class Reference

The BEE_Base (Board Editor Event Base) class. More...

#include <boardeditorevent.h>

+ Inheritance diagram for BEE_Base:
+ Collaboration diagram for BEE_Base:

Public Types

enum  EventType_t
 FSM event types. More...
 

Public Member Functions

 BEE_Base (EventType_t type)
 
virtual ~BEE_Base ()
 
EventType_t getType () const noexcept
 
bool isAccepted () const noexcept
 
virtual void setAccepted (bool accepted) noexcept
 

Protected Attributes

EventType_t mType
 
bool mAccepted
 

Detailed Description

The BEE_Base (Board Editor Event Base) class.

Member Enumeration Documentation

FSM event types.

Enumerator
AbortCommand 

abort the currently active command (esc)

StartSelect 

start command: select elements

StartAddStrokeText 

start command: add stroke text

StartAddHole 

start command: add hole

StartDrawPolygon 

start command: draw polygon

StartDrawPlane 

start command: draw plane

StartDrawTrace 

start command: draw trace

StartAddVia 

start command: add via

Edit_Copy 

copy the selected elements to clipboard (ctrl+c)

Edit_Cut 

cut the selected elements (ctrl+x)

Edit_Paste 

paste the elements from the clipboard (ctrl+v)

Edit_RotateCCW 

rotate the selected elements 90° CCW (r)

Edit_RotateCW 

rotate the selected elements 90° CW (Shift+r)

Edit_FlipHorizontal 

flip the selected elements horizontal (f)

Edit_FlipVertical 

flip the selected elements vertical (Shift+f)

Edit_Remove 

remove the selected elements

GraphicsViewEvent 

event from #GraphicsView

See Also
#project#SEE_RedirectedQEvent
StartAddDevice 
See Also
#project#BEE_StartAddDevice

Constructor & Destructor Documentation

BEE_Base ( EventType_t  type)
~BEE_Base ( )
virtual

Member Function Documentation

EventType_t getType ( ) const
inlinenoexcept
bool isAccepted ( ) const
inlinenoexcept
virtual void setAccepted ( bool  accepted)
inlinevirtualnoexcept

Reimplemented in BEE_RedirectedQEvent.

+ Here is the caller graph for this function:

Member Data Documentation

EventType_t mType
protected
bool mAccepted
protected

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