<div dir="ltr"><div><div><div><div>Hi Matt, <br><br></div>The current implementation of the ctkWorkflow widget was based on its KWWidgets counter part [1]. <br><br>(1) If your workflow required the user to go through a pre-defined sequences of steps, it makes sense to re-use the CTK workflow. For example, see <a href="http://public.kitware.com/Wiki/Bender/Documentation/2.0/Modules/SimpleWorkflow" target="_blank">http://public.kitware.com/Wiki/Bender/Documentation/2.0/Modules/SimpleWorkflow</a><br><br></div>(2) On the otherhand, if the user should be able to do any of the "step" (or task) before or after any other one, following the recommendation Andras makes sense.<br><br></div>Hth<br></div>Jc<br><br>[1] <a href="http://www.kwwidgets.org/doc/nightly/html/classvtkKWWizardWorkflow.html#_details" target="_blank">http://www.kwwidgets.org/doc/nightly/html/classvtkKWWizardWorkflow.html#_details</a><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 23, 2015 at 8:42 AM, Andras Lasso <span dir="ltr"><<a href="mailto:lasso@queensu.ca" target="_blank">lasso@queensu.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div>
<div style="font-family:Calibri,sans-serif;font-size:11pt">I would be very interested in others' experiences, too.<br>
<br>
Andras</div>
</div>
<div dir="ltr">
<hr>
<span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">From:
</span><span style="font-family:Calibri,sans-serif;font-size:11pt"><a href="mailto:m.clarkson@ucl.ac.uk" target="_blank">Clarkson, Matt</a></span><br>
<span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Sent:
</span><span style="font-family:Calibri,sans-serif;font-size:11pt">2015-04-23 04:59</span><br>
<span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">To:
</span><span style="font-family:Calibri,sans-serif;font-size:11pt"><a href="mailto:lasso@queensu.ca" target="_blank">Andras Lasso</a></span><br>
<span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Cc:
</span><span style="font-family:Calibri,sans-serif;font-size:11pt"><a href="mailto:ctk-developers@commontk.org" target="_blank">ctk-developers@commontk.org</a></span><br>
<span style="font-family:Calibri,sans-serif;font-size:11pt;font-weight:bold">Subject:
</span><span style="font-family:Calibri,sans-serif;font-size:11pt">Re: Workflow Widgets</span><br>
<br>
</div>
</div><div><div>
<font size="2"><span style="font-size:10pt">
<div>Hi Andras,<br>
<br>
thanks for this. Its good to hear your experience. <br>
If anyone else has any, I’d still love to hear it!<br>
<br>
Thanks all.<br>
<br>
Matt<br>
<br>
On 22 Apr 2015, at 19:59, Andras Lasso <<a href="mailto:lasso@queensu.ca" target="_blank">lasso@queensu.ca</a>> wrote:<br>
<br>
> Hi Matt,<br>
> <br>
> A few years ago we tried to use the CTK (at that time KWWidgets) workflow widget for IGT application GUIs, but we did not find useful for our purposes mainly due to two reasons:<br>
> 1. Usually IGT workflows are simple linear workflows (import pre-op data, calibration/registration, targeting, and verification).<br>
> 2. You never want to prevent the user from jumping to any state at any time. If a state is not meaningful (e.g., you cannot do targeting before calibration) then it is better to let the user to switch to the state, display what you can, and show a short warning
message that explains what you should do (e.g., calibrate first) than simply disabling the "Next" button.<br>
> <br>
> Nowadays we mostly use QToolbox widget or QButtonGroup of ctkCollapsibleButton's. QTabWidget would be nice, too, but usually horizontal space is limited and therefore we could only have maximum 3-4 tabs and short tab captions, which is often not enough.<br>
> <br>
> Andras<br>
> <br>
> -----Original Message-----<br>
> From: Ctk-developers [<a href="mailto:ctk-developers-bounces@public.kitware.com" target="_blank">mailto:ctk-developers-bounces@public.kitware.com</a>] On Behalf Of Clarkson, Matt<br>
> Sent: Wednesday, April 22, 2015 8:50 AM<br>
> To: <a href="mailto:ctk-developers@commontk.org" target="_blank">ctk-developers@commontk.org</a><br>
> Subject: [Ctk-developers] Workflow Widgets<br>
> <br>
> Hi there,<br>
> <br>
> Im looking round for inspiration to code up some IGI workflows.<br>
> <br>
> Does anyone have a good example of CTK workflow widgets? Im looking for:<br>
> a) Nice pictures?<br>
> b) An applicaiton I can run?<br>
> c) Documentation?<br>
> d) Small/medium/large in terms of number of steps and branching.<br>
> <br>
> Thanks<br>
> <br>
> Matt<br>
> <br>
> _______________________________________________<br>
> Ctk-developers mailing list<br>
> <a href="mailto:Ctk-developers@public.kitware.com" target="_blank">Ctk-developers@public.kitware.com</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/ctk-developers</a><br>
<br>
</div>
</span></font>
</div></div></div>
<br>_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@public.kitware.com" target="_blank">Ctk-developers@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/ctk-developers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br></div>
</div></div>