36 @param project reference to the project object |
36 @param project reference to the project object |
37 @param new flag indicating the generation of a new project |
37 @param new flag indicating the generation of a new project |
38 @param parent parent widget of this dialog (QWidget) |
38 @param parent parent widget of this dialog (QWidget) |
39 @param name name of this dialog (string) |
39 @param name name of this dialog (string) |
40 """ |
40 """ |
|
41 # TODO: add a checkbox to select if project should be version controlled |
|
42 # only show the checkbox, if new is true |
|
43 # disable checkbox, if no VCS is available |
41 super().__init__(parent) |
44 super().__init__(parent) |
42 if name: |
45 if name: |
43 self.setObjectName(name) |
46 self.setObjectName(name) |
44 self.setupUi(self) |
47 self.setupUi(self) |
45 |
48 |