thank you!
This should work.
But I cannot believe QT doesn't have a simple command to set the editing behavior in a tree view, as we want it

thanks again,
sebastian


On 10/18/2011 1:22 PM, Miklos Espak wrote:
I have made a fix for this.
You can find it here:
https://github.com/cim-unito/MITK/issues/26

On Wed, Oct 12, 2011 at 9:47 PM, Miklos Espak <[email protected] <mailto:[email protected]>> wrote:

    The code snippet is also fine, of course.

    Thanks,
    Miklos

    On 2011.10.12. 21:29, "sebastian ordas" <[email protected]
    <mailto:[email protected]>> wrote:

        Hi Miklos,

        I don´t use hithub in this project but I can eventually do
        that if I implement it, or just send you the code snippet

        best regards
        sebastian


        On 10/12/2011 3:40 PM, Miklos Espak wrote:


        On 2011.10.12. 19:07, "sebastian ordas"
        <[email protected]
        <mailto:[email protected]>> wrote:
        >
        > Hi Miklos,
        >
        > ok, I see.
        >
        >
        > >> So, you use your own tree model and view? How did you
        replace the original ones?
        >
        > I use the original tree model and view.  Maybe with some
        minor modification that I don't remember right now
        > At some point I would like to implement a new tree model
        and view in which e.g the node愀 color can be shown, together
        with some other property.
        >
        > But for the current issue, I guess the quickest  solution
        would be to have a new action, e.g. similar to m_SaveAction,
        in which one can edit a new name for the node, with some
        accept and cancel buttons

        Yes, I wanted to suggest the same. It can be done even from
        an other plugin. I think this would be a useful improvement.
        If you want to do that, you could eventually clone my fork
        and check out the commit that I have linked, and add the code
        there.

        Then the MITK guys can easily integrate it to the upstream.
        Are you on GitHub?

        Miklos


        >
        > best regards
        > sebastian
        >




------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to