Professional Documents
Culture Documents
Agenda
Introduce the user to a simple way of creating effective and robust GUI apps in Python. Presentation proceeds as:
Briefing about self. The usual GUI creation paradigm The Traits GUI creation paradigm The libraries used Walk through of an example Q&A
Scientific Computing...
Changing Visualization layouts is HARD !!!
What if customer requirement change often... What if same data model needs to be shown differently to different audiences... Fork apps ??
Introduction to Traits
TraitsUI
Handles UI creation and back-end rendering
Introduction to TraitsUI
V = View
The visual aspect of your solution Needs to be 'connected' with the data that it 'shows'
C = Controller
The executive component that connects & controls information flow between Model & View(s) Sometimes part of the Model, but recommended to be different.
Use Traits and TraitsUI infrastructure to stitch the above. For a traits based app, the view comes almost for free !! React quickly to changing requirements. Geared towards Scientific Computing community. More focus on productivity than nicety of look-&-feel.
Traits
TraitsUI
WxWidgets
Qt
Focus on the class definitions that contain all the data Focus on how they are nested
Resources
http://python.mirocommunity.org/video/1788/pyohio-2010-gui-tools
Q&A