Skip to content

Commit

Permalink
move labels near status bar code
Browse files Browse the repository at this point in the history
  • Loading branch information
sezelt committed Sep 25, 2024
1 parent c2c228f commit eccf079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/py4D_browser/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ def setup_views(self):
# Set up the diffraction space window.
self.diffraction_space_widget = pg.ImageView()
self.diffraction_space_widget.setImage(np.zeros((512, 512)))
self.diffraction_space_view_text = QLabel("Slice")

self.diffraction_space_widget.setMouseTracking(True)

Expand All @@ -547,7 +546,6 @@ def setup_views(self):
# Set up the real space window.
self.real_space_widget = pg.ImageView()
self.real_space_widget.setImage(np.zeros((512, 512)))
self.real_space_view_text = QLabel("Scan Position")

# Add point selector connected to displayed diffraction pattern
self.real_space_point_selector = pg_point_roi(self.real_space_widget.getView())
Expand Down Expand Up @@ -630,6 +628,8 @@ def setup_views(self):
self.stats_button.setMenu(self.stats_menu)

self.cursor_value_text = QLabel("")
self.diffraction_space_view_text = QLabel("Slice")
self.real_space_view_text = QLabel("Scan Position")

# self.statusBar().addPermanentWidget(VLine())
self.statusBar().addPermanentWidget(self.cursor_value_text)
Expand Down

0 comments on commit eccf079

Please sign in to comment.