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

The SEE_Base (Schematic Editor Event Base) class. More...

#include <schematiceditorevent.h>

+ Inheritance diagram for SEE_Base:
+ Collaboration diagram for SEE_Base:

Public Types

enum  EventType_t
 FSM event types. More...
 

Public Member Functions

 SEE_Base (EventType_t type)
 
virtual ~SEE_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 SEE_Base (Schematic Editor Event Base) class.

Member Enumeration Documentation

FSM event types.

Enumerator
AbortCommand 

abort the currently active command (esc)

StartSelect 

start command: select elements

StartDrawWire 

start command: draw wire

StartAddNetLabel 

start command: add netlabel

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_Mirror 

mirror selected items (horizontally)

Edit_Remove 

remove the selected elements

GraphicsViewEvent 

event from #GraphicsView

See Also
#project#SEE_RedirectedQEvent
StartAddComponent 
See Also
#project#SEE_StartAddComponent
SwitchToSchematicPage 
See Also
#project#SEE_SwitchToSchematicPage

Constructor & Destructor Documentation

SEE_Base ( EventType_t  type)
~SEE_Base ( )
virtual

Member Function Documentation

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

Reimplemented in SEE_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: