Pop open Karta's configuration form (for the matcher parameters). Note: This function contains some of Karta's UI logic Return Value: result dict iff the form was filled and "OK"ed, None otherwise
(self)
| 674 | |
| 675 | # Overridden base function |
| 676 | def configForm(self): |
| 677 | """Pop open Karta's configuration form (for the matcher parameters). |
| 678 | |
| 679 | Note: |
| 680 | This function contains some of Karta's UI logic |
| 681 | |
| 682 | Return Value: |
| 683 | result dict iff the form was filled and "OK"ed, None otherwise |
| 684 | """ |
| 685 | c = ConfigForm() |
| 686 | c.Compile() |
| 687 | if not c.Execute(): |
| 688 | return None |
| 689 | # return the values to the caller |
| 690 | config_values = { |
| 691 | "config_path": c._config_path.value, |
| 692 | "is_windows": c._is_windows.checked, |
| 693 | } |
| 694 | return config_values |
| 695 | |
| 696 | # Overridden base function |
| 697 | def showMatchesForm(self, prepared_entries, bin_suggested_names, rename_fn): |