5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the Git Options Dialog for a new project from the |
11 Module implementing the Git Options Dialog for a new project from the |
13 repository. |
12 repository. |
14 </p> |
13 </p> |
|
14 |
15 <h3>Global Attributes</h3> |
15 <h3>Global Attributes</h3> |
16 |
|
17 <table> |
16 <table> |
18 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
19 </table> |
18 </table> |
|
19 |
20 <h3>Classes</h3> |
20 <h3>Classes</h3> |
21 |
|
22 <table> |
21 <table> |
23 |
|
24 <tr> |
22 <tr> |
25 <td><a href="#GitNewProjectOptionsDialog">GitNewProjectOptionsDialog</a></td> |
23 <td><a href="#GitNewProjectOptionsDialog">GitNewProjectOptionsDialog</a></td> |
26 <td>Class implementing the Options Dialog for a new project from the repository.</td> |
24 <td>Class implementing the Options Dialog for a new project from the repository.</td> |
27 </tr> |
25 </tr> |
28 </table> |
26 </table> |
|
27 |
29 <h3>Functions</h3> |
28 <h3>Functions</h3> |
30 |
|
31 <table> |
29 <table> |
32 <tr><td>None</td></tr> |
30 <tr><td>None</td></tr> |
33 </table> |
31 </table> |
|
32 |
34 <hr /> |
33 <hr /> |
35 <hr /> |
34 <hr /> |
36 <a NAME="GitNewProjectOptionsDialog" ID="GitNewProjectOptionsDialog"></a> |
35 <a NAME="GitNewProjectOptionsDialog" ID="GitNewProjectOptionsDialog"></a> |
37 <h2>GitNewProjectOptionsDialog</h2> |
36 <h2>GitNewProjectOptionsDialog</h2> |
38 |
|
39 <p> |
37 <p> |
40 Class implementing the Options Dialog for a new project from the |
38 Class implementing the Options Dialog for a new project from the |
41 repository. |
39 repository. |
42 </p> |
40 </p> |
|
41 |
43 <h3>Derived from</h3> |
42 <h3>Derived from</h3> |
44 QDialog, Ui_GitNewProjectOptionsDialog |
43 QDialog, Ui_GitNewProjectOptionsDialog |
45 <h3>Class Attributes</h3> |
44 <h3>Class Attributes</h3> |
46 |
|
47 <table> |
45 <table> |
48 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
49 </table> |
47 </table> |
|
48 |
50 <h3>Class Methods</h3> |
49 <h3>Class Methods</h3> |
51 |
|
52 <table> |
50 <table> |
53 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
54 </table> |
52 </table> |
|
53 |
55 <h3>Methods</h3> |
54 <h3>Methods</h3> |
56 |
|
57 <table> |
55 <table> |
58 |
|
59 <tr> |
56 <tr> |
60 <td><a href="#GitNewProjectOptionsDialog.__init__">GitNewProjectOptionsDialog</a></td> |
57 <td><a href="#GitNewProjectOptionsDialog.__init__">GitNewProjectOptionsDialog</a></td> |
61 <td>Constructor</td> |
58 <td>Constructor</td> |
62 </tr> |
59 </tr> |
63 <tr> |
60 <tr> |
87 <tr> |
84 <tr> |
88 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged">on_vcsUrlCombo_editTextChanged</a></td> |
85 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged">on_vcsUrlCombo_editTextChanged</a></td> |
89 <td>Private slot to handle changes of the URL.</td> |
86 <td>Private slot to handle changes of the URL.</td> |
90 </tr> |
87 </tr> |
91 </table> |
88 </table> |
|
89 |
92 <h3>Static Methods</h3> |
90 <h3>Static Methods</h3> |
93 |
|
94 <table> |
91 <table> |
95 <tr><td>None</td></tr> |
92 <tr><td>None</td></tr> |
96 </table> |
93 </table> |
97 |
94 |
|
95 |
98 <a NAME="GitNewProjectOptionsDialog.__init__" ID="GitNewProjectOptionsDialog.__init__"></a> |
96 <a NAME="GitNewProjectOptionsDialog.__init__" ID="GitNewProjectOptionsDialog.__init__"></a> |
99 <h4>GitNewProjectOptionsDialog (Constructor)</h4> |
97 <h4>GitNewProjectOptionsDialog (Constructor)</h4> |
100 <b>GitNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) |
98 <b>GitNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) |
101 |
|
102 <p> |
99 <p> |
103 Constructor |
100 Constructor |
104 </p> |
101 </p> |
|
102 |
105 <dl> |
103 <dl> |
106 |
104 |
107 <dt><i>vcs</i> (Git)</dt> |
105 <dt><i>vcs</i> (Git)</dt> |
108 <dd> |
106 <dd> |
109 reference to the version control object |
107 reference to the version control object |
114 </dd> |
112 </dd> |
115 </dl> |
113 </dl> |
116 <a NAME="GitNewProjectOptionsDialog.__saveHistory" ID="GitNewProjectOptionsDialog.__saveHistory"></a> |
114 <a NAME="GitNewProjectOptionsDialog.__saveHistory" ID="GitNewProjectOptionsDialog.__saveHistory"></a> |
117 <h4>GitNewProjectOptionsDialog.__saveHistory</h4> |
115 <h4>GitNewProjectOptionsDialog.__saveHistory</h4> |
118 <b>__saveHistory</b>(<i></i>) |
116 <b>__saveHistory</b>(<i></i>) |
119 |
|
120 <p> |
117 <p> |
121 Private method to save the repository URL history. |
118 Private method to save the repository URL history. |
122 </p> |
119 </p> |
|
120 |
123 <a NAME="GitNewProjectOptionsDialog.getData" ID="GitNewProjectOptionsDialog.getData"></a> |
121 <a NAME="GitNewProjectOptionsDialog.getData" ID="GitNewProjectOptionsDialog.getData"></a> |
124 <h4>GitNewProjectOptionsDialog.getData</h4> |
122 <h4>GitNewProjectOptionsDialog.getData</h4> |
125 <b>getData</b>(<i></i>) |
123 <b>getData</b>(<i></i>) |
126 |
|
127 <p> |
124 <p> |
128 Public slot to retrieve the data entered into the dialog. |
125 Public slot to retrieve the data entered into the dialog. |
129 </p> |
126 </p> |
|
127 |
130 <dl> |
128 <dl> |
131 <dt>Return:</dt> |
129 <dt>Return:</dt> |
132 <dd> |
130 <dd> |
133 a tuple of a string (project directory) and a dictionary |
131 a tuple of a string (project directory) and a dictionary |
134 containing the data entered |
132 containing the data entered |
141 </dd> |
139 </dd> |
142 </dl> |
140 </dl> |
143 <a NAME="GitNewProjectOptionsDialog.on_projectDirButton_clicked" ID="GitNewProjectOptionsDialog.on_projectDirButton_clicked"></a> |
141 <a NAME="GitNewProjectOptionsDialog.on_projectDirButton_clicked" ID="GitNewProjectOptionsDialog.on_projectDirButton_clicked"></a> |
144 <h4>GitNewProjectOptionsDialog.on_projectDirButton_clicked</h4> |
142 <h4>GitNewProjectOptionsDialog.on_projectDirButton_clicked</h4> |
145 <b>on_projectDirButton_clicked</b>(<i></i>) |
143 <b>on_projectDirButton_clicked</b>(<i></i>) |
146 |
|
147 <p> |
144 <p> |
148 Private slot to display a directory selection dialog. |
145 Private slot to display a directory selection dialog. |
149 </p> |
146 </p> |
|
147 |
150 <a NAME="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged" ID="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged"></a> |
148 <a NAME="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged" ID="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged"></a> |
151 <h4>GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged</h4> |
149 <h4>GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged</h4> |
152 <b>on_vcsProjectDirEdit_textChanged</b>(<i>txt</i>) |
150 <b>on_vcsProjectDirEdit_textChanged</b>(<i>txt</i>) |
153 |
|
154 <p> |
151 <p> |
155 Private slot to handle a change of the project directory. |
152 Private slot to handle a change of the project directory. |
156 </p> |
153 </p> |
|
154 |
157 <dl> |
155 <dl> |
158 |
156 |
159 <dt><i>txt</i> (str)</dt> |
157 <dt><i>txt</i> (str)</dt> |
160 <dd> |
158 <dd> |
161 name of the project directory |
159 name of the project directory |
162 </dd> |
160 </dd> |
163 </dl> |
161 </dl> |
164 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked"></a> |
162 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked"></a> |
165 <h4>GitNewProjectOptionsDialog.on_vcsUrlButton_clicked</h4> |
163 <h4>GitNewProjectOptionsDialog.on_vcsUrlButton_clicked</h4> |
166 <b>on_vcsUrlButton_clicked</b>(<i></i>) |
164 <b>on_vcsUrlButton_clicked</b>(<i></i>) |
167 |
|
168 <p> |
165 <p> |
169 Private slot to display a selection dialog. |
166 Private slot to display a selection dialog. |
170 </p> |
167 </p> |
|
168 |
171 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> |
169 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> |
172 <h4>GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> |
170 <h4>GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> |
173 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) |
171 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) |
174 |
|
175 <p> |
172 <p> |
176 Private slot to clear the history of entered repository URLs. |
173 Private slot to clear the history of entered repository URLs. |
177 </p> |
174 </p> |
|
175 |
178 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged" ID="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged"></a> |
176 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged" ID="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged"></a> |
179 <h4>GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged</h4> |
177 <h4>GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged</h4> |
180 <b>on_vcsUrlCombo_editTextChanged</b>(<i>txt</i>) |
178 <b>on_vcsUrlCombo_editTextChanged</b>(<i>txt</i>) |
181 |
|
182 <p> |
179 <p> |
183 Private slot to handle changes of the URL. |
180 Private slot to handle changes of the URL. |
184 </p> |
181 </p> |
|
182 |
185 <dl> |
183 <dl> |
186 |
184 |
187 <dt><i>txt</i> (str)</dt> |
185 <dt><i>txt</i> (str)</dt> |
188 <dd> |
186 <dd> |
189 current text of the combo box |
187 current text of the combo box |