Opened 9 years ago

Closed 9 years ago

#59 closed task (fixed)

Add export button in calibration and finish its clicked action in Calibration

Reported by: yanll Owned by: yanll
Priority: major Milestone: pre-alpha
Component: viewer Version: 0.1
Keywords: Cc:
Blocked By: Blocking:
Parent ID: Parent Tickets:
Estimated Number of Hours: 0.0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0

Description


Subtickets

Child Tickets

Change History (2)

comment:1 Changed 9 years ago by yanll

  • Status changed from new to assigned

comment:2 Changed 9 years ago by yanll

  • Resolution set to fixed
  • Status changed from assigned to closed

def export_file(self):

filePath = QtGui?.QFileDialog.getSaveFileName(self,'Save File','/opt/shared/home/yanll/GPPDfly/src/dat/maskData.txt')

if len(filePath) > 0:

with open(filePath, 'w') as theFile:

for i in xrange(self.maskListWidget.count()):

if self.maskListWidget.item(i).checkState() == QtCore?.Qt.Checked:

theFile.write(.join([str(self.maskListWidget.item(i).text()),

'\n']))

Note: See TracTickets for help on using tickets.