From 37680152fb9945ec49410a75e9f80399c3d0bc32 Mon Sep 17 00:00:00 2001 From: wyzula-jan <133381102+wyzula-jan@users.noreply.github.com> Date: Fri, 11 Aug 2023 10:25:40 +0200 Subject: [PATCH] refactor: renamed line_plot.ui to basic_plot.ui --- bec_widgets/basic_plot.py | 2 +- bec_widgets/basic_plot.ui | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 bec_widgets/basic_plot.ui diff --git a/bec_widgets/basic_plot.py b/bec_widgets/basic_plot.py index 829468fc..acbb3935 100644 --- a/bec_widgets/basic_plot.py +++ b/bec_widgets/basic_plot.py @@ -38,7 +38,7 @@ class BasicPlot(QtWidgets.QWidget): pg.setConfigOption("background", "w") pg.setConfigOption("foreground", "k") current_path = os.path.dirname(__file__) - uic.loadUi(os.path.join(current_path, "line_plot.ui"), self) + uic.loadUi(os.path.join(current_path, "basic_plot.ui"), self) # Set splitter distribution of widgets self.splitter.setSizes([3, 1]) diff --git a/bec_widgets/basic_plot.ui b/bec_widgets/basic_plot.ui new file mode 100644 index 00000000..360a922f --- /dev/null +++ b/bec_widgets/basic_plot.ui @@ -0,0 +1,77 @@ + + + Form + + + + 0 + 0 + 845 + 635 + + + + Line Plot + + + + + + Qt::Horizontal + + + false + + + + + + + Debug + + + + + + + + + + + Qt::ElideMiddle + + + + Display + + + + + Device + + + + + X + + + + + Y + + + + + + + + + + GraphicsLayoutWidget + QGraphicsView +
pyqtgraph.h
+
+
+ + +