src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10438
4cd7e5a8b3cf
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog</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.vcsGit.GitNewProjectOptionsDialog</h1>
10
11 <p>
12 Module implementing the Git 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="#GitNewProjectOptionsDialog">GitNewProjectOptionsDialog</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="GitNewProjectOptionsDialog" ID="GitNewProjectOptionsDialog"></a>
37 <h2>GitNewProjectOptionsDialog</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_GitNewProjectOptionsDialog
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="#GitNewProjectOptionsDialog.__init__">GitNewProjectOptionsDialog</a></td>
61 <td>Constructor</td>
62 </tr>
63 <tr>
64 <td><a href="#GitNewProjectOptionsDialog.__saveHistory">__saveHistory</a></td>
65 <td>Private method to save the repository URL history.</td>
66 </tr>
67 <tr>
68 <td><a href="#GitNewProjectOptionsDialog.getData">getData</a></td>
69 <td>Public slot to retrieve the data entered into the dialog.</td>
70 </tr>
71 <tr>
72 <td><a href="#GitNewProjectOptionsDialog.on_projectDirButton_clicked">on_projectDirButton_clicked</a></td>
73 <td>Private slot to display a directory selection dialog.</td>
74 </tr>
75 <tr>
76 <td><a href="#GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged">on_vcsProjectDirEdit_textChanged</a></td>
77 <td>Private slot to handle a change of the project directory.</td>
78 </tr>
79 <tr>
80 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlButton_clicked">on_vcsUrlButton_clicked</a></td>
81 <td>Private slot to display a selection dialog.</td>
82 </tr>
83 <tr>
84 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked">on_vcsUrlClearHistoryButton_clicked</a></td>
85 <td>Private slot to clear the history of entered repository URLs.</td>
86 </tr>
87 <tr>
88 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged">on_vcsUrlCombo_editTextChanged</a></td>
89 <td>Private slot to handle changes of the URL.</td>
90 </tr>
91 </table>
92 <h3>Static Methods</h3>
93
94 <table>
95 <tr><td>None</td></tr>
96 </table>
97
98 <a NAME="GitNewProjectOptionsDialog.__init__" ID="GitNewProjectOptionsDialog.__init__"></a>
99 <h4>GitNewProjectOptionsDialog (Constructor)</h4>
100 <b>GitNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>)
101
102 <p>
103 Constructor
104 </p>
105 <dl>
106
107 <dt><i>vcs</i></dt>
108 <dd>
109 reference to the version control object
110 </dd>
111 <dt><i>parent</i></dt>
112 <dd>
113 parent widget (QWidget)
114 </dd>
115 </dl>
116 <a NAME="GitNewProjectOptionsDialog.__saveHistory" ID="GitNewProjectOptionsDialog.__saveHistory"></a>
117 <h4>GitNewProjectOptionsDialog.__saveHistory</h4>
118 <b>__saveHistory</b>(<i></i>)
119
120 <p>
121 Private method to save the repository URL history.
122 </p>
123 <a NAME="GitNewProjectOptionsDialog.getData" ID="GitNewProjectOptionsDialog.getData"></a>
124 <h4>GitNewProjectOptionsDialog.getData</h4>
125 <b>getData</b>(<i></i>)
126
127 <p>
128 Public slot to retrieve the data entered into the dialog.
129 </p>
130 <dl>
131 <dt>Return:</dt>
132 <dd>
133 a tuple of a string (project directory) and a dictionary
134 containing the data entered.
135 </dd>
136 </dl>
137 <a NAME="GitNewProjectOptionsDialog.on_projectDirButton_clicked" ID="GitNewProjectOptionsDialog.on_projectDirButton_clicked"></a>
138 <h4>GitNewProjectOptionsDialog.on_projectDirButton_clicked</h4>
139 <b>on_projectDirButton_clicked</b>(<i></i>)
140
141 <p>
142 Private slot to display a directory selection dialog.
143 </p>
144 <a NAME="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged" ID="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged"></a>
145 <h4>GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged</h4>
146 <b>on_vcsProjectDirEdit_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="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked"></a>
159 <h4>GitNewProjectOptionsDialog.on_vcsUrlButton_clicked</h4>
160 <b>on_vcsUrlButton_clicked</b>(<i></i>)
161
162 <p>
163 Private slot to display a selection dialog.
164 </p>
165 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a>
166 <h4>GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4>
167 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>)
168
169 <p>
170 Private slot to clear the history of entered repository URLs.
171 </p>
172 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged" ID="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged"></a>
173 <h4>GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged</h4>
174 <b>on_vcsUrlCombo_editTextChanged</b>(<i>txt</i>)
175
176 <p>
177 Private slot to handle changes of the URL.
178 </p>
179 <dl>
180
181 <dt><i>txt</i> (str)</dt>
182 <dd>
183 current text of the combo box
184 </dd>
185 </dl>
186 <div align="right"><a href="#top">Up</a></div>
187 <hr />
188 </body></html>

eric ide

mercurial