Package liveusb :: Module gui :: Class ProgressThread
[hide private]
[frames] | no frames]

Class ProgressThread

source code

PyQt4.QtCore.QThread --+
                       |
                      ProgressThread

A thread that monitors the progress of Live USB creation.

This thread periodically checks the amount of free space left on the given drive and sends a signal to our main dialog window to update the progress bar.

Instance Methods [hide private]
 
set_data(self, size, drive, freebytes) source code
 
run(self) source code
 
terminate(self) source code
Class Variables [hide private]
  totalsize = 0
  orig_free = 0
  drive = None
  get_free_bytes = None