Bachelor Thesis - Computer Graphics Group
Bachelor Thesis - Computer Graphics Group
Bachelor Thesis - Computer Graphics Group
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
The actual pattern editing is done in a separate window called the Pattern<br />
Editor (figure 5.6). A custom widget able to display and edit a polyline has<br />
been developed. The user can also force re-training of all available trainable<br />
recognizers and display the training progress.<br />
Figure 5.5: Pattern-list Editor window<br />
The tree and list controls in the applications use a model/view/controller<br />
(MVC) framework provided by Qt. Custom models and item delegates have<br />
been implemented:<br />
• ApplicationTreeModel provides data for the application tree in the<br />
Configuration window<br />
• GestureMappingModel is responsible for a particular gesture mapping<br />
from an ActionMapping object<br />
• CommandDescriptionDelegate had to be created to customize the<br />
way the command descriptions are displayed on the list<br />
• CommandSelectorDelegate provides a combo-box with a list of all<br />
available commands for each item on the list<br />
• PatternListModel is used in the PatternListEditor window to display<br />
all user defined gesture patterns, as well as in the GestureSelector<br />
to provide a list of gestures corresponding to these patterns<br />
• PatternSamplesModel displays the list of patterns samples for a given<br />
Pattern in the PatternEditor dialog<br />
38