Opened 8 years ago

Closed 8 years ago

#95 closed enhancement (fixed)

add protonProgessThread/scatter/monitor/pead/rexp and remove timeProgressBar in experiment.py

Reported by: yanll Owned by: yanll
Priority: minor 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

1 self.protonProgressThread = updateProgressBar(121, 1, 3600)

self.protonProgressThread.partDone.connect(self.updateProtonProgressBar)
self.protonProgressThread.procDone.connect(self.fin)
self.protonProgressThread.start()

2 #self.timeProgressBar = QtGui?.QProgressBar(self)

#self.timeProgressThread = updateProgressBar(121, 1, 3600)
#self.timeProgressThread.partDone.connect(self.updateTimeProgressBar)
#self.timeProgressThread.procDone.connect(self.fin)
#self.timeProgressThread.start()

3 mainSet.py

#time Progress Thread
self.timeProgressThread = updateProgressBar(121, 1, 3600)
self.timeProgressThread.partDone.connect(self.updateTimeProgress)
self.timeProgressThread.procDone.connect(self.fin)
self.timeProgressThread.start()

def updateTimeProgress(self, val):

self.timeProgress.setValue(val)
perct = '{0}%'.format(val)

def fin(self):

pass

Subtickets

Child Tickets

Change History (1)

comment:1 Changed 8 years ago by yanll

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.