wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ElementContextMenu.h File Reference

ElementContextMenu free function for building the element right-click menu. More...

#include <functional>
#include <QList>
#include <QPoint>
Include dependency graph for ElementContextMenu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ElementContextMenu
 Builds and executes the right-click context menu for circuit element selections.

Functions

void ElementContextMenu::exec (QPoint screenPos, QGraphicsItem *itemAtMouse, const SelectionCapabilities &caps, const QList< GraphicElement * > &elements, QComboBox *colorCombo, Scene *scene, const std::function< void(QUndoCommand *)> &sendCommand, const std::function< void()> &onRename, const std::function< void()> &onTriggerChange, const std::function< void()> &onAppearanceChange, const std::function< void()> &onAppearanceRevert, const std::function< void()> &onFrequencyFocus, const std::function< void()> &onEditSubcircuit={}, const std::function< void()> &onEmbedSubcircuit={}, const std::function< void()> &onExtractToFile={})
 Builds and runs the right-click context menu for a set of selected elements.

Detailed Description

ElementContextMenu free function for building the element right-click menu.

Definition in file ElementContextMenu.h.