Exemple #1
0
 def my_disconnect(self):
     self.plot_info.my_disconnect()
     self.plot_canvas.remove_plot(self.plot)
     QWidget.disconnect(self.plot_info,
                        SIGNAL("change_plot"),
                        self.change_plot)
Exemple #2
0
 def my_disconnect(self):
     self.hide()
     QWidget.disconnect(self.curve_box,
                        SIGNAL("currentIndexChanged(int)"),
                        self.change_plot)
     self.info_panel.layout.removeWidget(self)