LibrePCB Developers Documentation
Loading...
Searching...
No Matches
Board2dTab Class Referencefinal

The Board2dTab class. More...

#include <board2dtab.h>

+ Inheritance diagram for Board2dTab:
+ Collaboration diagram for Board2dTab:

Classes

struct  DeviceMetadata
 

Signals

void wireModeRequested (BoardEditorState_DrawTrace::WireMode mode)
 
void netRequested (bool autoNet, const std::optional< Uuid > &net)
 
void layerRequested (const Layer &layer)
 
void filledRequested (bool filled)
 
void mirroredRequested (bool mirrored)
 
void valueRequested (const QString &value)
 
void zoneRuleRequested (Zone::Rule rule, bool enable)
 
- Signals inherited from WindowTab
void panelPageRequested (ui::PanelPage p)
 
void closeRequested ()
 
void closeEnforced ()
 
void statusBarMessageChanged (const QString &message, int timeoutMs)
 
void cursorCoordinatesChanged (const Point &pos, const LengthUnit &unit)
 

Public Member Functions

 Board2dTab ()=delete
 
 Board2dTab (const Board2dTab &other)=delete
 
 Board2dTab (GuiApplication &app, BoardEditor &editor, QObject *parent=nullptr) noexcept
 
 ~Board2dTab () noexcept
 
int getProjectIndex () const noexcept
 
int getProjectObjectIndex () const noexcept
 
ui::TabData getUiData () const noexcept override
 
void setUiData (const ui::TabData &data) noexcept override
 
ui::Board2dTabData getDerivedUiData () const noexcept
 
void setDerivedUiData (const ui::Board2dTabData &data) noexcept
 
void activate () noexcept override
 
void deactivate () noexcept override
 
void trigger (ui::TabAction a) noexcept override
 
slint::Image renderScene (float width, float height, int scene) noexcept override
 
bool processScenePointerEvent (const QPointF &pos, slint::private_api::PointerEvent e) noexcept override
 
bool processSceneScrolled (const QPointF &pos, slint::private_api::PointerScrollEvent e) noexcept override
 
bool processSceneKeyEvent (const slint::private_api::KeyEvent &e) noexcept override
 
QSet< const Layer * > getVisibleCopperLayers () const noexcept
 
bool graphicsSceneKeyPressed (const GraphicsSceneKeyEvent &e) noexcept override
 
bool graphicsSceneKeyReleased (const GraphicsSceneKeyEvent &e) noexcept override
 
bool graphicsSceneMouseMoved (const GraphicsSceneMouseEvent &e) noexcept override
 
bool graphicsSceneLeftMouseButtonPressed (const GraphicsSceneMouseEvent &e) noexcept override
 
bool graphicsSceneLeftMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept override
 
bool graphicsSceneLeftMouseButtonDoubleClicked (const GraphicsSceneMouseEvent &e) noexcept override
 
bool graphicsSceneRightMouseButtonReleased (const GraphicsSceneMouseEvent &e) noexcept override
 
BoardGraphicsScenefsmGetGraphicsScene () noexcept override
 
bool fsmGetIgnoreLocks () const noexcept override
 
void fsmSetViewCursor (const std::optional< Qt::CursorShape > &shape) noexcept override
 
void fsmSetViewGrayOut (bool grayOut) noexcept override
 
void fsmSetViewInfoBoxText (const QString &text) noexcept override
 
void fsmSetViewRuler (const std::optional< std::pair< Point, Point > > &pos) noexcept override
 
void fsmSetSceneCursor (const Point &pos, bool cross, bool circle) noexcept override
 
QPainterPath fsmCalcPosWithTolerance (const Point &pos, qreal multiplier) const noexcept override
 
Point fsmMapGlobalPosToScenePos (const QPoint &pos) const noexcept override
 
void fsmSetHighlightedNetSignals (const QSet< const NetSignal * > &sigs) noexcept override
 
void fsmAbortBlockingToolsInOtherEditors () noexcept override
 
void fsmSetStatusBarMessage (const QString &message, int timeoutMs=-1) noexcept override
 
void fsmSetFeatures (Features features) noexcept override
 
void fsmToolLeave () noexcept override
 
void fsmToolEnter (BoardEditorState_Select &state) noexcept override
 
void fsmToolEnter (BoardEditorState_DrawTrace &state) noexcept override
 
void fsmToolEnter (BoardEditorState_AddVia &state) noexcept override
 
void fsmToolEnter (BoardEditorState_DrawPolygon &state) noexcept override
 
void fsmToolEnter (BoardEditorState_AddStrokeText &state) noexcept override
 
void fsmToolEnter (BoardEditorState_DrawPlane &state) noexcept override
 
void fsmToolEnter (BoardEditorState_DrawZone &state) noexcept override
 
void fsmToolEnter (BoardEditorState_AddHole &state) noexcept override
 
void fsmToolEnter (BoardEditorState_AddDevice &state) noexcept override
 
void fsmToolEnter (BoardEditorState_Measure &state) noexcept override
 
Board2dTaboperator= (const Board2dTab &rhs)=delete
 
- Public Member Functions inherited from WindowTab
 WindowTab ()=delete
 
 WindowTab (const WindowTab &other)=delete
 
 WindowTab (GuiApplication &app, QObject *parent=nullptr) noexcept
 
virtual ~WindowTab () noexcept
 
virtual bool requestClose () noexcept
 Request to close the tab.
 
WindowTaboperator= (const WindowTab &rhs)=delete
 
- Public Member Functions inherited from IF_GraphicsViewEventHandler
 IF_GraphicsViewEventHandler () noexcept
 
virtual ~IF_GraphicsViewEventHandler () noexcept
 

Public Attributes

Signal< Board2dTabonDerivedUiDataChanged
 
- Public Attributes inherited from WindowTab
Signal< WindowTabonUiDataChanged
 

Private Types

enum class  PlaceComponentsMode
 

Private Member Functions

void updateEnabledCopperLayers () noexcept
 
void loadLayersVisibility () noexcept
 
void storeLayersVisibility () noexcept
 
void updateMessages () noexcept
 
void highlightDrcMessage (const std::shared_ptr< const RuleCheckMessage > &msg, bool zoomTo) noexcept
 
void clearDrcMarker () noexcept
 
void scheduleUnplacedComponentsUpdate () noexcept
 
void updateUnplacedComponents () noexcept
 
void restartIdleTimer () noexcept
 
void setSelectedUnplacedComponent (int index) noexcept
 
void setSelectedUnplacedComponentDevice (int index) noexcept
 
void setSelectedUnplacedComponentDeviceAndPackage (const std::optional< Uuid > &deviceUuid, Package *package, bool packageOwned) noexcept
 
void setSelectedUnplacedComponentFootprint (int index) noexcept
 
std::pair< QList< DeviceMetadata >, int > getAvailableDevices (ComponentInstance &cmp) const noexcept
 Get all available devices for a specific component instance.
 
std::optional< UuidgetSuggestedFootprint (const Uuid &libPkgUuid) const noexcept
 
void addUnplacedComponentsToBoard (PlaceComponentsMode mode) noexcept
 
void execGraphicsExportDialog (GraphicsExportDialog::Output output, const QString &settingsKey) noexcept
 
void execPickPlaceExportDialog () noexcept
 
void execD356NetlistExportDialog () noexcept
 
void execSpecctraExportDialog () noexcept
 
void execSpecctraImportDialog () noexcept
 
void goToDevice (const QString &name, int index) noexcept
 
void applyTheme () noexcept
 
void requestRepaint () noexcept
 

Private Attributes

ProjectEditormProjectEditor
 
ProjectmProject
 
BoardEditormBoardEditor
 
BoardmBoard
 
std::unique_ptr< GraphicsLayerListmLayers
 
std::unique_ptr< SlintGraphicsViewmView
 
QVector< QMetaObject::Connection > mActiveConnections
 
DismissableMessageContext mMsgEmptySchematics
 
DismissableMessageContext mMsgPlaceDevices
 
SearchContext mSearchContext
 
Theme::GridStyle mGridStyle
 
QPointF mSceneImagePos
 
bool mIgnorePlacementLocks
 
int mFrameIndex
 
Features mToolFeatures
 
ui::EditorTool mTool
 
Qt::CursorShape mToolCursorShape
 
QString mToolOverlayText
 
BoardEditorState_DrawTrace::WireMode mToolWireMode
 
QVector< std::pair< bool, std::optional< Uuid > > > mToolNetsQt
 
std::shared_ptr< slint::VectorModel< slint::SharedString > > mToolNets
 
std::pair< bool, std::optional< Uuid > > mToolNet
 
QVector< const Layer * > mToolLayersQt
 
std::shared_ptr< slint::VectorModel< slint::SharedString > > mToolLayers
 
const LayermToolLayer
 
LengthEditContext mToolLineWidth
 
LengthEditContext mToolSize
 
LengthEditContext mToolDrill
 
bool mToolFilled
 
bool mToolMirrored
 
QString mToolValue
 
std::shared_ptr< slint::VectorModel< slint::SharedString > > mToolValueSuggestions
 
Zone::Rules mToolZoneRules
 
QList< UuidmUnplacedComponents
 
std::shared_ptr< slint::VectorModel< slint::SharedString > > mUnplacedComponentsModel
 
int mUnplacedComponentIndex
 
QPointer< ComponentInstancemUnplacedComponent
 
QList< DeviceMetadatamUnplacedComponentDevices
 
std::shared_ptr< slint::VectorModel< slint::SharedString > > mUnplacedComponentDevicesModel
 
int mUnplacedComponentDeviceIndex
 
QPointer< PackagemUnplacedComponentPackage
 
bool mUnplacedComponentPackageOwned
 
std::shared_ptr< slint::VectorModel< slint::SharedString > > mUnplacedComponentFootprintsModel
 
int mUnplacedComponentFootprintIndex
 
std::unique_ptr< GraphicsLayerListmUnplacedComponentLayers
 
std::unique_ptr< GraphicsScenemUnplacedComponentGraphicsScene
 
std::unique_ptr< FootprintGraphicsItemmUnplacedComponentGraphicsItem
 
QHash< Uuid, UuidmLastDeviceOfComponent
 
QHash< Uuid, UuidmLastFootprintOfPackage
 
std::unique_ptr< QTimer > mUnplacedComponentsUpdateTimer
 
QVector< QMetaObject::Connection > mFsmStateConnections
 
QScopedPointer< BoardEditorFsmmFsm
 
std::shared_ptr< GraphicsLayersModelmLayersModel
 
std::unique_ptr< BoardGraphicsScenemScene
 
std::unique_ptr< QTimer > mInputIdleTimer
 
std::unique_ptr< QGraphicsPathItem > mDrcLocationGraphicsItem
 

Additional Inherited Members

- Public Types inherited from BoardEditorFsmAdapter
enum class  Feature : quint32
 
- Protected Attributes inherited from WindowTab
GuiApplicationmApp
 

Detailed Description

The Board2dTab class.

Member Enumeration Documentation

◆ PlaceComponentsMode

enum class PlaceComponentsMode
strongprivate
Enumerator
Single 
Similar 
All 

Constructor & Destructor Documentation

◆ Board2dTab() [1/3]

Board2dTab ( )
delete

◆ Board2dTab() [2/3]

Board2dTab ( const Board2dTab other)
delete

◆ Board2dTab() [3/3]

Board2dTab ( GuiApplication app,
BoardEditor editor,
QObject *  parent = nullptr 
)
explicitnoexcept

◆ ~Board2dTab()

~Board2dTab ( )
noexcept
+ Here is the call graph for this function:

Member Function Documentation

◆ getProjectIndex()

int getProjectIndex ( ) const
noexcept
+ Here is the call graph for this function:

◆ getProjectObjectIndex()

int getProjectObjectIndex ( ) const
noexcept
+ Here is the call graph for this function:

◆ getUiData()

ui::TabData getUiData ( ) const
overridevirtualnoexcept

Implements WindowTab.

+ Here is the call graph for this function:

◆ setUiData()

void setUiData ( const ui::TabData &  data)
overridevirtualnoexcept

Reimplemented from WindowTab.

+ Here is the call graph for this function:

◆ getDerivedUiData()

ui::Board2dTabData getDerivedUiData ( ) const
noexcept
+ Here is the call graph for this function:

◆ setDerivedUiData()

void setDerivedUiData ( const ui::Board2dTabData &  data)
noexcept
+ Here is the call graph for this function:

◆ activate()

void activate ( )
overridevirtualnoexcept

Reimplemented from WindowTab.

+ Here is the call graph for this function:

◆ deactivate()

void deactivate ( )
overridevirtualnoexcept

Reimplemented from WindowTab.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ trigger()

void trigger ( ui::TabAction  a)
overridevirtualnoexcept

Reimplemented from WindowTab.

+ Here is the call graph for this function:

◆ renderScene()

slint::Image renderScene ( float  width,
float  height,
int  scene 
)
overridevirtualnoexcept

Reimplemented from WindowTab.

+ Here is the call graph for this function:

◆ processScenePointerEvent()

bool processScenePointerEvent ( const QPointF &  pos,
slint::private_api::PointerEvent  e 
)
overridevirtualnoexcept

Reimplemented from WindowTab.

◆ processSceneScrolled()

bool processSceneScrolled ( const QPointF &  pos,
slint::private_api::PointerScrollEvent  e 
)
overridevirtualnoexcept

Reimplemented from WindowTab.

◆ processSceneKeyEvent()

bool processSceneKeyEvent ( const slint::private_api::KeyEvent &  e)
overridevirtualnoexcept

Reimplemented from WindowTab.

◆ getVisibleCopperLayers()

QSet< const Layer * > getVisibleCopperLayers ( ) const
noexcept
+ Here is the call graph for this function:

◆ graphicsSceneKeyPressed()

bool graphicsSceneKeyPressed ( const GraphicsSceneKeyEvent e)
overridevirtualnoexcept

Reimplemented from IF_GraphicsViewEventHandler.

◆ graphicsSceneKeyReleased()

bool graphicsSceneKeyReleased ( const GraphicsSceneKeyEvent e)
overridevirtualnoexcept

Reimplemented from IF_GraphicsViewEventHandler.

◆ graphicsSceneMouseMoved()

bool graphicsSceneMouseMoved ( const GraphicsSceneMouseEvent e)
overridevirtualnoexcept

Reimplemented from IF_GraphicsViewEventHandler.

◆ graphicsSceneLeftMouseButtonPressed()

bool graphicsSceneLeftMouseButtonPressed ( const GraphicsSceneMouseEvent e)
overridevirtualnoexcept

Reimplemented from IF_GraphicsViewEventHandler.

◆ graphicsSceneLeftMouseButtonReleased()

bool graphicsSceneLeftMouseButtonReleased ( const GraphicsSceneMouseEvent e)
overridevirtualnoexcept

Reimplemented from IF_GraphicsViewEventHandler.

◆ graphicsSceneLeftMouseButtonDoubleClicked()

bool graphicsSceneLeftMouseButtonDoubleClicked ( const GraphicsSceneMouseEvent e)
overridevirtualnoexcept

Reimplemented from IF_GraphicsViewEventHandler.

◆ graphicsSceneRightMouseButtonReleased()

bool graphicsSceneRightMouseButtonReleased ( const GraphicsSceneMouseEvent e)
overridevirtualnoexcept

Reimplemented from IF_GraphicsViewEventHandler.

◆ fsmGetGraphicsScene()

BoardGraphicsScene * fsmGetGraphicsScene ( )
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmGetIgnoreLocks()

bool fsmGetIgnoreLocks ( ) const
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmSetViewCursor()

void fsmSetViewCursor ( const std::optional< Qt::CursorShape > &  shape)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmSetViewGrayOut()

void fsmSetViewGrayOut ( bool  grayOut)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmSetViewInfoBoxText()

