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