blitzmann / Pyfa

Python fitting assistant, cross-platform fitting tool for EVE Online
GNU General Public License v3.0
3 stars 0 forks source link

Progress dialog #23

Closed blitzmann closed 9 years ago

blitzmann commented 9 years ago

Current issues:

Importing many EFT cfg files can cause python to crash (presumably because it's going to fast). It's unique in that there are many files with few fits rather than many fits in one file, and so the current import method (dialog per file) is ineffective.

We should split progress updates between per file vs per fit. Perhaps write a class that incorporates progressdialog, that does some fancy math to determine progress - if we are doing 15 files, one of which is a large XML file and the rest EFT cfg files, determine max progress value as # of fits in XML + number of ships to process via EFT and just use 1 dialog box?

or just don't worry about new progress dialog when importing fits. Give another means of progress. It is difficult to use as we are relying on variable user-supplied data

I never liked the "in progress" animation for pyfa. It doesn't give you any information, and just doesn't look great. wxPython comes with a handy wx.ProgressDialog that can replace it.

Before (fit backup/import): processing

After (backup): progress

After (importing): processing2

I've done light testing on Linux and OS X, and they seem to work great as well. It's not finished