Hi Eric, actually, I managed to get everything working and I will probably send a pull request to the CTK repository. So far it seems that it is actually possible to enable pure-python plugins as I successfully integrated a widget created from python into my view. Not sure where such functionality would be on the list of MITK's core priorities, but if you start implementing such a thing - let me know and I could share some of my experience.
Rostislav. On 07/10/2015 10:40, Heim, Eric wrote: > Hi Rostislav, > > At the moment we don't plan to make Qtwidets accessible via python and didn't > try this by now. > We don't access PythonQT directly in MITK. We use the PythonWrapping from CTK > that is based on PythonQT. > You should be able to access the PythonQT tools directly by importing/copying > them into your python runtime. > > Best, > Eric > > -----Ursprüngliche Nachricht----- > Von: Rostislav Khlebnikov [mailto:rostislav.khlebni...@kcl.ac.uk] > Gesendet: Mittwoch, 23. September 2015 17:53 > An: mitk-users@lists.sourceforge.net > Betreff: Re: [mitk-users] Creating widgets from python > > It would be great to get QWidgets in as well. So if you have any pointers - > please let me know > > On 23/09/2015 16:41, Rostislav Khlebnikov wrote: >> Hi guys, >> >> I am trying to let the advanced user the ability to create some >> widgets from the python code. >> Could you please tell me how can I achieve this? I have enabled the >> CTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTUITOOLS which makes >> pythonQt wrap the QtUiTools which seemingly will let me achieve what I >> want (or will it?). >> However, the PythonQt.QtUiTools is not available for import from the >> python console. >> >> Any ideas how to get this functionality to work? >> >> Rostislav. >> >> ---------------------------------------------------------------------- >> -------- Monitor Your Dynamic Infrastructure at Any Scale With >> Datadog! >> Get real-time metrics from all of your servers, apps and tools in one >> place. >> SourceForge users - Click here to start your Free Trial of Datadog now! >> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 >> _______________________________________________ >> mitk-users mailing list >> mitk-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mitk-users > > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > mitk-users mailing list > mitk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Full-scale, agent-less Infrastructure Monitoring from a single dashboard Integrate with 40+ ManageEngine ITSM Solutions for complete visibility Physical-Virtual-Cloud Infrastructure monitoring from one console Real user monitoring with APM Insights and performance trend reports Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140 _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users