|
wiRedPanda
Logic Circuit Simulator
|
#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"Go to the source code of this file.
Functions | |
| static QAction * | addElementAction (QMenu *menu, GraphicElement *selectedElm, ElementType type, const bool hasSameType) |
|
static |
Definition at line 19 of file ElementContextMenu.cpp.
References GraphicElement::elementType(), ElementFactory::pixmap(), and ElementFactory::translatedName().
Referenced by ElementContextMenu::exec().