]> git.cworth.org Git - apitrace/blob - gui/graphing/heatmapverticalaxiswidget.h
d3dretrace: Use DirectXTex for d3d10 state too.
[apitrace] / gui / graphing / heatmapverticalaxiswidget.h
1 #ifndef HEATMAPVERTICALAXISWIDGET_H
2 #define HEATMAPVERTICALAXISWIDGET_H
3
4 #include "heatmapview.h"
5 #include "graphaxiswidget.h"
6
7 /**
8  * Vertical axis specifically for heatmap displaying header and data rows
9  */
10 class HeatmapVerticalAxisWidget : public GraphAxisWidget {
11 public:
12     HeatmapVerticalAxisWidget(QWidget* parent);
13
14     void setDataProvider(HeatmapDataProvider* data);
15
16     virtual void mouseDoubleClickEvent(QMouseEvent *e);
17     virtual void paintEvent(QPaintEvent *);
18
19 protected:
20     int m_rowHeight;
21     HeatmapDataProvider* m_data;
22 };
23
24 #endif