Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xsocs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kmap
xsocs
Commits
fb6f668f
Commit
fb6f668f
authored
Dec 11, 2016
by
DN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using pink for the ROIs.
parent
294fe92b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
kmap/gui/silx_imports/ImageRois.py
kmap/gui/silx_imports/ImageRois.py
+7
-4
No files found.
kmap/gui/silx_imports/ImageRois.py
View file @
fb6f668f
...
...
@@ -231,7 +231,8 @@ class RoiItemBase(qt.QObject):
self
.
_points
[
handle
][
1
],
legend
=
handle
,
draggable
=
True
,
symbol
=
'x'
)
symbol
=
'x'
,
color
=
'pink'
)
assert
item
==
handle
def
_drawShape
(
self
):
...
...
@@ -239,7 +240,8 @@ class RoiItemBase(qt.QObject):
self
.
yData
,
shape
=
self
.
shape
,
legend
=
self
.
_name
,
overlay
=
True
)
overlay
=
True
,
color
=
'pink'
)
assert
item
==
self
.
_name
def
_setHandleData
(
self
,
name
,
point
):
...
...
@@ -253,7 +255,8 @@ class RoiItemBase(qt.QObject):
self
.
_plot
.
setInteractiveMode
(
'draw'
,
shape
=
self
.
shape
,
source
=
self
,
label
=
self
.
_name
)
label
=
self
.
_name
,
color
=
'pink'
)
self
.
_connect
()
def
edit
(
self
,
enable
):
...
...
@@ -672,7 +675,7 @@ class ImageRoiManager(qt.QObject):
keepOptionActions
=
[
optionActions
[
option
]
for
option
in
options
]
toolBar
=
qt
.
QToolBar
(
'Roi'
)
toolBar
.
addWidget
(
qt
.
QLabel
(
'Roi'
))
#
toolBar.addWidget(qt.QLabel('Roi'))
{
toolBar
.
addAction
(
action
)
for
action
in
keepRoiActions
}
toolBar
.
addSeparator
()
...
...
Write
Preview
Markdown
is supported
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