Commit 304bd8ff authored by Flavio TARSETTI's avatar Flavio TARSETTI

[widgets][experimenteditor] patch remote/docker url icons and queue resource models

parent 8846a2dd
Pipeline #35615 failed with stage
in 5 minutes and 5 seconds
...@@ -62,6 +62,7 @@ from ..backend.asset import AssetType ...@@ -62,6 +62,7 @@ from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel from ..backend.assetmodel import AssetModel
from ..backend.resourcemodels import ExperimentResources from ..backend.resourcemodels import ExperimentResources
from ..backend.resourcemodels import AlgorithmResourceModel from ..backend.resourcemodels import AlgorithmResourceModel
from ..backend.resourcemodels import QueueResourceModel
from ..decorators import frozen from ..decorators import frozen
...@@ -126,7 +127,7 @@ class EnvironmentModel(QStandardItemModel): ...@@ -126,7 +127,7 @@ class EnvironmentModel(QStandardItemModel):
def add_row(type_, data): def add_row(type_, data):
visual_name = "{name} ({version})".format(**data) visual_name = "{name} ({version})".format(**data)
icon = QIcon(f":/resources/{type_}") icon = QIcon(f":/resources/img/{type_}")
self.appendRow( self.appendRow(
[ [
QStandardItem(icon, visual_name), QStandardItem(icon, visual_name),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment