LibrePCB Developers Documentation
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

◆ EventType_t

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_SelectAll 

select all elements (ctrl+a)

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 librepcb::GraphicsView

See also
librepcb::project::editor::BEE_RedirectedQEvent
StartAddDevice 
See also
librepcb::project::editor::BEE_StartAddDevice

Constructor & Destructor Documentation

◆ BEE_Base()

BEE_Base ( EventType_t  type)

◆ ~BEE_Base()

~BEE_Base ( )
virtual

Member Function Documentation

◆ getType()

EventType_t getType ( ) const
inlinenoexcept

◆ isAccepted()

bool isAccepted ( ) const
inlinenoexcept

◆ setAccepted()

virtual void setAccepted ( bool  accepted)
inlinevirtualnoexcept

Reimplemented in BEE_RedirectedQEvent.

+ Here is the caller graph for this function:

Member Data Documentation

◆ mType

EventType_t mType
protected

◆ mAccepted

bool mAccepted
protected

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