Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EO Time Series Viewer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin Jakimow
EO Time Series Viewer
Commits
0e1b57cf
Commit
0e1b57cf
authored
12 years ago
by
Luke Campagnola
Browse files
Options
Downloads
Patches
Plain Diff
bugfixes for ArrowItem __init__
parent
29be68d7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
graphicsItems/ArrowItem.py
+4
-0
4 additions, 0 deletions
graphicsItems/ArrowItem.py
with
4 additions
and
0 deletions
graphicsItems/ArrowItem.py
+
4
−
0
View file @
0e1b57cf
...
...
@@ -13,6 +13,10 @@ class ArrowItem(QtGui.QGraphicsPathItem):
def
__init__
(
self
,
**
opts
):
QtGui
.
QGraphicsPathItem
.
__init__
(
self
,
opts
.
get
(
'
parent
'
,
None
))
if
'
size
'
in
opts
:
opts
[
'
headLen
'
]
=
opts
[
'
size
'
]
if
'
width
'
in
opts
:
opts
[
'
headWidth
'
]
=
opts
[
'
width
'
]
defOpts
=
{
'
pxMode
'
:
True
,
'
angle
'
:
-
150
,
## If the angle is 0, the arrow points left
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment