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
1ecceeaa
Commit
1ecceeaa
authored
11 years ago
by
Luke Campagnola
Browse files
Options
Downloads
Patches
Plain Diff
Fixed unicode titles in Dock
parent
9677b149
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG
+1
-0
1 addition, 0 deletions
CHANGELOG
pyqtgraph/dockarea/Dock.py
+2
-1
2 additions, 1 deletion
pyqtgraph/dockarea/Dock.py
pyqtgraph/dockarea/tests/test_dock.py
+16
-0
16 additions, 0 deletions
pyqtgraph/dockarea/tests/test_dock.py
pyqtgraph/python2_3.py
+1
-1
1 addition, 1 deletion
pyqtgraph/python2_3.py
with
20 additions
and
2 deletions
CHANGELOG
+
1
−
0
View file @
1ecceeaa
...
...
@@ -61,6 +61,7 @@ pyqtgraph-0.9.9 [unreleased]
- Fixed ImageItem exception building histogram when image has only one value
- Fixed MeshData exception caused when vertexes have no matching faces
- Fixed GLViewWidget exception handler
- Fixed unicode support in Dock
pyqtgraph-0.9.8 2013-11-24
...
...
This diff is collapsed.
Click to expand it.
pyqtgraph/dockarea/Dock.py
+
2
−
1
View file @
1ecceeaa
...
...
@@ -2,6 +2,7 @@ from ..Qt import QtCore, QtGui
from
.DockDrop
import
*
from
..widgets.VerticalLabel
import
VerticalLabel
from
..python2_3
import
asUnicode
class
Dock
(
QtGui
.
QWidget
,
DockDrop
):
...
...
@@ -167,7 +168,7 @@ class Dock(QtGui.QWidget, DockDrop):
self
.
resizeOverlay
(
self
.
size
())
def
name
(
self
):
return
str
(
self
.
label
.
text
())
return
asUnicode
(
self
.
label
.
text
())
def
container
(
self
):
return
self
.
_container
...
...
This diff is collapsed.
Click to expand it.
pyqtgraph/dockarea/tests/test_dock.py
0 → 100644
+
16
−
0
View file @
1ecceeaa
# -*- coding: utf-8 -*-
#import sip
#sip.setapi('QString', 1)
import
pyqtgraph
as
pg
pg
.
mkQApp
()
import
pyqtgraph.dockarea
as
da
def
test_dock
():
name
=
pg
.
asUnicode
(
"
évènts_zàhéér
"
)
dock
=
da
.
Dock
(
name
=
name
)
# make sure unicode names work correctly
assert
dock
.
name
()
==
name
# no surprises in return type.
assert
type
(
dock
.
name
())
==
type
(
name
)
This diff is collapsed.
Click to expand it.
pyqtgraph/python2_3.py
+
1
−
1
View file @
1ecceeaa
"""
Helper functions
which
smooth out the differences between python 2 and 3.
Helper functions
that
smooth out the differences between python 2 and 3.
"""
import
sys
...
...
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