Url for requirements not used
import sys
from PySide6.QtWidgets import QApplication
from PySide6.QtCore import SIGNAL, SLOT, QObject
from PyTasteQtWidgets import TasteQtWidgets as QtTaste # after PySide!
def funca(value):
print(f"maybe its working!!! {value}")
if __name__ == "__main__":
app = QApplication(sys.argv)
url = "" # 1
manager = QtTaste.RequirementsManager()
model = QtTaste.RequirementsModelBase()
manager.listOfRequirements.connect(funca)
widget = QtTaste.RequirementsWidget(url, manager, model)
widget.setToken("blah-blah-blah")
widget.setUrl("https://gitrepos.estec.esa.int/taste/spacecreator") # 2
widget.show()
sys.exit(app.exec())
There seems to be an issue with url
marked # 1
in the code above. If I assign some value, I'd expect that value to be passed through the model to the widget automatically, but that doesn't happen, and it should be set explicitly in # 2
.