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
6bb6a83d
Commit
6bb6a83d
authored
Feb 25, 2022
by
HinGwenWoong
Browse files
Switch AutoRecognitionButton to the lowest place when using kie mode
parent
8a19bad0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
PPOCRLabel/PPOCRLabel.py
PPOCRLabel/PPOCRLabel.py
+10
-10
No files found.
PPOCRLabel/PPOCRLabel.py
View file @
6bb6a83d
...
@@ -152,16 +152,6 @@ class MainWindow(QMainWindow):
...
@@ -152,16 +152,6 @@ class MainWindow(QMainWindow):
self
.
fileListWidget
.
setIconSize
(
QSize
(
25
,
25
))
self
.
fileListWidget
.
setIconSize
(
QSize
(
25
,
25
))
filelistLayout
.
addWidget
(
self
.
fileListWidget
)
filelistLayout
.
addWidget
(
self
.
fileListWidget
)
self
.
AutoRecognition
=
QToolButton
()
self
.
AutoRecognition
.
setToolButtonStyle
(
Qt
.
ToolButtonTextBesideIcon
)
self
.
AutoRecognition
.
setIcon
(
newIcon
(
'Auto'
))
autoRecLayout
=
QHBoxLayout
()
autoRecLayout
.
setContentsMargins
(
0
,
0
,
0
,
0
)
autoRecLayout
.
addWidget
(
self
.
AutoRecognition
)
autoRecContainer
=
QWidget
()
autoRecContainer
.
setLayout
(
autoRecLayout
)
filelistLayout
.
addWidget
(
autoRecContainer
)
fileListContainer
=
QWidget
()
fileListContainer
=
QWidget
()
fileListContainer
.
setLayout
(
filelistLayout
)
fileListContainer
.
setLayout
(
filelistLayout
)
self
.
fileListName
=
getStr
(
'fileList'
)
self
.
fileListName
=
getStr
(
'fileList'
)
...
@@ -183,6 +173,16 @@ class MainWindow(QMainWindow):
...
@@ -183,6 +173,16 @@ class MainWindow(QMainWindow):
self
.
keyListDock
.
setFeatures
(
QDockWidget
.
NoDockWidgetFeatures
)
self
.
keyListDock
.
setFeatures
(
QDockWidget
.
NoDockWidgetFeatures
)
filelistLayout
.
addWidget
(
self
.
keyListDock
)
filelistLayout
.
addWidget
(
self
.
keyListDock
)
self
.
AutoRecognition
=
QToolButton
()
self
.
AutoRecognition
.
setToolButtonStyle
(
Qt
.
ToolButtonTextBesideIcon
)
self
.
AutoRecognition
.
setIcon
(
newIcon
(
'Auto'
))
autoRecLayout
=
QHBoxLayout
()
autoRecLayout
.
setContentsMargins
(
0
,
0
,
0
,
0
)
autoRecLayout
.
addWidget
(
self
.
AutoRecognition
)
autoRecContainer
=
QWidget
()
autoRecContainer
.
setLayout
(
autoRecLayout
)
filelistLayout
.
addWidget
(
autoRecContainer
)
# ================== Right Area ==================
# ================== Right Area ==================
listLayout
=
QVBoxLayout
()
listLayout
=
QVBoxLayout
()
listLayout
.
setContentsMargins
(
0
,
0
,
0
,
0
)
listLayout
.
setContentsMargins
(
0
,
0
,
0
,
0
)
...
...
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