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