MCPcopy Create free account
hub / github.com/davy7125/polyphone / ToolMenu

Method ToolMenu

sources/editor/tools/toolmenu.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#include "menulabel.h"
32
33ToolMenu::ToolMenu(QWidget * parent) : QMenu(parent),
34 _toolFactory(new ToolFactory())
35{
36 // Style of the menu
37 this->setStyleSheet(ContextManager::theme()->getMenuTheme());
38
39 // Connection of the actions
40 connect(this, SIGNAL(triggered(QAction*)), this, SLOT(onTriggered(QAction*)));
41}
42
43ToolMenu::~ToolMenu()
44{

Callers

nothing calls this directly

Calls 1

getMenuThemeMethod · 0.80

Tested by

no test coverage detected