Pyqt - Removable widgets: Link button to a function

80 views Asked by At

In the following code (see download link), I want to create removable widgets in a layout for vector plotting. In a generic removable widget I would like to include a button that allows the plotting. My problem is that I can not link the button created (line 49 in the file) to a plotting function (line 60 in the file). Sorry if the question is trivial but I am quite new to Pyqt. You can download the source file from this link:

Source file download

Thank you very much

0

There are 0 answers