Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Arms and Legs Tab to Sign Type Specification View #389

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added src/.DS_Store
Binary file not shown.
Binary file added src/main/.DS_Store
Binary file not shown.
Binary file added src/main/python/.DS_Store
Binary file not shown.
42 changes: 41 additions & 1 deletion src/main/python/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,47 @@
"TWO_HANDS_BOTH_MVMT_DIFF": "2h.both move.move differently",
"TWO_HANDS_BOTH_MVMT_SAME": "2h.both move.move similarly",
"TWO_HANDS_BOTH_MVMT_SEQ": "2h.both move.move similarly.sequential",
"TWO_HANDS_BOTH_MVMT_SIMU": "2h.both move.move similarly.simultaneous"
"TWO_HANDS_BOTH_MVMT_SIMU": "2h.both move.move similarly.simultaneous",

"ONE_ARM": "1a",
"TWO_ARMS": "2a",
"ONE_ARM_MVMT": "1a-mvmt",
"ONE_ARM_NO_MVMT": "1a-no-mvmt",
"TWO_ARMS_SAME_ACONF": "2a-same-aconf",
"TWO_ARMS_DIFF_ACONF": "2a-diff-aconf",
"TWO_ARMS_MAINT_CONT": "2a-contact",
"TWO_ARMS_NO_CONT": "2a-no-contact",
"TWO_ARMS_BISYM": "2a-sym",
"TWO_ARMS_NO_BISYM": "2a-no-sym",
"TWO_ARMS_NO_MVMT": "2a-no-mvmt",
"TWO_ARMS_ONE_MVMT": "2a-1-mvmt",
"TWO_ARMS_BOTH_MVMT": "2a-2-mvmt",
"TWO_ARMS_ONLY_A1": "2a-a1",
"TWO_ARMS_ONLY_A2": "2a-a2",
"TWO_ARMS_BOTH_MVMT_DIFF": "2a-mvmt-diff",
"TWO_ARMS_BOTH_MVMT_SAME": "2a-mvmt-same",
"TWO_ARMS_BOTH_MVMT_SEQ": "2a-mvmt-seq",
"TWO_ARMS_BOTH_MVMT_SIMU": "2a-mvmt-simu",

"ONE_LEG": "1l",
"TWO_LEGS": "2l",
"ONE_LEG_MVMT": "1l-mvmt",
"ONE_LEG_NO_MVMT": "1l-no-mvmt",
"TWO_LEGS_SAME_LCONF": "2l-same-lconf",
"TWO_LEGS_DIFF_LCONF": "2l-diff-lconf",
"TWO_LEGS_MAINT_CONT": "2l-contact",
"TWO_LEGS_NO_CONT": "2l-no-contact",
"TWO_LEGS_BISYM": "2l-sym",
"TWO_LEGS_NO_BISYM": "2l-no-sym",
"TWO_LEGS_NO_MVMT": "2l-no-mvmt",
"TWO_LEGS_ONE_MVMT": "2l-1-mvmt",
"TWO_LEGS_BOTH_MVMT": "2l-2-mvmt",
"TWO_LEGS_ONLY_L1": "2l-l1",
"TWO_LEGS_ONLY_L2": "2l-l2",
"TWO_LEGS_BOTH_MVMT_DIFF": "2l-mvmt-diff",
"TWO_LEGS_BOTH_MVMT_SAME": "2l-mvmt-same",
"TWO_LEGS_BOTH_MVMT_SEQ": "2l-mvmt-seq",
"TWO_LEGS_BOTH_MVMT_SIMU": "2l-mvmt-simu",
}


Expand Down
6 changes: 1 addition & 5 deletions src/main/python/gui/panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,13 +719,9 @@ def handle_xslot_clicked(self):

def handle_signtype_clicked(self):
signtypedialog = SigntypeSelectorDialog(self.mainwindow.current_sign.signtype, parent=self)
signtypedialog.saved_signtype.connect(self.handle_save_signtype)
signtypedialog.saved_signtype.connect(self.mainwindow.signlevel_panel.handle_save_signtype)
signtypedialog.exec_()

def handle_save_signtype(self, signtype):
self.sign.signtype = signtype
self.refreshsign()

def open_module_dialog(self, modulekey, moduletype):
modules_list = self.sign.getmoduledict(moduletype)
module_to_edit = modules_list[modulekey]
Expand Down
524 changes: 504 additions & 20 deletions src/main/python/gui/signtypespecification_view.py

Large diffs are not rendered by default.