Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
24d6b5b0
Commit
24d6b5b0
authored
Nov 22, 2019
by
Flavio TARSETTI
Browse files
[widgets][toolchaineditor] filter algorithms by sequential/autonomous types
parent
3d44bde1
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/editor/widgets/toolchaineditor.py
View file @
24d6b5b0
...
...
@@ -62,6 +62,8 @@ from PyQt5.QtWidgets import QLineEdit
from
PyQt5.QtWidgets
import
QMessageBox
from
PyQt5.QtWidgets
import
QColorDialog
from
beat.backend.python.algorithm
import
Algorithm
from
..backend.asset
import
Asset
from
..backend.asset
import
AssetType
from
..backend.assetmodel
import
AssetModel
...
...
@@ -1264,6 +1266,7 @@ class ToolchainEditor(AbstractAssetEditor):
def
__onContextChanged
(
self
):
algorithm_model
=
AlgorithmResourceModel
()
algorithm_model
.
setAnalyzerEnabled
(
False
)
algorithm_model
.
setTypes
([
Algorithm
.
SEQUENTIAL
,
Algorithm
.
AUTONOMOUS
])
dataset_model
=
DatasetResourceModel
()
self
.
dataset_list
=
[
...
...
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