def getValue(self):
"""
@return the current value of the QSpinBox (string list)
"""
item_list = str(self.lineedit.text()).split(self.separator)
i = 0
while i < len(item_list):
item_list[i] = item_list[i].strip(' ') #remove leading and trailing whitespaces
i += 1
return item_list
评论列表
文章目录