diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-14 12:37:26 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2021-01-20 08:47:18 +0100 |
commit | 9b7565e81a0b62711eaeafb633047a819e149170 (patch) | |
tree | 6f4b2fff445f6bccd17236566d49ca10dc54528e /desktop-widgets | |
parent | c74975632e4ed6a63773b893b164055e4b17920f (diff) | |
download | subsurface-9b7565e81a0b62711eaeafb633047a819e149170.tar.gz |
statistics: turn ChartGrid into QSGNodes
Turn the background grid into QSGNodes. Each grid line is
represented by a QSG line item. An alternative would be
drawing the grid into a QImage and blasting that onto the
screen. It is unclear which one is preferred.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/statswidget.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/statswidget.h b/desktop-widgets/statswidget.h index b85d89730..51b94ac87 100644 --- a/desktop-widgets/statswidget.h +++ b/desktop-widgets/statswidget.h @@ -33,7 +33,6 @@ private: std::vector<std::unique_ptr<QCheckBox>> features; ChartListModel charts; - //QStringListModel charts; void showEvent(QShowEvent *) override; }; |