Documentation of BanghamLab utilities: Difference between revisions

From BanghamLab
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
=In preparation=
=In preparation=
=='''''GuiDemo''''' for rapidly creating user interfaces from simple dialogues to full applications==
=='''''GuiDemo''''' for rapidly creating user interfaces from simple dialogues to full applications==
Whilst the Matlab ''guide'' is very useful for rapidly creating graphical user interfaces (GUIs) with an arbitrary layout, we find that it is even quicker to base a GUI on ''GuiDemo''.
Whilst the Matlab ''guide'' is very useful for rapidly creating graphical user interfaces (GUIs) with an arbitrary layout, we find that it is even quicker to base a GUI on ''GuiDemo''. <br>
Why? Because we find it easier to delete things we don't want, and modify those that we do want, rather than starting with a blank screen.
===Creating a GUI based on GuiDemo===
===Creating a GUI based on GuiDemo===
Description of how the ''ConnectedSets'' Gui was created.<br>
#Copy the contents of ''\DArT_Toolshed\ToolBag\Demo of JRK GUI'' to your working directory.
#Copy the contents of ''\DArT_Toolshed\ToolBag\Demo of JRK GUI'' to your working directory.
#Rename, e.g. ''GuiDemo.m'' to ''ConnectedSets.m'' and ''GuiDemoLayout.txt'' to ''ConnectedSetsLayout.txt''
#Rename, e.g. ''GuiDemo.m'' to ''ConnectedSets.m'' and ''GuiDemoLayout.txt'' to ''ConnectedSetsLayout.txt''
#Within  ''ConnectedSets.m'' replace all strings ''GuiDemo'' by  ''ConnectedSets''. We now have a working template.
#Within  ''ConnectedSets.m'' replace all strings ''GuiDemo'' by  ''ConnectedSets''. We now have a working template.

Revision as of 11:17, 30 March 2013

[Return to Software]

In preparation

GuiDemo for rapidly creating user interfaces from simple dialogues to full applications

Whilst the Matlab guide is very useful for rapidly creating graphical user interfaces (GUIs) with an arbitrary layout, we find that it is even quicker to base a GUI on GuiDemo.
Why? Because we find it easier to delete things we don't want, and modify those that we do want, rather than starting with a blank screen.

Creating a GUI based on GuiDemo

Description of how the ConnectedSets Gui was created.

  1. Copy the contents of \DArT_Toolshed\ToolBag\Demo of JRK GUI to your working directory.
  2. Rename, e.g. GuiDemo.m to ConnectedSets.m and GuiDemoLayout.txt to ConnectedSetsLayout.txt
  3. Within ConnectedSets.m replace all strings GuiDemo by ConnectedSets. We now have a working template.