LibrePCB Developers Documentation
|
The SchematicEditor class. More...
#include <schematiceditor.h>
Signals | |
void | activeSchematicChanged (int index) |
Public Member Functions | |
SchematicEditor ()=delete | |
SchematicEditor (const SchematicEditor &other)=delete | |
SchematicEditor (ProjectEditor &projectEditor, Project &project) | |
~SchematicEditor () | |
ProjectEditor & | getProjectEditor () const noexcept |
Project & | getProject () const noexcept |
int | getActiveSchematicIndex () const noexcept |
Schematic * | getActiveSchematic () const noexcept |
SchematicGraphicsScene * | getActiveSchematicScene () noexcept |
virtual std::shared_ptr< GraphicsLayer > | getLayer (const QString &name) const noexcept override |
virtual QList< std::shared_ptr< GraphicsLayer > > | getAllLayers () const noexcept override |
bool | setActiveSchematicIndex (int index) noexcept |
void | abortAllCommands () noexcept |
void | abortBlockingToolsInOtherEditors () noexcept |
SchematicEditor & | operator= (const SchematicEditor &rhs)=delete |
Public Member Functions inherited from IF_GraphicsLayerProvider | |
virtual | ~IF_GraphicsLayerProvider () noexcept |
std::shared_ptr< GraphicsLayer > | getLayer (const Layer &layer) const noexcept |
std::shared_ptr< GraphicsLayer > | getGrabAreaLayer (const Layer &outlineLayer) const noexcept |
Public Member Functions inherited from IF_GraphicsViewEventHandler | |
IF_GraphicsViewEventHandler () noexcept | |
virtual | ~IF_GraphicsViewEventHandler () noexcept |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *event) noexcept override |
Private Member Functions | |
void | addLayers (const Theme &theme) noexcept |
void | createActions () noexcept |
void | createToolBars () noexcept |
void | createDockWidgets () noexcept |
void | createMenus () noexcept |
virtual bool | graphicsViewEventHandler (QEvent *event) override |
The event handler method. | |
void | toolRequested (const QVariant &newTool) noexcept |
void | addSchematic () noexcept |
void | removeSchematic (int index) noexcept |
void | renameSchematic (int index) noexcept |
QList< SI_Symbol * > | getSearchCandidates () noexcept |
QStringList | getSearchToolBarCompleterList () noexcept |
void | goToSymbol (const QString &name, int index) noexcept |
void | updateEmptySchematicMessage () noexcept |
void | updateComponentToolbarIcons () noexcept |
void | setGridProperties (const PositiveLength &interval, const LengthUnit &unit, Theme::GridStyle style, bool applyToSchematics) noexcept |
void | execGridPropertiesDialog () noexcept |
void | execGraphicsExportDialog (GraphicsExportDialog::Output output, const QString &settingsKey) noexcept |
bool | useIeee315Symbols () const noexcept |
Private Attributes | |
ProjectEditor & | mProjectEditor |
Project & | mProject |
QScopedPointer< Ui::SchematicEditor > | mUi |
QScopedPointer< ToolBarProxy > | mCommandToolBarProxy |
QScopedPointer< StandardEditorCommandHandler > | mStandardCommandHandler |
int | mActiveSchematicIndex |
QList< std::shared_ptr< GraphicsLayer > > | mLayers |
QScopedPointer< SchematicGraphicsScene > | mGraphicsScene |
QHash< Uuid, QRectF > | mVisibleSceneRect |
QScopedPointer< SchematicEditorFsm > | mFsm |
QScopedPointer< QAction > | mActionAboutLibrePcb |
QScopedPointer< QAction > | mActionAboutQt |
QScopedPointer< QAction > | mActionOnlineDocumentation |
QScopedPointer< QAction > | mActionKeyboardShortcutsReference |
QScopedPointer< QAction > | mActionWebsite |
QScopedPointer< QAction > | mActionSaveProject |
QScopedPointer< QAction > | mActionCloseProject |
QScopedPointer< QAction > | mActionCloseWindow |
QScopedPointer< QAction > | mActionQuit |
QScopedPointer< QAction > | mActionFileManager |
QScopedPointer< QAction > | mActionBoardEditor |
QScopedPointer< QAction > | mActionControlPanel |
QScopedPointer< QAction > | mActionProjectSetup |
QScopedPointer< QAction > | mActionUpdateLibrary |
QScopedPointer< QAction > | mActionExportLppz |
QScopedPointer< QAction > | mActionExportImage |
QScopedPointer< QAction > | mActionExportPdf |
QScopedPointer< QAction > | mActionPrint |
QScopedPointer< QAction > | mActionGenerateBom |
QScopedPointer< QAction > | mActionOutputJobs |
QScopedPointer< QAction > | mActionOrderPcb |
QScopedPointer< QAction > | mActionNewSheet |
QScopedPointer< QAction > | mActionRenameSheet |
QScopedPointer< QAction > | mActionRemoveSheet |
QScopedPointer< QAction > | mActionNextPage |
QScopedPointer< QAction > | mActionPreviousPage |
QScopedPointer< QAction > | mActionFind |
QScopedPointer< QAction > | mActionFindNext |
QScopedPointer< QAction > | mActionFindPrevious |
QScopedPointer< QAction > | mActionSelectAll |
QScopedPointer< QAction > | mActionGridProperties |
QScopedPointer< QAction > | mActionGridIncrease |
QScopedPointer< QAction > | mActionGridDecrease |
QScopedPointer< QAction > | mActionShowPinNumbers |
QScopedPointer< QAction > | mActionZoomFit |
QScopedPointer< QAction > | mActionZoomIn |
QScopedPointer< QAction > | mActionZoomOut |
QScopedPointer< QAction > | mActionUndo |
QScopedPointer< QAction > | mActionRedo |
QScopedPointer< QAction > | mActionCut |
QScopedPointer< QAction > | mActionCopy |
QScopedPointer< QAction > | mActionPaste |
QScopedPointer< QAction > | mActionMoveLeft |
QScopedPointer< QAction > | mActionMoveRight |
QScopedPointer< QAction > | mActionMoveUp |
QScopedPointer< QAction > | mActionMoveDown |
QScopedPointer< QAction > | mActionRotateCcw |
QScopedPointer< QAction > | mActionRotateCw |
QScopedPointer< QAction > | mActionMirrorHorizontal |
QScopedPointer< QAction > | mActionMirrorVertical |
QScopedPointer< QAction > | mActionResetAllTexts |
QScopedPointer< QAction > | mActionProperties |
QScopedPointer< QAction > | mActionRemove |
QScopedPointer< QAction > | mActionAbort |
QScopedPointer< QAction > | mActionToolSelect |
QScopedPointer< QAction > | mActionToolWire |
QScopedPointer< QAction > | mActionToolNetLabel |
QScopedPointer< QAction > | mActionToolPolygon |
QScopedPointer< QAction > | mActionToolText |
QScopedPointer< QAction > | mActionToolComponent |
QScopedPointer< QAction > | mActionToolMeasure |
QScopedPointer< QAction > | mActionComponentResistor |
QScopedPointer< QAction > | mActionComponentInductor |
QScopedPointer< QAction > | mActionComponentCapacitorBipolar |
QScopedPointer< QAction > | mActionComponentCapacitorUnipolar |
QScopedPointer< QAction > | mActionComponentGnd |
QScopedPointer< QAction > | mActionComponentVcc |
QScopedPointer< QAction > | mActionDockPages |
QScopedPointer< QAction > | mActionDockErc |
QScopedPointer< UndoStackActionGroup > | mUndoStackActionGroup |
QScopedPointer< ExclusiveActionGroup > | mToolsActionGroup |
QScopedPointer< QToolBar > | mToolBarFile |
QScopedPointer< QToolBar > | mToolBarEdit |
QScopedPointer< QToolBar > | mToolBarView |
QScopedPointer< SearchToolBar > | mToolBarSearch |
QScopedPointer< QToolBar > | mToolBarCommand |
QScopedPointer< QToolBar > | mToolBarTools |
QScopedPointer< QToolBar > | mToolBarComponents |
QScopedPointer< SchematicPagesDock > | mDockPages |
QScopedPointer< RuleCheckDock > | mDockErc |
QVector< QMetaObject::Connection > | mSchematicConnections |
The SchematicEditor class.
|
delete |
|
delete |
|
explicit |
~SchematicEditor | ( | ) |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlineoverridevirtualnoexcept |
Implements IF_GraphicsLayerProvider.
|
inlineoverridevirtualnoexcept |
Implements IF_GraphicsLayerProvider.
|
noexcept |
|
noexcept |
|
noexcept |
|
delete |
|
overrideprotectedvirtualnoexcept |
|
signal |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
overrideprivatevirtual |
The event handler method.
Implements IF_GraphicsViewEventHandler.
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |