Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CPanelLogicsDrawingArea.hpp>
Static Private Attributes | |
static bool | m_copyMode = false |
Class managing the drawing area for the logics editor.
CPanelLogicsDrawingArea::CPanelLogicsDrawingArea | ( | const std::weak_ptr< CLogicsDrawingAreaModel > & | logicsDrawingAreaModel, |
CPanelLogicsEditor * | panelLogicsEditor ) |
|
delete |
|
default |
|
delete |
|
delete |
void CPanelLogicsDrawingArea::addNewConnection | ( | ) |
AbstractComponentGUI * CPanelLogicsDrawingArea::buildPanel | ( | ) |
void CPanelLogicsDrawingArea::deleteLogicsElement | ( | AbstractCanvasItem::TId | id | ) | const |
CPanelLogicsDrawingArea::deleteLogicsElement
Deletes a canvas element.
It actually marks the canvas element to be deleted on next redraw.
void CPanelLogicsDrawingArea::deleteSelectedElements | ( | ) |
std::shared_ptr< CLogicsDrawingAreaModel > CPanelLogicsDrawingArea::drawingAreaModel | ( | ) |
|
nodiscard |
void CPanelLogicsDrawingArea::generateLogicsGenerationParams | ( | const iv::logic::LogicGenerationParams & | generationParams | ) |
|
static |
|
static |
|
static |
CLogicsConnection::TConnPointsRefs & CPanelLogicsDrawingArea::getConnectionToCreate | ( | ) |
|
static |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
void CPanelLogicsDrawingArea::grabFocus | ( | ) | const |
CPanelLogicsDrawingArea::grabFocus
Makes the canvas grab keyboard focus.
|
nodiscard |
void CPanelLogicsDrawingArea::keyShortcutMove | ( | bool | isUp, |
bool | isDown, | ||
bool | isLeft, | ||
bool | isRight ) |
void CPanelLogicsDrawingArea::keyShortcutPaste | ( | ) |
|
delete |
|
delete |
|
private |
|
private |
|
private |
|
static |
|
static |
|
static |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void CPanelLogicsDrawingArea::redraw | ( | ) | const |
CPanelLogicsDrawingArea::redraw
Redraws the elements of the canvas.
void CPanelLogicsDrawingArea::resetConnectionToCreate | ( | ) |
void CPanelLogicsDrawingArea::runContextMenuAction | ( | CLogicsDrawingAreaModel::EActionOnLogicsComponent | action, |
AbstractCanvasItem::TId | itemId, | ||
const std::optional< iv::math::geometry::Point2d > & | clickedPoint2d ) |
void CPanelLogicsDrawingArea::selectLogicsElement | ( | AbstractCanvasItem::TId | id | ) |
CPanelLogicsDrawingArea::selectLogicsElement
Adds a canvas element id to the list of selected elements.
void CPanelLogicsDrawingArea::setCopyingSelectedElements | ( | ) |
void CPanelLogicsDrawingArea::setDraggedLocalDistance | ( | const AbstractCanvasItem::TPosition2d & | localDistance | ) |
void CPanelLogicsDrawingArea::setDragging | ( | bool | dragging | ) |
void CPanelLogicsDrawingArea::setGrabbed | ( | bool | grab | ) |
void CPanelLogicsDrawingArea::setGrabGlobalOrigin | ( | const AbstractCanvasItem::TPosition2d & | globalPosition | ) |
void CPanelLogicsDrawingArea::setGrabLocalOrigin | ( | const AbstractCanvasItem::TPosition2d & | localPosition | ) |
void CPanelLogicsDrawingArea::setStandOutModeLogicsElement | ( | AbstractCanvasItem::TId | id, |
AbstractCanvasItem::EStandOutMode | mode ) const |
CPanelLogicsDrawingArea::setStandOutModeLogicsElement
Sets the stand out mode of a canvas element.
void CPanelLogicsDrawingArea::setStartDragging | ( | bool | start | ) |
void CPanelLogicsDrawingArea::showContextMenu | ( | CMenuContext * | menuContext | ) | const |
void CPanelLogicsDrawingArea::unselectAllElements | ( | ) |
CPanelLogicsDrawingArea::unselectAllElements
Removes all canvas element ids from the list of selected elements.
void CPanelLogicsDrawingArea::unselectLogicsElement | ( | AbstractCanvasItem::TId | id | ) |
CPanelLogicsDrawingArea::unselectLogicsElement
Removes a canvas element id from the list of selected elements.
void CPanelLogicsDrawingArea::updateLogicsElements | ( | ) | const |
CPanelLogicsDrawingArea::updateElements
Updates all elements in the canvas that might have been changed in other panels.
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |