Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
9fa590d0
Commit
9fa590d0
authored
Aug 03, 2012
by
Luke Campagnola
Browse files
Added accessors for ImageView PlotWidget and histogram
parent
b88f0a22
Changes
1
Hide whitespace changes
Inline
Side-by-side
imageview/ImageView.py
View file @
9fa590d0
...
@@ -685,4 +685,12 @@ class ImageView(QtGui.QWidget):
...
@@ -685,4 +685,12 @@ class ImageView(QtGui.QWidget):
def
getImageItem
(
self
):
def
getImageItem
(
self
):
"""Return the ImageItem for this ImageView."""
"""Return the ImageItem for this ImageView."""
return
self
.
imageItem
return
self
.
imageItem
\ No newline at end of file
def
getRoiPlot
(
self
):
"""Return the ROI PlotWidget for this ImageView"""
return
self
.
ui
.
roiPlot
def
getHistogramWidget
(
self
):
"""Return the HistogramLUTWidget for this ImageView"""
return
self
.
ui
.
histogram
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment