18 def __pyName(py_dir, py_file): |
18 def __pyName(py_dir, py_file): |
19 """ |
19 """ |
20 Local function to create the Python source file name for the compiled |
20 Local function to create the Python source file name for the compiled |
21 .ui file. |
21 .ui file. |
22 |
22 |
23 @param py_dir suggested name of the directory (string) |
23 @param py_dir suggested name of the directory |
24 @param py_file suggested name for the compile source file (string) |
24 @type str |
25 @return tuple of directory name (string) and source file name (string) |
25 @param py_file suggested name for the compile source file |
|
26 @type str |
|
27 @return tuple of directory name (string) and source file name |
|
28 @rtype str |
26 """ |
29 """ |
27 return py_dir, "Ui_{0}".format(py_file) |
30 return py_dir, "Ui_{0}".format(py_file) |
28 |
31 |
29 |
32 |
30 def __compileOneUi(ui_path, mapFunc=None, execute=False, indent=4): |
33 def __compileOneUi(ui_path, mapFunc=None, execute=False, indent=4): |