def btnEvapTS_Clicked(self): # send in currently selected timeseries new_name = '' if self.cboEvapTs.currentIndex() == 0: # create a new one item_type = self._main_form.tree_types["Time Series"] new_item = item_type() new_item.name = self._main_form.new_item_name(item_type) new_name = new_item.name self._frmTimeseries = frmTimeseries(self._main_form, [], new_item, self) else: edit_these = [] edit_these.append(self.cboEvapTs.currentText()) self._frmTimeseries = frmTimeseries(self._main_form, edit_these, None, self) # edit timeseries self._frmTimeseries.setWindowModality(QtCore.Qt.ApplicationModal) self._frmTimeseries.show()
def btnEvapTS_Clicked(self): # edit timeseries # send in currently selected timeseries self._frmTimeseries = frmTimeseries(self._main_form) self._frmTimeseries.show()
def btnTimeSeries_Clicked(self): # send in currently selected timeseries self._frmTimeseries = frmTimeseries(self._main_form) self._frmTimeseries.show()
def btnTimeseries_Clicked(self): # send in currently selected timeseries self._frmTimeseries = frmTimeseries(self._main_form) self._frmTimeseries.show()