Re: [Maya-Python] qProgressbar update questions

2014-07-21 Thread Kurian O.S
self.ui.pgr_copy_files.Value = bar_val Needs to be self.ui.pgr_copy_files.setValue(bar_val) On Mon, Jul 21, 2014 at 2:51 PM, md wrote: > self.ui.pgr_copy_files.Value = bar_val -- --:: Kurian ::-- -- You received this message because you are subscribed to the Google Groups "Python Pr

[Maya-Python] qProgressbar update questions

2014-07-21 Thread md
Hey guys I have a couple functions where I am copying files. I want to update a progressbar on my form. Here is the basic code (this is inside a function on the form) : inc_val = (100 / hi_val - low_val ) bar_val = 0 for f_no in range(low_val,hi_val): bar_val += inc_val self.ui.pgr_copy_file