wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ElementContextMenu.cpp File Reference
#include "App/UI/ElementContextMenu.h"
#include <QAction>
#include <QComboBox>
#include <QMenu>
#include <QPixmap>
#include "App/Core/Common.h"
#include "App/Element/ElementFactory.h"
#include "App/Element/GraphicElement.h"
#include "App/Scene/Commands.h"
#include "App/Scene/Scene.h"
#include "App/UI/SelectionCapabilities.h"
Include dependency graph for ElementContextMenu.cpp:

Go to the source code of this file.

Functions

static QAction * addElementAction (QMenu *menu, GraphicElement *selectedElm, ElementType type, const bool hasSameType)

Function Documentation

◆ addElementAction()

QAction * addElementAction ( QMenu * menu,
GraphicElement * selectedElm,
ElementType type,
const bool hasSameType )
static