Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
0c6fc71b
Commit
0c6fc71b
authored
Dec 18, 2020
by
Leif
Browse files
Update PPOCRLabel
parent
ffe71f58
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
PPOCRLabel/PPOCRLabel.py
PPOCRLabel/PPOCRLabel.py
+0
-21
No files found.
PPOCRLabel/PPOCRLabel.py
View file @
0c6fc71b
...
...
@@ -257,9 +257,6 @@ class MainWindow(QMainWindow, WindowMixin):
self
.
imgsliderDock
.
setObjectName
(
getStr
(
'IR'
))
self
.
imgsliderDock
.
setWidget
(
self
.
imgsplider
)
self
.
imgsliderDock
.
setFeatures
(
QDockWidget
.
DockWidgetFloatable
)
# op = QGraphicsOpacityEffect()
# op.setOpacity(0.2)
# self.imgsliderDock.setGraphicsEffect(op)
self
.
imgsliderDock
.
setAttribute
(
Qt
.
WA_TranslucentBackground
)
self
.
addDockWidget
(
Qt
.
RightDockWidgetArea
,
self
.
imgsliderDock
)
...
...
@@ -299,15 +296,10 @@ class MainWindow(QMainWindow, WindowMixin):
hlayout
.
addWidget
(
self
.
iconlist
)
hlayout
.
addWidget
(
self
.
nextButton
)
# self.setLayout(hlayout)
iconListContainer
=
QWidget
()
iconListContainer
.
setLayout
(
hlayout
)
iconListContainer
.
setFixedHeight
(
100
)
# iconListContainer.setFixedWidth(530)
# op = QGraphicsOpacityEffect()
# op.setOpacity(0.5)
# iconListContainer.setGraphicsEffect(op)
########### Canvas ###########
self
.
canvas
=
Canvas
(
parent
=
self
)
...
...
@@ -498,9 +490,6 @@ class MainWindow(QMainWindow, WindowMixin):
icon
=
'color'
,
tip
=
getStr
(
'shapeFillColorDetail'
),
enabled
=
False
)
# labels = self.dock.toggleViewAction()
# labels.setText(getStr('showHide'))
# labels.setShortcut('Ctrl+Shift+L')
# Label list context menu.
labelMenu
=
QMenu
()
...
...
@@ -582,16 +571,6 @@ class MainWindow(QMainWindow, WindowMixin):
action
(
'&Copy here'
,
self
.
copyShape
),
action
(
'&Move here'
,
self
.
moveShape
)))
# self.tools = self.toolbar('Tools')
# self.actions.beginner = (
# open, opendir, openNextImg, openPrevImg, verify, save, None, create, copy, delete, None,
# zoomIn, zoom, zoomOut, fitWindow, fitWidth)
#
# self.actions.advanced = (
# open, opendir, openNextImg, openPrevImg, save, None,
# createMode, editMode, None,
# hideAll, showAll)
self
.
statusBar
().
showMessage
(
'%s started.'
%
__appname__
)
self
.
statusBar
().
show
()
...
...
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