LibrePCB Developers Documentation
|
The BoardEditor class. More...
#include <boardeditor.h>
Public Slots | |
void | boardAdded (int newIndex) |
void | boardRemoved (int oldIndex) |
Public Member Functions | |
BoardEditor ()=delete | |
BoardEditor (const BoardEditor &other)=delete | |
BoardEditor (ProjectEditor &projectEditor, Project &project) | |
~BoardEditor () | |
ProjectEditor & | getProjectEditor () const noexcept |
Project & | getProject () const noexcept |
Board * | getActiveBoard () const noexcept |
BoardGraphicsScene * | getActiveBoardScene () noexcept |
bool | getIgnoreLocks () const noexcept |
virtual std::shared_ptr< GraphicsLayer > | getLayer (const QString &name) const noexcept override |
QList< std::shared_ptr< GraphicsLayer > > | getAllLayers () const noexcept override |
bool | setActiveBoardIndex (int index) noexcept |
void | abortAllCommands () noexcept |
void | abortBlockingToolsInOtherEditors () noexcept |
BoardEditor & | operator= (const BoardEditor &rhs)=delete |
Public Member Functions inherited from IF_GraphicsLayerProvider | |
virtual | ~IF_GraphicsLayerProvider () noexcept |
virtual QList< std::shared_ptr< GraphicsLayer > > | getAllLayers () const noexcept=0 |
virtual std::shared_ptr< GraphicsLayer > | getLayer (const QString &name) const noexcept=0 |
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 |
virtual bool | graphicsViewEventHandler (QEvent *event)=0 |
The event handler method. More... | |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *event) noexcept override |
Private Slots | |
void | on_tabBar_currentChanged (int index) |
void | on_lblUnplacedComponentsNote_linkActivated () |
Private Member Functions | |
void | addLayers (const Theme &theme) noexcept |
void | updateEnabledCopperLayers () noexcept |
void | loadLayersVisibility () noexcept |
void | storeLayersVisibility () noexcept |
void | createActions () noexcept |
void | createToolBars () noexcept |
void | createDockWidgets () noexcept |
void | createMenus () noexcept |
void | updateBoardActionGroup () noexcept |
virtual bool | graphicsViewEventHandler (QEvent *event) override |
The event handler method. More... | |
void | toolRequested (const QVariant &newTool) noexcept |
void | unplacedComponentsCountChanged (int count) noexcept |
void | runDrc (bool quick) noexcept |
void | highlightDrcMessage (const RuleCheckMessage &msg, bool zoomTo) noexcept |
void | setDrcMessageApproved (const RuleCheckMessage &msg, bool approved) noexcept |
void | clearDrcMarker () noexcept |
QList< BI_Device * > | getSearchCandidates () noexcept |
QStringList | getSearchToolBarCompleterList () noexcept |
void | goToDevice (const QString &name, int index) noexcept |
void | scheduleOpenGlSceneUpdate () noexcept |
void | performScheduledTasks () noexcept |
void | startPlaneRebuild (bool full=false) noexcept |
bool | isActiveTopLevelWindow () const noexcept |
void | newBoard () noexcept |
void | copyBoard () noexcept |
void | removeBoard () noexcept |
void | setGridProperties (const PositiveLength &interval, const LengthUnit &unit, Theme::GridStyle style, bool applyToBoard) noexcept |
void | execGridPropertiesDialog () noexcept |
void | execBoardSetupDialog (bool switchToDrcSettings=false) noexcept |
void | execGraphicsExportDialog (GraphicsExportDialog::Output output, const QString &settingsKey) noexcept |
void | execStepExportDialog () noexcept |
void | execD356NetlistExportDialog () noexcept |
void | execSpecctraExportDialog () noexcept |
void | execSpecctraImportDialog () noexcept |
bool | show3DView () noexcept |
void | hide3DView () noexcept |
Private Attributes | |
ProjectEditor & | mProjectEditor |
Project & | mProject |
QScopedPointer< Ui::BoardEditor > | mUi |
QScopedPointer< OpenGlView > | mOpenGlView |
QScopedPointer< ToolBarProxy > | mCommandToolBarProxy |
QScopedPointer< StandardEditorCommandHandler > | mStandardCommandHandler |
QPointer< Board > | mActiveBoard |
QList< std::shared_ptr< GraphicsLayer > > | mLayers |
QScopedPointer< BoardGraphicsScene > | mGraphicsScene |
QScopedPointer< OpenGlSceneBuilder > | mOpenGlSceneBuilder |
bool | mOpenGlSceneBuildScheduled |
qint64 | mTimestampOfLastOpenGlSceneRebuild |
QHash< Uuid, QRectF > | mVisibleSceneRect |
QScopedPointer< BoardEditorFsm > | mFsm |
QScopedPointer< BoardPlaneFragmentsBuilder > | mPlaneFragmentsBuilder |
qint64 | mTimestampOfLastPlaneRebuild |
QHash< Uuid, tl::optional< RuleCheckMessageList > > | mDrcMessages |
UUID=Board. More... | |
QScopedPointer< QGraphicsPathItem > | mDrcLocationGraphicsItem |
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 > | mActionSchematicEditor |
QScopedPointer< QAction > | mActionControlPanel |
QScopedPointer< QAction > | mActionProjectSetup |
QScopedPointer< QAction > | mActionUpdateLibrary |
QScopedPointer< QAction > | mActionBoardSetup |
QScopedPointer< QAction > | mActionRunQuickCheck |
QScopedPointer< QAction > | mActionRunDesignRuleCheck |
QScopedPointer< QAction > | mActionImportDxf |
QScopedPointer< QAction > | mActionImportSpecctra |
QScopedPointer< QAction > | mActionExportLppz |
QScopedPointer< QAction > | mActionExportImage |
QScopedPointer< QAction > | mActionExportPdf |
QScopedPointer< QAction > | mActionExportStep |
QScopedPointer< QAction > | mActionExportSpecctra |
QScopedPointer< QAction > | mActionPrint |
QScopedPointer< QAction > | mActionGenerateBom |
QScopedPointer< QAction > | mActionGenerateFabricationData |
QScopedPointer< QAction > | mActionGeneratePickPlace |
QScopedPointer< QAction > | mActionGenerateD356Netlist |
QScopedPointer< QAction > | mActionOutputJobs |
QScopedPointer< QAction > | mActionOrderPcb |
QScopedPointer< QAction > | mActionNewBoard |
QScopedPointer< QAction > | mActionCopyBoard |
QScopedPointer< QAction > | mActionRemoveBoard |
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 > | mActionIgnoreLocks |
QScopedPointer< QAction > | mActionZoomFit |
QScopedPointer< QAction > | mActionZoomIn |
QScopedPointer< QAction > | mActionZoomOut |
QScopedPointer< QAction > | mActionToggle3D |
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 > | mActionFlipHorizontal |
QScopedPointer< QAction > | mActionFlipVertical |
QScopedPointer< QAction > | mActionSnapToGrid |
QScopedPointer< QAction > | mActionLock |
QScopedPointer< QAction > | mActionUnlock |
QScopedPointer< QAction > | mActionResetAllTexts |
QScopedPointer< QAction > | mActionIncreaseLineWidth |
QScopedPointer< QAction > | mActionDecreaseLineWidth |
QScopedPointer< QAction > | mActionChangeLineWidth |
QScopedPointer< QAction > | mActionProperties |
QScopedPointer< QAction > | mActionRemove |
QScopedPointer< QAction > | mActionShowPlanes |
QScopedPointer< QAction > | mActionHidePlanes |
QScopedPointer< QAction > | mActionRebuildPlanes |
QScopedPointer< QAction > | mActionAbort |
QScopedPointer< QAction > | mActionToolSelect |
QScopedPointer< QAction > | mActionToolTrace |
QScopedPointer< QAction > | mActionToolVia |
QScopedPointer< QAction > | mActionToolPolygon |
QScopedPointer< QAction > | mActionToolText |
QScopedPointer< QAction > | mActionToolPlane |
QScopedPointer< QAction > | mActionToolZone |
QScopedPointer< QAction > | mActionToolHole |
QScopedPointer< QAction > | mActionToolMeasure |
QScopedPointer< QAction > | mActionDockErc |
QScopedPointer< QAction > | mActionDockDrc |
QScopedPointer< QAction > | mActionDockLayers |
QScopedPointer< QAction > | mActionDockPlaceDevices |
QScopedPointer< UndoStackActionGroup > | mUndoStackActionGroup |
QScopedPointer< ExclusiveActionGroup > | mToolsActionGroup |
QScopedPointer< QActionGroup > | mBoardActionGroup |
QScopedPointer< QToolBar > | mToolBarFile |
QScopedPointer< QToolBar > | mToolBarEdit |
QScopedPointer< QToolBar > | mToolBarView |
QScopedPointer< SearchToolBar > | mToolBarSearch |
QScopedPointer< QToolBar > | mToolBarCommand |
QScopedPointer< QToolBar > | mToolBarTools |
QScopedPointer< UnplacedComponentsDock > | mDockUnplacedComponents |
QScopedPointer< BoardLayersDock > | mDockLayers |
QScopedPointer< RuleCheckDock > | mDockErc |
QScopedPointer< RuleCheckDock > | mDockDrc |
QPointer< QMenu > | mMenuBoard |
The BoardEditor class.
|
delete |
|
delete |
|
explicit |
~BoardEditor | ( | ) |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
inlineoverridevirtualnoexcept |
Implements IF_GraphicsLayerProvider.
|
inlineoverridevirtualnoexcept |
Implements IF_GraphicsLayerProvider.
|
noexcept |
|
noexcept |
|
noexcept |
|
delete |
|
overrideprotectedvirtualnoexcept |
|
slot |
|
slot |
|
privateslot |
|
privateslot |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
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 |
|
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 |
UUID=Board.
|
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 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |