tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

need status-working messages #55

Closed tallforasmurf closed 12 years ago

tallforasmurf commented 12 years ago

During the load of a previously saved file, the documentHasChanged signal causes a lot of tables to refresh themselves, and this adds several seconds of silence to the duration of the load.

To mitigate, each table that is refreshing needs to put a display in the status message field. "Updating Word table..." etc.

Currently pqMsgs only supports the status field as part of starting the progress bar. Pull that out, make it a separate function pqMsgs.showStatus() and pqMsgs.clearStatus(), and add those calls to any panel that honors documentHasChanged with a refresh.

tallforasmurf commented 12 years ago

The problem turned out to be confined to pqWords, where changing setSortingEnabled was causing redundant sorts. Set it to True on instantiation and left it that way, no further changes, and magically the delay went away.