Hi Luis,

I am not actually planning to make the pure-python plugins available in 
MITK - I think it would require quite a lot of infrastructure from MITK 
as a framework which is a quite a big investment of time which I'm not 
ready to do at the moment. However, I feel that with my recent changes 
to the build process which enable creating Qt UI from python, it should 
be relatively easy to at least create a custom plugin which would 
basically just call python to create the UI in CreateQtPartControls 
effectively allowing the majority of the functionality to be implemented 
in python.

You can take a look at my changes in the `development` branch in my fork 
of MITK (rkhlebnikov/MITK)

Rostislav.

On 07/10/2015 13:07, Luis J. Salvatierra wrote:
> Hi Rotislav,
>
> I am very interested in your work, do you have a repository with the
> pure-python plugins? I am currently working with MITK and Python, to
> make Python plugins that access and interact with MITK images. For now
> I've been able to process Raw and Dicom Images from MITK in Python.
>
> If anyone would be interested, everything is in my Github repository
> @ljsalvatierra. Feedback is more than welcome :)
>
> Regards,
> Luis
>
> On 07/10/15 12:42, Rostislav Khlebnikov wrote:
>> 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
>>


------------------------------------------------------------------------------
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

Reply via email to