$ 0 0 We require all code to be in the question as text. Would be nice to reduce it to something that doesn't depend on Qt too.