void fsmSetViewInfoBoxText ( const QString &  text)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmSetViewRuler()

void fsmSetViewRuler ( const std::optional< std::pair< Point, Point > > &  pos)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmSetSceneCursor()

void fsmSetSceneCursor ( const Point pos,
bool  cross,
bool  circle 
)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmCalcPosWithTolerance()

QPainterPath fsmCalcPosWithTolerance ( const Point pos,
qreal  multiplier 
) const
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmMapGlobalPosToScenePos()

Point fsmMapGlobalPosToScenePos ( const QPoint &  pos) const
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmSetHighlightedNetSignals()

void fsmSetHighlightedNetSignals ( const QSet< const NetSignal * > &  sigs)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmAbortBlockingToolsInOtherEditors()

void fsmAbortBlockingToolsInOtherEditors ( )
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmSetStatusBarMessage()

void fsmSetStatusBarMessage ( const QString &  message,
int  timeoutMs = -1 
)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmSetFeatures()

void fsmSetFeatures ( Features  features)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the caller graph for this function:

◆ fsmToolLeave()

void fsmToolLeave ( )
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmToolEnter() [1/10]

void fsmToolEnter ( BoardEditorState_Select state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmToolEnter() [2/10]

void fsmToolEnter ( BoardEditorState_DrawTrace state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmToolEnter() [3/10]

void fsmToolEnter ( BoardEditorState_AddVia state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmToolEnter() [4/10]

void fsmToolEnter ( BoardEditorState_DrawPolygon state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmToolEnter() [5/10]

void fsmToolEnter ( BoardEditorState_AddStrokeText state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmToolEnter() [6/10]

void fsmToolEnter ( BoardEditorState_DrawPlane state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmToolEnter() [7/10]

void fsmToolEnter ( BoardEditorState_DrawZone state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmToolEnter() [8/10]

void fsmToolEnter ( BoardEditorState_AddHole state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

+ Here is the call graph for this function:

◆ fsmToolEnter() [9/10]

void fsmToolEnter ( BoardEditorState_AddDevice state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ fsmToolEnter() [10/10]

void fsmToolEnter ( BoardEditorState_Measure state)
overridevirtualnoexcept

Implements BoardEditorFsmAdapter.

◆ operator=()

Board2dTab & operator= ( const Board2dTab rhs)
delete

◆ wireModeRequested

void wireModeRequested ( BoardEditorState_DrawTrace::WireMode  mode)
signal
+ Here is the caller graph for this function:

◆ netRequested

void netRequested ( bool  autoNet,
const std::optional< Uuid > &  net 
)
signal
+ Here is the caller graph for this function:

◆ layerRequested

void layerRequested ( const Layer layer)
signal
+ Here is the caller graph for this function:

◆ filledRequested

void filledRequested ( bool  filled)
signal
+ Here is the caller graph for this function:

◆ mirroredRequested

void mirroredRequested ( bool  mirrored)
signal
+ Here is the caller graph for this function:

◆ valueRequested

void valueRequested ( const QString &  value)
signal
+ Here is the caller graph for this function:

◆ zoneRuleRequested

void zoneRuleRequested ( Zone::Rule  rule,
bool  enable 
)
signal
+ Here is the caller graph for this function:

◆ updateEnabledCopperLayers()

void updateEnabledCopperLayers ( )
privatenoexcept
+ Here is the call graph for this function:

◆ loadLayersVisibility()

void loadLayersVisibility ( )
privatenoexcept
+ Here is the call graph for this function:

◆ storeLayersVisibility()

void storeLayersVisibility ( )
privatenoexcept
+ Here is the call graph for this function:

◆ updateMessages()

void updateMessages ( )
privatenoexcept
+ Here is the call graph for this function:

◆ highlightDrcMessage()

void highlightDrcMessage ( const std::shared_ptr< const RuleCheckMessage > &  msg,
bool  zoomTo 
)
privatenoexcept
+ Here is the call graph for this function:

◆ clearDrcMarker()

void clearDrcMarker ( )
privatenoexcept
+ Here is the caller graph for this function:

◆ scheduleUnplacedComponentsUpdate()

void scheduleUnplacedComponentsUpdate ( )
privatenoexcept
+ Here is the caller graph for this function:

◆ updateUnplacedComponents()

void updateUnplacedComponents ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ restartIdleTimer()

void restartIdleTimer ( )
privatenoexcept

◆ setSelectedUnplacedComponent()

void setSelectedUnplacedComponent ( int  index)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSelectedUnplacedComponentDevice()

void setSelectedUnplacedComponentDevice ( int  index)
privatenoexcept
+ Here is the call graph for this function:

◆ setSelectedUnplacedComponentDeviceAndPackage()

void setSelectedUnplacedComponentDeviceAndPackage ( const std::optional< Uuid > &  deviceUuid,
Package package,
bool  packageOwned 
)
privatenoexcept
+ Here is the call graph for this function:

◆ setSelectedUnplacedComponentFootprint()

void setSelectedUnplacedComponentFootprint ( int  index)
privatenoexcept
+ Here is the call graph for this function:

◆ getAvailableDevices()

std::pair< QList< Board2dTab::DeviceMetadata >, int > getAvailableDevices ( ComponentInstance cmp) const
privatenoexcept

Get all available devices for a specific component instance.

Parameters
cmpThe desired component instance.
Returns
Metadata of all available devices, and the list index of the best match / most relevant device.
+ Here is the call graph for this function:

◆ getSuggestedFootprint()

std::optional< Uuid > getSuggestedFootprint ( const Uuid libPkgUuid) const
privatenoexcept
+ Here is the call graph for this function:

◆ addUnplacedComponentsToBoard()

void addUnplacedComponentsToBoard ( PlaceComponentsMode  mode)
privatenoexcept
+ Here is the call graph for this function:

◆ execGraphicsExportDialog()

void execGraphicsExportDialog ( GraphicsExportDialog::Output  output,
const QString &  settingsKey 
)
privatenoexcept
+ Here is the call graph for this function:

◆ execPickPlaceExportDialog()

void execPickPlaceExportDialog ( )
privatenoexcept
+ Here is the call graph for this function:

◆ execD356NetlistExportDialog()

void execD356NetlistExportDialog ( )
privatenoexcept
+ Here is the call graph for this function:

◆ execSpecctraExportDialog()

void execSpecctraExportDialog ( )
privatenoexcept
+ Here is the call graph for this function:

◆ execSpecctraImportDialog()

void execSpecctraImportDialog ( )
privatenoexcept
+ Here is the call graph for this function:

◆ goToDevice()

void goToDevice ( const QString &  name,
int  index 
)
privatenoexcept
+ Here is the call graph for this function:

◆ applyTheme()

void applyTheme ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ requestRepaint()

void requestRepaint ( )
privatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ onDerivedUiDataChanged

Signal<Board2dTab> onDerivedUiDataChanged

◆ mProjectEditor

ProjectEditor& mProjectEditor
private

◆ mProject

Project& mProject
private

◆ mBoardEditor

BoardEditor& mBoardEditor
private

◆ mBoard

Board& mBoard
private

◆ mLayers

std::unique_ptr<GraphicsLayerList> mLayers
private

◆ mView

std::unique_ptr<SlintGraphicsView> mView
private

◆ mActiveConnections

QVector<QMetaObject::Connection> mActiveConnections
private

◆ mMsgEmptySchematics

DismissableMessageContext mMsgEmptySchematics
private

◆ mMsgPlaceDevices

DismissableMessageContext mMsgPlaceDevices
private

◆ mSearchContext

SearchContext mSearchContext
private

◆ mGridStyle

Theme::GridStyle mGridStyle
private

◆ mSceneImagePos

QPointF mSceneImagePos
private

◆ mIgnorePlacementLocks

bool mIgnorePlacementLocks
private

◆ mFrameIndex

int mFrameIndex
private

◆ mToolFeatures

Features mToolFeatures
private

◆ mTool

ui::EditorTool mTool
private

◆ mToolCursorShape

Qt::CursorShape mToolCursorShape
private

◆ mToolOverlayText

QString mToolOverlayText
private

◆ mToolWireMode

BoardEditorState_DrawTrace::WireMode mToolWireMode
private

◆ mToolNetsQt

QVector<std::pair<bool, std::optional<Uuid> > > mToolNetsQt
private

◆ mToolNets

std::shared_ptr<slint::VectorModel<slint::SharedString> > mToolNets
private

◆ mToolNet

std::pair<bool, std::optional<Uuid> > mToolNet
private

◆ mToolLayersQt

QVector<const Layer*> mToolLayersQt
private

◆ mToolLayers

std::shared_ptr<slint::VectorModel<slint::SharedString> > mToolLayers
private

◆ mToolLayer

const Layer* mToolLayer
private

◆ mToolLineWidth

LengthEditContext mToolLineWidth
private

◆ mToolSize

LengthEditContext mToolSize
private

◆ mToolDrill

LengthEditContext mToolDrill
private

◆ mToolFilled

bool mToolFilled
private

◆ mToolMirrored

bool mToolMirrored
private

◆ mToolValue

QString mToolValue
private

◆ mToolValueSuggestions

std::shared_ptr<slint::VectorModel<slint::SharedString> > mToolValueSuggestions
private

◆ mToolZoneRules

Zone::Rules mToolZoneRules
private

◆ mUnplacedComponents

QList<Uuid> mUnplacedComponents
private

◆ mUnplacedComponentsModel

std::shared_ptr<slint::VectorModel<slint::SharedString> > mUnplacedComponentsModel
private

◆ mUnplacedComponentIndex

int mUnplacedComponentIndex
private

◆ mUnplacedComponent

QPointer<ComponentInstance> mUnplacedComponent
private

◆ mUnplacedComponentDevices

QList<DeviceMetadata> mUnplacedComponentDevices
private

◆ mUnplacedComponentDevicesModel

std::shared_ptr<slint::VectorModel<slint::SharedString> > mUnplacedComponentDevicesModel
private

◆ mUnplacedComponentDeviceIndex

int mUnplacedComponentDeviceIndex
private

◆ mUnplacedComponentPackage

QPointer<Package> mUnplacedComponentPackage
private

◆ mUnplacedComponentPackageOwned

bool mUnplacedComponentPackageOwned
private

◆ mUnplacedComponentFootprintsModel

std::shared_ptr<slint::VectorModel<slint::SharedString> > mUnplacedComponentFootprintsModel
private

◆ mUnplacedComponentFootprintIndex

int mUnplacedComponentFootprintIndex
private

◆ mUnplacedComponentLayers

std::unique_ptr<GraphicsLayerList> mUnplacedComponentLayers
private

◆ mUnplacedComponentGraphicsScene

std::unique_ptr<GraphicsScene> mUnplacedComponentGraphicsScene
private

◆ mUnplacedComponentGraphicsItem

std::unique_ptr<FootprintGraphicsItem> mUnplacedComponentGraphicsItem
private

◆ mLastDeviceOfComponent

QHash<Uuid, Uuid> mLastDeviceOfComponent
private

◆ mLastFootprintOfPackage

QHash<Uuid, Uuid> mLastFootprintOfPackage
private

◆ mUnplacedComponentsUpdateTimer

std::unique_ptr<QTimer> mUnplacedComponentsUpdateTimer
private

◆ mFsmStateConnections

QVector<QMetaObject::Connection> mFsmStateConnections
private

◆ mFsm

QScopedPointer<BoardEditorFsm> mFsm
private

◆ mLayersModel

std::shared_ptr<GraphicsLayersModel> mLayersModel
private

◆ mScene

std::unique_ptr<BoardGraphicsScene> mScene
private

◆ mInputIdleTimer

std::unique_ptr<QTimer> mInputIdleTimer
private

◆ mDrcLocationGraphicsItem

std::unique_ptr<QGraphicsPathItem> mDrcLocationGraphicsItem
private

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