File: heatmapverticalaxiswidget.h

package info (click to toggle)
apitrace 7.1%2Bgit20170623.d38a69d6%2Brepack-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 15,992 kB
  • sloc: cpp: 179,347; ansic: 62,439; python: 33,058; java: 377; makefile: 105; sh: 26; xml: 26
file content (21 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "heatmapview.h"
#include "graphaxiswidget.h"

/**
 * Vertical axis specifically for heatmap displaying header and data rows
 */
class HeatmapVerticalAxisWidget : public GraphAxisWidget {
public:
    HeatmapVerticalAxisWidget(QWidget* parent);

    void setDataProvider(HeatmapDataProvider* data);

    virtual void mouseDoubleClickEvent(QMouseEvent *e) override;
    virtual void paintEvent(QPaintEvent *) override;

protected:
    int m_rowHeight;
    HeatmapDataProvider* m_data;
};