Hi, I am happy (and slightly embarrassed) to report that I have solved my problem here. It turns out that inside my MITK plugin all the widgets were being disabled on load, which is why no events were being generated. Re-enabling the widget caused them to come through again loud and clear.
Ben On 15 Apr 2014, at 11:07, Rowland Ben <[email protected]> wrote: > Dear list, > > I am trying to import into MITK a QWidget subclass that I previously > developed in plain Qt. The class is designed to draw a line plot and support > panning and zooming on the data. The code compiles and the widget is > correctly rendered in my plug-in, but none of the normal event functions are > being called any longer (mouseDown, mouseMove, mouseRelease etc.), making > interaction impossible. I know that the render windows rely on the MITK > interaction system to pass all these events around, but I assume that for > other QWidget subclasses like buttons and text boxes the standard Qt event > system is used. How can I get my widget to again receive these events? > > Thanks for any help you can offer, > > Ben > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
