On Mon, Jan 19, 2009 at 7:16 PM, Terry Brown <[email protected]> wrote:
> See attached screenshot. Looks great! > The dials replace the bars cleo used to draw on the canvas, the dials > are just icons, in fact from Qt's point on view the priority / status / > progress image is just one icon. Icon ordering is configurable. FWIW, I like these dials more than the bars. > I just encountered some excessive redraw issues with cleo and found a > decorator like this: > > def redrawer(fn): > def new(self, *args, **kargs): > self.redrawLevels += 1 > ans = fn(self,*args, **kargs) > self.redrawLevels -= 1 > if self.redrawLevels == 0: > self.redraw() > return ans > return new > > useful. Maybe, haven't included that code yet. You'll want to have try: finally: around the fn(...) -- Ville M. Vainio http://tinyurl.com/vainio --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
