16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgNewProjectOptionsDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgNewProjectOptionsDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the Mercurial Options Dialog for a new project from the |
26 Module implementing the Mercurial Options Dialog for a new project from the |
25 repository. |
27 repository. |
26 </p> |
28 </p> |
27 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
|
30 |
28 <table> |
31 <table> |
29 <tr><td>None</td></tr> |
32 <tr><td>None</td></tr> |
30 </table> |
33 </table> |
31 <h3>Classes</h3> |
34 <h3>Classes</h3> |
|
35 |
32 <table> |
36 <table> |
|
37 |
33 <tr> |
38 <tr> |
34 <td><a href="#HgNewProjectOptionsDialog">HgNewProjectOptionsDialog</a></td> |
39 <td><a href="#HgNewProjectOptionsDialog">HgNewProjectOptionsDialog</a></td> |
35 <td>Class implementing the Options Dialog for a new project from the repository.</td> |
40 <td>Class implementing the Options Dialog for a new project from the repository.</td> |
36 </tr> |
41 </tr> |
37 </table> |
42 </table> |
38 <h3>Functions</h3> |
43 <h3>Functions</h3> |
|
44 |
39 <table> |
45 <table> |
40 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
41 </table> |
47 </table> |
42 <hr /><hr /> |
48 <hr /> |
|
49 <hr /> |
43 <a NAME="HgNewProjectOptionsDialog" ID="HgNewProjectOptionsDialog"></a> |
50 <a NAME="HgNewProjectOptionsDialog" ID="HgNewProjectOptionsDialog"></a> |
44 <h2>HgNewProjectOptionsDialog</h2> |
51 <h2>HgNewProjectOptionsDialog</h2> |
|
52 |
45 <p> |
53 <p> |
46 Class implementing the Options Dialog for a new project from the |
54 Class implementing the Options Dialog for a new project from the |
47 repository. |
55 repository. |
48 </p> |
56 </p> |
49 <h3>Derived from</h3> |
57 <h3>Derived from</h3> |
50 QDialog, Ui_HgNewProjectOptionsDialog |
58 QDialog, Ui_HgNewProjectOptionsDialog |
51 <h3>Class Attributes</h3> |
59 <h3>Class Attributes</h3> |
|
60 |
52 <table> |
61 <table> |
53 <tr><td>None</td></tr> |
62 <tr><td>None</td></tr> |
54 </table> |
63 </table> |
55 <h3>Class Methods</h3> |
64 <h3>Class Methods</h3> |
|
65 |
56 <table> |
66 <table> |
57 <tr><td>None</td></tr> |
67 <tr><td>None</td></tr> |
58 </table> |
68 </table> |
59 <h3>Methods</h3> |
69 <h3>Methods</h3> |
|
70 |
60 <table> |
71 <table> |
|
72 |
61 <tr> |
73 <tr> |
62 <td><a href="#HgNewProjectOptionsDialog.__init__">HgNewProjectOptionsDialog</a></td> |
74 <td><a href="#HgNewProjectOptionsDialog.__init__">HgNewProjectOptionsDialog</a></td> |
63 <td>Constructor</td> |
75 <td>Constructor</td> |
64 </tr><tr> |
76 </tr> |
|
77 <tr> |
65 <td><a href="#HgNewProjectOptionsDialog.__saveHistory">__saveHistory</a></td> |
78 <td><a href="#HgNewProjectOptionsDialog.__saveHistory">__saveHistory</a></td> |
66 <td>Private method to save the repository URL history.</td> |
79 <td>Private method to save the repository URL history.</td> |
67 </tr><tr> |
80 </tr> |
|
81 <tr> |
68 <td><a href="#HgNewProjectOptionsDialog.getData">getData</a></td> |
82 <td><a href="#HgNewProjectOptionsDialog.getData">getData</a></td> |
69 <td>Public slot to retrieve the data entered into the dialog and to save the history of entered repository URLs.</td> |
83 <td>Public slot to retrieve the data entered into the dialog and to save the history of entered repository URLs.</td> |
70 </tr><tr> |
84 </tr> |
|
85 <tr> |
71 <td><a href="#HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged">on_vcsProjectDirPicker_textChanged</a></td> |
86 <td><a href="#HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged">on_vcsProjectDirPicker_textChanged</a></td> |
72 <td>Private slot to handle a change of the project directory.</td> |
87 <td>Private slot to handle a change of the project directory.</td> |
73 </tr><tr> |
88 </tr> |
|
89 <tr> |
74 <td><a href="#HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked">on_vcsUrlClearHistoryButton_clicked</a></td> |
90 <td><a href="#HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked">on_vcsUrlClearHistoryButton_clicked</a></td> |
75 <td>Private slot to clear the history of entered repository URLs.</td> |
91 <td>Private slot to clear the history of entered repository URLs.</td> |
76 </tr><tr> |
92 </tr> |
|
93 <tr> |
77 <td><a href="#HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged">on_vcsUrlPicker_textChanged</a></td> |
94 <td><a href="#HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged">on_vcsUrlPicker_textChanged</a></td> |
78 <td>Private slot to handle changes of the URL.</td> |
95 <td>Private slot to handle changes of the URL.</td> |
79 </tr> |
96 </tr> |
80 </table> |
97 </table> |
81 <h3>Static Methods</h3> |
98 <h3>Static Methods</h3> |
|
99 |
82 <table> |
100 <table> |
83 <tr><td>None</td></tr> |
101 <tr><td>None</td></tr> |
84 </table> |
102 </table> |
|
103 |
85 <a NAME="HgNewProjectOptionsDialog.__init__" ID="HgNewProjectOptionsDialog.__init__"></a> |
104 <a NAME="HgNewProjectOptionsDialog.__init__" ID="HgNewProjectOptionsDialog.__init__"></a> |
86 <h4>HgNewProjectOptionsDialog (Constructor)</h4> |
105 <h4>HgNewProjectOptionsDialog (Constructor)</h4> |
87 <b>HgNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) |
106 <b>HgNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) |
|
107 |
88 <p> |
108 <p> |
89 Constructor |
109 Constructor |
90 </p><dl> |
110 </p> |
|
111 <dl> |
|
112 |
91 <dt><i>vcs</i></dt> |
113 <dt><i>vcs</i></dt> |
92 <dd> |
114 <dd> |
93 reference to the version control object |
115 reference to the version control object |
94 </dd><dt><i>parent</i></dt> |
116 </dd> |
|
117 <dt><i>parent</i></dt> |
95 <dd> |
118 <dd> |
96 parent widget (QWidget) |
119 parent widget (QWidget) |
97 </dd> |
120 </dd> |
98 </dl><a NAME="HgNewProjectOptionsDialog.__saveHistory" ID="HgNewProjectOptionsDialog.__saveHistory"></a> |
121 </dl> |
|
122 <a NAME="HgNewProjectOptionsDialog.__saveHistory" ID="HgNewProjectOptionsDialog.__saveHistory"></a> |
99 <h4>HgNewProjectOptionsDialog.__saveHistory</h4> |
123 <h4>HgNewProjectOptionsDialog.__saveHistory</h4> |
100 <b>__saveHistory</b>(<i></i>) |
124 <b>__saveHistory</b>(<i></i>) |
|
125 |
101 <p> |
126 <p> |
102 Private method to save the repository URL history. |
127 Private method to save the repository URL history. |
103 </p><a NAME="HgNewProjectOptionsDialog.getData" ID="HgNewProjectOptionsDialog.getData"></a> |
128 </p> |
|
129 <a NAME="HgNewProjectOptionsDialog.getData" ID="HgNewProjectOptionsDialog.getData"></a> |
104 <h4>HgNewProjectOptionsDialog.getData</h4> |
130 <h4>HgNewProjectOptionsDialog.getData</h4> |
105 <b>getData</b>(<i></i>) |
131 <b>getData</b>(<i></i>) |
|
132 |
106 <p> |
133 <p> |
107 Public slot to retrieve the data entered into the dialog and to |
134 Public slot to retrieve the data entered into the dialog and to |
108 save the history of entered repository URLs. |
135 save the history of entered repository URLs. |
109 </p><dl> |
136 </p> |
|
137 <dl> |
110 <dt>Returns:</dt> |
138 <dt>Returns:</dt> |
111 <dd> |
139 <dd> |
112 a tuple of a string (project directory) and a dictionary |
140 a tuple of a string (project directory) and a dictionary |
113 containing the data entered. |
141 containing the data entered. |
114 </dd> |
142 </dd> |
115 </dl><a NAME="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged"></a> |
143 </dl> |
|
144 <a NAME="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged"></a> |
116 <h4>HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged</h4> |
145 <h4>HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged</h4> |
117 <b>on_vcsProjectDirPicker_textChanged</b>(<i>txt</i>) |
146 <b>on_vcsProjectDirPicker_textChanged</b>(<i>txt</i>) |
|
147 |
118 <p> |
148 <p> |
119 Private slot to handle a change of the project directory. |
149 Private slot to handle a change of the project directory. |
120 </p><dl> |
150 </p> |
|
151 <dl> |
|
152 |
121 <dt><i>txt</i></dt> |
153 <dt><i>txt</i></dt> |
122 <dd> |
154 <dd> |
123 name of the project directory (string) |
155 name of the project directory (string) |
124 </dd> |
156 </dd> |
125 </dl><a NAME="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> |
157 </dl> |
|
158 <a NAME="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> |
126 <h4>HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> |
159 <h4>HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> |
127 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) |
160 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) |
|
161 |
128 <p> |
162 <p> |
129 Private slot to clear the history of entered repository URLs. |
163 Private slot to clear the history of entered repository URLs. |
130 </p><a NAME="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged"></a> |
164 </p> |
|
165 <a NAME="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged"></a> |
131 <h4>HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged</h4> |
166 <h4>HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged</h4> |
132 <b>on_vcsUrlPicker_textChanged</b>(<i>txt</i>) |
167 <b>on_vcsUrlPicker_textChanged</b>(<i>txt</i>) |
|
168 |
133 <p> |
169 <p> |
134 Private slot to handle changes of the URL. |
170 Private slot to handle changes of the URL. |
135 </p><dl> |
171 </p> |
|
172 <dl> |
|
173 |
136 <dt><i>txt</i></dt> |
174 <dt><i>txt</i></dt> |
137 <dd> |
175 <dd> |
138 current text of the line edit (string) |
176 current text of the line edit (string) |
139 </dd> |
177 </dd> |
140 </dl> |
178 </dl> |