Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Merge requests
!282
Refactor member and method names
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Refactor member and method names
refactor
into
master
Overview
0
Commits
1
Pipelines
4
Changes
19
Merged
Oscar Gustafsson
requested to merge
refactor
into
master
2 years ago
Overview
0
Commits
1
Pipelines
4
Changes
19
Expand
0
0
Merge request reports
Compare
master
version 3
ee947296
2 years ago
version 2
8ecf4e4b
2 years ago
version 1
f462db77
2 years ago
master (base)
and
latest version
latest version
e9ec68f9
1 commit,
2 years ago
version 3
ee947296
1 commit,
2 years ago
version 2
8ecf4e4b
1 commit,
2 years ago
version 1
f462db77
1 commit,
2 years ago
19 files
+
531
−
453
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
19
Search (e.g. *.vue) (Ctrl+P)
b_asic/GUI/arrow.py
+
9
−
9
Options
@@ -45,25 +45,25 @@ class Arrow(QGraphicsPathItem):
"""
Remove line and connections to signals etc.
"""
self
.
signal
.
remove_destination
()
self
.
signal
.
remove_source
()
self
.
_window
.
scene
.
removeItem
(
self
)
if
self
in
self
.
_window
.
_arrow
_list
:
self
.
_window
.
_arrow
_list
.
remove
(
self
)
self
.
_window
.
_
scene
.
removeItem
(
self
)
if
self
in
self
.
_window
.
_arrow
s
:
self
.
_window
.
_arrow
s
.
remove
(
self
)
if
self
in
self
.
_window
.
signal
P
ort
Dict
:
for
port1
,
port2
in
self
.
_window
.
signal
P
ort
Dict
[
self
]:
if
self
in
self
.
_window
.
_
signal
_p
ort
s
:
for
port1
,
port2
in
self
.
_window
.
_
signal
_p
ort
s
[
self
]:
for
(
operation
,
operation_ports
,
)
in
self
.
_window
.
port
Dict
.
items
():
)
in
self
.
_window
.
_
port
s
.
items
():
if
(
port1
in
operation_ports
or
port2
in
operation_ports
)
and
operation
in
self
.
_window
.
_operation_to_sfg
:
self
.
_window
.
logger
.
info
(
self
.
_window
.
_
logger
.
info
(
"
Operation detected in existing SFG, removing SFG
"
"
with name:
"
f
"
{
self
.
_window
.
_operation_to_sfg
[
operation
].
name
}
.
"
)
del
self
.
_window
.
sfg_dict
[
del
self
.
_window
.
_
sfg_dict
[
self
.
_window
.
_operation_to_sfg
[
operation
].
name
]
self
.
_window
.
_operation_to_sfg
=
{
@@ -73,7 +73,7 @@ class Arrow(QGraphicsPathItem):
is
not
self
.
_window
.
_operation_to_sfg
[
operation
]
}
del
self
.
_window
.
signal
P
ort
Dict
[
self
]
del
self
.
_window
.
_
signal
_p
ort
s
[
self
]
def
moveLine
(
self
):
"""
Loading