GUI/TransientsWidgets.py
def clearPlot(self):  # todo: translate for TransientsSet(), is it really useful?
        """clears all graphs from plot, after asking confermation"""
        reply = QW.QMessageBox.question(self, 'Message',
                                        "Are you sure you want to clear the graph completely?", QW.QMessageBox.Yes |
                                        QW.QMessageBox.No, QW.QMessageBox.No)

        if reply == QW.QMessageBox.Yes:
            self.plotWidget.clear()
clears all graphs from plot, after asking confermation
clears all graphs from plot, after asking confermation
clears all graphs from plot after asking confermation
def clearPlot(self):  
        reply = QW.QMessageBox.question(self, 'Message',
                                        "Are you sure you want to clear the graph completely?", QW.QMessageBox.Yes |
                                        QW.QMessageBox.No, QW.QMessageBox.No)
        if reply == QW.QMessageBox.Yes:
            self.plotWidget.clear()
def clearPlot ( self ) : reply = QW . QMessageBox . question ( self , 'Message' , "Are you sure you want to clear the graph completely?" , QW . QMessageBox . Yes | QW . QMessageBox . No , QW . QMessageBox . No ) if reply == QW . QMessageBox . Yes : self . plotWidget . clear ( )
clears all graphs from plot, after asking confermation
clears all graphs from plot after asking confermation
# todo: translate for TransientsSet(), is it really useful?
 """clears all graphs from plot, after asking confermation"""
self