From 58ef51ffe2cf8cef50318cd96dd398e87c3ec637 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Tue, 23 Jan 2018 23:05:32 +0300 Subject: [PATCH 1/2] Context menu added to band marker --- limereport/lrbanddesignintf.cpp | 5 +++++ limereport/lrbanddesignintf.h | 1 + 2 files changed, 6 insertions(+) diff --git a/limereport/lrbanddesignintf.cpp b/limereport/lrbanddesignintf.cpp index b20264b..6ca39be 100644 --- a/limereport/lrbanddesignintf.cpp +++ b/limereport/lrbanddesignintf.cpp @@ -99,6 +99,11 @@ void BandMarker::mousePressEvent(QGraphicsSceneMouseEvent *event) } } +void BandMarker::contextMenuEvent(QGraphicsSceneContextMenuEvent *event) +{ + m_band->contextMenuEvent(event); +} + BandDesignIntf::BandDesignIntf(BandsType bandType, const QString &xmlTypeName, QObject* owner, QGraphicsItem *parent) : ItemsContainerDesignInft(xmlTypeName, owner,parent), m_bandType(bandType), diff --git a/limereport/lrbanddesignintf.h b/limereport/lrbanddesignintf.h index f1cd43a..5f56beb 100644 --- a/limereport/lrbanddesignintf.h +++ b/limereport/lrbanddesignintf.h @@ -63,6 +63,7 @@ public: qreal height(){return m_rect.height();} protected: void mousePressEvent(QGraphicsSceneMouseEvent *event); + void contextMenuEvent(QGraphicsSceneContextMenuEvent *event); private: QRectF m_rect; QColor m_color; From a5fe4987afd33f895aab7617e89932da3c7386e2 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Tue, 23 Jan 2018 23:06:26 +0300 Subject: [PATCH 2/2] Version changed --- common.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.pri b/common.pri index 9309434..a99ca12 100644 --- a/common.pri +++ b/common.pri @@ -62,7 +62,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 4 -LIMEREPORT_VERSION_RELEASE = 62 +LIMEREPORT_VERSION_RELEASE = 63 LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"' DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\"