summary refs log tree commit diff stats
path: root/doc/tools/print_keys.py
blob: fecd6fb95753f4ebf893bc250b024a422907887f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python
"""
You can use this tool to find out values of keypresses
"""

from curses import *

sep = '; '

@wrapper
def main(w):
    mousemask(ALL_MOUSE_EVENTS)
    mouseinterval(0)
    while True:
        ch = w.getch()
        if ch == KEY_MOUSE:
            w.addstr(repr(getmouse()) + sep)
        else:
            w.addstr(str(ch) + sep)
s draw_component_as_icon no show_component_req_prov no show_component_rea no show_stereotype_properties no //deployment diagram settings package_name_in_tab no show_context no write_horizontally yes auto_label_position yes draw_all_relations yes shadow yes draw_component_as_icon no show_component_req_prov no show_component_rea no show_stereotype_properties no //state diagram settings package_name_in_tab no show_context no auto_label_position yes write_trans_label_horizontally yes show_trans_definition no draw_all_relations yes shadow yes show_activities yes region_horizontally yes drawing_language uml show_stereotype_properties no //activity diagram settings package_name_in_tab no show_context no show_opaque_action_definition no auto_label_position yes write_flow_label_horizontally no draw_all_relations yes shadow yes show_infonote yes drawing_language uml show_stereotype_properties no class_color yellow duration_color transparent continuation_color gray note_color blue fragment_color transparent subject_color transparent usecase_color yellow package_color transparent component_color green artifact_color green deploymentnode_color gray state_color yellow stateaction_color transparent activity_color transparent activityregion_color transparent activitypartition_color transparent activityaction_color transparent parameterpin_color white font_size 13 diagram_format A4 mark_for_import package_ref 128002 // ranger package_ref 134530 // builtin end