From a9d284eabe3aa26b21cddcabc97833b137aedc3c Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Mon, 4 Dec 2023 19:38:29 +0100 Subject: [PATCH] rethink choices of 0c7ca0b9ba; minimum selection at least should work, cf. #166 --- .gitea/ISSUE_TEMPLATE/BUG_TEMPLATE.yml | 7 +++++++ .gitea/ISSUE_TEMPLATE/config.yaml | 2 +- src/gui_qt/graphs/graphwindow.py | 7 ++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitea/ISSUE_TEMPLATE/BUG_TEMPLATE.yml b/.gitea/ISSUE_TEMPLATE/BUG_TEMPLATE.yml index 634bd6f..afb7694 100644 --- a/.gitea/ISSUE_TEMPLATE/BUG_TEMPLATE.yml +++ b/.gitea/ISSUE_TEMPLATE/BUG_TEMPLATE.yml @@ -11,6 +11,13 @@ body: description: A concise description of what you're experiencing. validations: required: true + - type: input + attributes: + label: Version + description: For which version have you observed this behavior? + placeholder: You find the program version in "Help/About" + validation: + required: true - type: textarea attributes: label: Expected behavior diff --git a/.gitea/ISSUE_TEMPLATE/config.yaml b/.gitea/ISSUE_TEMPLATE/config.yaml index 4014299..a9f44ed 100644 --- a/.gitea/ISSUE_TEMPLATE/config.yaml +++ b/.gitea/ISSUE_TEMPLATE/config.yaml @@ -2,4 +2,4 @@ blank_issues_enabled: false contact_links: - name: Mystery url: https://c.xkcd.com/random/comic/ - about: What is behind door number 4? + about: What is behind door number 3? diff --git a/src/gui_qt/graphs/graphwindow.py b/src/gui_qt/graphs/graphwindow.py index 94cbff4..e38cb5f 100644 --- a/src/gui_qt/graphs/graphwindow.py +++ b/src/gui_qt/graphs/graphwindow.py @@ -55,11 +55,16 @@ class QGraphWindow(QtWidgets.QGraphicsView, Ui_GraphWindow): self._external_items = [] self.closable = True + """ + TODO + this does not work properly and leads to lots of errors + because PlotDataItems do not have a viewBox anymore which is called in getData + # desperate attempts to improve memory usage during paintEvents self.graphic.setAntialiasing(False) self.plotItem.setDownsampling(auto=True) self.plotItem.setClipToView(True) - + """ self._block = False self.log = [False, False]