@@ -223,8 +223,9 void VisualizationGraphRenderingDelegate::onMouseMove(QMouseEvent *event) noexce | |||
|
223 | 223 | } |
|
224 | 224 | } |
|
225 | 225 | else if (auto colorMap = qobject_cast<QCPColorMap *>(impl->m_Plot.plottableAt(eventPos))) { |
|
226 | /// @todo | |
|
227 | tooltip = "TODO"; | |
|
226 | // Gets x and y coords | |
|
227 | auto x = colorMap->keyAxis()->pixelToCoord(eventPos.x()); | |
|
228 | auto y = colorMap->valueAxis()->pixelToCoord(eventPos.y()); | |
|
228 | 229 | } |
|
229 | 230 | |
|
230 | 231 | if (!tooltip.isEmpty()) { |
General Comments 0
You need to be logged in to leave comments.
Login now