Changeset 18
- Timestamp:
- 10/25/08 22:32:26 (2 months ago)
- Files:
-
- trunk/threading/__init__.py (modified) (1 diff)
- trunk/threading/threading.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/threading/__init__.py
r9 r18 29 29 #--------------------------------------------------------------------- 30 30 31 from threading import ThreadingPlugin31 from threading_demo import ThreadingPlugin 32 32 33 33 def name(): trunk/threading/threading.py
r15 r18 165 165 #print "Current thread priority is - ", self.runThread.priority() 166 166 #print "Current mainwindow priority is - ", self.iface.getMainWindow().thread().priority() 167 #self.thread().setPriority(QThread.HighestPriority) 168 #self.runThread.setPriority(QThread.TimeCriticalPriority) 169 #self.iface.thread().setPriority(QThread.HighestPriority) 170 #self.iface.getMainWindow().thread().setPriority(QThread.HighestPriority) 171 #print self.runThread.priority() 172 #print self.iface.thread().priority() 173 #self.runThread.wait() 174 167 175 168 print "Starting up a timer to let the thread run" 176 169 self.timer = QTimer()
