Hi Matt, thanks for this new idea, we had a short discussion on it at a MITK meeting. Your suggested feature is interesting for MITK and I just added a feature request to our bug tracker: http://bugs.mitk.org/show_bug.cgi?id=11077 If anyone has further ideas on this topic, we can discuss them there.
Greets, Alfred Am 15.02.2012 09:34, schrieb Clarkson, Matt: > Hi Everyone, > > This may also be relevant to this debate: > http://bugs.mitk.org/show_bug.cgi?id=10963 > > I think that for more general usage, the user needs to be able to register > potentially any list of interactors with the QmitkStdMultiWidget. > At the moment the QmitkStdMultiWidgetEditor contains QmitkMouseModeSwitcher, > which gets connected to the QmitkStdMultiWidget which contains a > mitk::MouseModeSwitcher. > > However the mitk::MouseModeSwitcher contains an enum InteractionScheme with > only 2 modes, and a specific MouseMode, which is only valid for one of those > InteractionScheme modes. > > I think it could be done nicely with a Chain of Responsibility pattern. > Basically the MouseModeSwitcher could simply register a chain of objects, > each of which can turn off/on a given interactor or list of interactors. > When you want to change a mode, you pass a QString describing the mode name > and each switcher can decide whether or not to respond to that token, > registering/deregistering interactors as necessary. > > Does anyone have a thought on this? Is it already work in progress? > > Thanks > > Matt > > > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users > -- Alfred Franz Deutsches Krebsforschungszentrum Abteilung Medizinische und Biologische Informatik Im Neuenheimer Feld 280 69120 Heidelberg Telefon: (+49) 6221/42-2330 Fax: (+49) 6221/42-2345 eMail: [email protected] http://mbi.dkfz-heidelberg.de ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
