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

The SES_AddNetLabel class. More...

#include <ses_addnetlabel.h>

+ Inheritance diagram for SES_AddNetLabel:
+ Collaboration diagram for SES_AddNetLabel:

Public Member Functions

 SES_AddNetLabel (SchematicEditor &editor, Ui::SchematicEditor &editorUi, GraphicsView &editorGraphicsView, UndoStack &undoStack)
 
 ~SES_AddNetLabel ()
 
ProcRetVal process (SEE_Base *event) noexceptoverride
 
bool entry (SEE_Base *event) noexceptoverride
 
bool exit (SEE_Base *event) noexceptoverride
 
- Public Member Functions inherited from SES_Base
 SES_Base (SchematicEditor &editor, Ui::SchematicEditor &editorUi, GraphicsView &editorGraphicsView, UndoStack &undoStack)
 
virtual ~SES_Base ()
 

Private Member Functions

ProcRetVal processSceneEvent (SEE_Base *event) noexcept
 
bool addLabel (Schematic &schematic, const Point &pos) noexcept
 
bool updateLabel (const Point &pos) noexcept
 
bool fixLabel (const Point &pos) noexcept
 

Private Attributes

bool mUndoCmdActive
 
SI_NetLabelmCurrentNetLabel
 
CmdSchematicNetLabelEditmEditCmd
 

Additional Inherited Members

- Public Types inherited from SES_Base
enum  ProcRetVal
 process() return values More...
 
- Protected Attributes inherited from SES_Base
workspace::WorkspacemWorkspace
 
ProjectmProject
 
CircuitmCircuit
 
SchematicEditormEditor
 
Ui::SchematicEditor & mEditorUi
 allows access to SchematicEditor UI More...
 
GraphicsViewmEditorGraphicsView
 
UndoStackmUndoStack
 

Detailed Description

The SES_AddNetLabel class.

Constructor & Destructor Documentation

SES_AddNetLabel ( SchematicEditor editor,
Ui::SchematicEditor &  editorUi,
GraphicsView editorGraphicsView,
UndoStack undoStack 
)
explicit

Member Function Documentation

SES_Base::ProcRetVal process ( SEE_Base event)
overridevirtualnoexcept

Implements SES_Base.

bool entry ( SEE_Base event)
overridevirtualnoexcept

Reimplemented from SES_Base.

bool exit ( SEE_Base event)
overridevirtualnoexcept

Reimplemented from SES_Base.

+ Here is the call graph for this function:

SES_Base::ProcRetVal processSceneEvent ( SEE_Base event)
privatenoexcept

+ Here is the call graph for this function:

bool addLabel ( Schematic schematic,
const Point pos 
)
privatenoexcept

+ Here is the call graph for this function:

bool updateLabel ( const Point pos)
privatenoexcept
bool fixLabel ( const Point pos)
privatenoexcept

+ Here is the call graph for this function:

Member Data Documentation

bool mUndoCmdActive
private
SI_NetLabel* mCurrentNetLabel
private
CmdSchematicNetLabelEdit* mEditCmd
private

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