diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index f052c88c8..e2c2b96aa 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -9,6 +9,8 @@ #include #include #include +#include +#include ProfileWidget2::ProfileWidget2(QWidget *parent) : QGraphicsView(parent), @@ -216,7 +218,14 @@ void ProfileWidget2::settingsChanged() void ProfileWidget2::contextMenuEvent(QContextMenuEvent* event) { - + // this menu should be completely replaced when things are working. + QMenu m; + m.addAction("Set Empty", this, SIGNAL(startEmptyState())); + m.addAction("Set Profile", this, SIGNAL(startProfileState())); + m.addAction("Set Add", this, SIGNAL(startAddState())); + m.addAction("Set Edit", this, SIGNAL(startEditState())); + m.addAction("Set Plan", this, SIGNAL(startPlanState())); + m.exec(event->globalPos()); } void ProfileWidget2::resizeEvent(QResizeEvent* event)