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.vcsMercurial.HgNewProjectOptionsDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgNewProjectOptionsDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the Mercurial Options Dialog for a new project from the |
11 Module implementing the Mercurial 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="#HgNewProjectOptionsDialog">HgNewProjectOptionsDialog</a></td> |
23 <td><a href="#HgNewProjectOptionsDialog">HgNewProjectOptionsDialog</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="HgNewProjectOptionsDialog" ID="HgNewProjectOptionsDialog"></a> |
35 <a NAME="HgNewProjectOptionsDialog" ID="HgNewProjectOptionsDialog"></a> |
37 <h2>HgNewProjectOptionsDialog</h2> |
36 <h2>HgNewProjectOptionsDialog</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_HgNewProjectOptionsDialog |
43 QDialog, Ui_HgNewProjectOptionsDialog |
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="#HgNewProjectOptionsDialog.__init__">HgNewProjectOptionsDialog</a></td> |
57 <td><a href="#HgNewProjectOptionsDialog.__init__">HgNewProjectOptionsDialog</a></td> |
61 <td>Constructor</td> |
58 <td>Constructor</td> |
62 </tr> |
59 </tr> |
63 <tr> |
60 <tr> |
79 <tr> |
76 <tr> |
80 <td><a href="#HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged">on_vcsUrlPicker_textChanged</a></td> |
77 <td><a href="#HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged">on_vcsUrlPicker_textChanged</a></td> |
81 <td>Private slot to handle changes of the URL.</td> |
78 <td>Private slot to handle changes of the URL.</td> |
82 </tr> |
79 </tr> |
83 </table> |
80 </table> |
|
81 |
84 <h3>Static Methods</h3> |
82 <h3>Static Methods</h3> |
85 |
|
86 <table> |
83 <table> |
87 <tr><td>None</td></tr> |
84 <tr><td>None</td></tr> |
88 </table> |
85 </table> |
89 |
86 |
|
87 |
90 <a NAME="HgNewProjectOptionsDialog.__init__" ID="HgNewProjectOptionsDialog.__init__"></a> |
88 <a NAME="HgNewProjectOptionsDialog.__init__" ID="HgNewProjectOptionsDialog.__init__"></a> |
91 <h4>HgNewProjectOptionsDialog (Constructor)</h4> |
89 <h4>HgNewProjectOptionsDialog (Constructor)</h4> |
92 <b>HgNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) |
90 <b>HgNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) |
93 |
|
94 <p> |
91 <p> |
95 Constructor |
92 Constructor |
96 </p> |
93 </p> |
|
94 |
97 <dl> |
95 <dl> |
98 |
96 |
99 <dt><i>vcs</i> (Hg)</dt> |
97 <dt><i>vcs</i> (Hg)</dt> |
100 <dd> |
98 <dd> |
101 reference to the version control object |
99 reference to the version control object |
106 </dd> |
104 </dd> |
107 </dl> |
105 </dl> |
108 <a NAME="HgNewProjectOptionsDialog.__saveHistory" ID="HgNewProjectOptionsDialog.__saveHistory"></a> |
106 <a NAME="HgNewProjectOptionsDialog.__saveHistory" ID="HgNewProjectOptionsDialog.__saveHistory"></a> |
109 <h4>HgNewProjectOptionsDialog.__saveHistory</h4> |
107 <h4>HgNewProjectOptionsDialog.__saveHistory</h4> |
110 <b>__saveHistory</b>(<i></i>) |
108 <b>__saveHistory</b>(<i></i>) |
111 |
|
112 <p> |
109 <p> |
113 Private method to save the repository URL history. |
110 Private method to save the repository URL history. |
114 </p> |
111 </p> |
|
112 |
115 <a NAME="HgNewProjectOptionsDialog.getData" ID="HgNewProjectOptionsDialog.getData"></a> |
113 <a NAME="HgNewProjectOptionsDialog.getData" ID="HgNewProjectOptionsDialog.getData"></a> |
116 <h4>HgNewProjectOptionsDialog.getData</h4> |
114 <h4>HgNewProjectOptionsDialog.getData</h4> |
117 <b>getData</b>(<i></i>) |
115 <b>getData</b>(<i></i>) |
118 |
|
119 <p> |
116 <p> |
120 Public slot to retrieve the data entered into the dialog and to |
117 Public slot to retrieve the data entered into the dialog and to |
121 save the history of entered repository URLs. |
118 save the history of entered repository URLs. |
122 </p> |
119 </p> |
|
120 |
123 <dl> |
121 <dl> |
124 <dt>Return:</dt> |
122 <dt>Return:</dt> |
125 <dd> |
123 <dd> |
126 tuple containing the project directory and a dictionary |
124 tuple containing the project directory and a dictionary |
127 containing the data entered |
125 containing the data entered |
134 </dd> |
132 </dd> |
135 </dl> |
133 </dl> |
136 <a NAME="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged"></a> |
134 <a NAME="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged"></a> |
137 <h4>HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged</h4> |
135 <h4>HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged</h4> |
138 <b>on_vcsProjectDirPicker_textChanged</b>(<i>txt</i>) |
136 <b>on_vcsProjectDirPicker_textChanged</b>(<i>txt</i>) |
139 |
|
140 <p> |
137 <p> |
141 Private slot to handle a change of the project directory. |
138 Private slot to handle a change of the project directory. |
142 </p> |
139 </p> |
|
140 |
143 <dl> |
141 <dl> |
144 |
142 |
145 <dt><i>txt</i> (str)</dt> |
143 <dt><i>txt</i> (str)</dt> |
146 <dd> |
144 <dd> |
147 name of the project directory |
145 name of the project directory |
148 </dd> |
146 </dd> |
149 </dl> |
147 </dl> |
150 <a NAME="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> |
148 <a NAME="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> |
151 <h4>HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> |
149 <h4>HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> |
152 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) |
150 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) |
153 |
|
154 <p> |
151 <p> |
155 Private slot to clear the history of entered repository URLs. |
152 Private slot to clear the history of entered repository URLs. |
156 </p> |
153 </p> |
|
154 |
157 <a NAME="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged"></a> |
155 <a NAME="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged"></a> |
158 <h4>HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged</h4> |
156 <h4>HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged</h4> |
159 <b>on_vcsUrlPicker_textChanged</b>(<i>txt</i>) |
157 <b>on_vcsUrlPicker_textChanged</b>(<i>txt</i>) |
160 |
|
161 <p> |
158 <p> |
162 Private slot to handle changes of the URL. |
159 Private slot to handle changes of the URL. |
163 </p> |
160 </p> |
|
161 |
164 <dl> |
162 <dl> |
165 |
163 |
166 <dt><i>txt</i> (str)</dt> |
164 <dt><i>txt</i> (str)</dt> |
167 <dd> |
165 <dd> |
168 current text of the line edit |
166 current text of the line edit |