eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.vcsGit.GitNewProjectOptionsDialog</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog</h1>
24
23 <p> 25 <p>
24 Module implementing the Git Options Dialog for a new project from the 26 Module implementing the Git 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>
32 <table> 35
36 <table>
37
33 <tr> 38 <tr>
34 <td><a href="#GitNewProjectOptionsDialog">GitNewProjectOptionsDialog</a></td> 39 <td><a href="#GitNewProjectOptionsDialog">GitNewProjectOptionsDialog</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>
39 <table> 44
40 <tr><td>None</td></tr> 45 <table>
41 </table> 46 <tr><td>None</td></tr>
42 <hr /><hr /> 47 </table>
48 <hr />
49 <hr />
43 <a NAME="GitNewProjectOptionsDialog" ID="GitNewProjectOptionsDialog"></a> 50 <a NAME="GitNewProjectOptionsDialog" ID="GitNewProjectOptionsDialog"></a>
44 <h2>GitNewProjectOptionsDialog</h2> 51 <h2>GitNewProjectOptionsDialog</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_GitNewProjectOptionsDialog 58 QDialog, Ui_GitNewProjectOptionsDialog
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>
60 <table> 70
71 <table>
72
61 <tr> 73 <tr>
62 <td><a href="#GitNewProjectOptionsDialog.__init__">GitNewProjectOptionsDialog</a></td> 74 <td><a href="#GitNewProjectOptionsDialog.__init__">GitNewProjectOptionsDialog</a></td>
63 <td>Constructor</td> 75 <td>Constructor</td>
64 </tr><tr> 76 </tr>
77 <tr>
65 <td><a href="#GitNewProjectOptionsDialog.__saveHistory">__saveHistory</a></td> 78 <td><a href="#GitNewProjectOptionsDialog.__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="#GitNewProjectOptionsDialog.getData">getData</a></td> 82 <td><a href="#GitNewProjectOptionsDialog.getData">getData</a></td>
69 <td>Public slot to retrieve the data entered into the dialog.</td> 83 <td>Public slot to retrieve the data entered into the dialog.</td>
70 </tr><tr> 84 </tr>
85 <tr>
71 <td><a href="#GitNewProjectOptionsDialog.on_projectDirButton_clicked">on_projectDirButton_clicked</a></td> 86 <td><a href="#GitNewProjectOptionsDialog.on_projectDirButton_clicked">on_projectDirButton_clicked</a></td>
72 <td>Private slot to display a directory selection dialog.</td> 87 <td>Private slot to display a directory selection dialog.</td>
73 </tr><tr> 88 </tr>
89 <tr>
74 <td><a href="#GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged">on_vcsProjectDirEdit_textChanged</a></td> 90 <td><a href="#GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged">on_vcsProjectDirEdit_textChanged</a></td>
75 <td>Private slot to handle a change of the project directory.</td> 91 <td>Private slot to handle a change of the project directory.</td>
76 </tr><tr> 92 </tr>
93 <tr>
77 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlButton_clicked">on_vcsUrlButton_clicked</a></td> 94 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlButton_clicked">on_vcsUrlButton_clicked</a></td>
78 <td>Private slot to display a selection dialog.</td> 95 <td>Private slot to display a selection dialog.</td>
79 </tr><tr> 96 </tr>
97 <tr>
80 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked">on_vcsUrlClearHistoryButton_clicked</a></td> 98 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked">on_vcsUrlClearHistoryButton_clicked</a></td>
81 <td>Private slot to clear the history of entered repository URLs.</td> 99 <td>Private slot to clear the history of entered repository URLs.</td>
82 </tr><tr> 100 </tr>
101 <tr>
83 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged">on_vcsUrlCombo_editTextChanged</a></td> 102 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged">on_vcsUrlCombo_editTextChanged</a></td>
84 <td>Private slot to handle changes of the URL.</td> 103 <td>Private slot to handle changes of the URL.</td>
85 </tr> 104 </tr>
86 </table> 105 </table>
87 <h3>Static Methods</h3> 106 <h3>Static Methods</h3>
88 <table> 107
89 <tr><td>None</td></tr> 108 <table>
90 </table> 109 <tr><td>None</td></tr>
110 </table>
111
91 <a NAME="GitNewProjectOptionsDialog.__init__" ID="GitNewProjectOptionsDialog.__init__"></a> 112 <a NAME="GitNewProjectOptionsDialog.__init__" ID="GitNewProjectOptionsDialog.__init__"></a>
92 <h4>GitNewProjectOptionsDialog (Constructor)</h4> 113 <h4>GitNewProjectOptionsDialog (Constructor)</h4>
93 <b>GitNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) 114 <b>GitNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>)
115
94 <p> 116 <p>
95 Constructor 117 Constructor
96 </p><dl> 118 </p>
119 <dl>
120
97 <dt><i>vcs</i></dt> 121 <dt><i>vcs</i></dt>
98 <dd> 122 <dd>
99 reference to the version control object 123 reference to the version control object
100 </dd><dt><i>parent</i></dt> 124 </dd>
125 <dt><i>parent</i></dt>
101 <dd> 126 <dd>
102 parent widget (QWidget) 127 parent widget (QWidget)
103 </dd> 128 </dd>
104 </dl><a NAME="GitNewProjectOptionsDialog.__saveHistory" ID="GitNewProjectOptionsDialog.__saveHistory"></a> 129 </dl>
130 <a NAME="GitNewProjectOptionsDialog.__saveHistory" ID="GitNewProjectOptionsDialog.__saveHistory"></a>
105 <h4>GitNewProjectOptionsDialog.__saveHistory</h4> 131 <h4>GitNewProjectOptionsDialog.__saveHistory</h4>
106 <b>__saveHistory</b>(<i></i>) 132 <b>__saveHistory</b>(<i></i>)
133
107 <p> 134 <p>
108 Private method to save the repository URL history. 135 Private method to save the repository URL history.
109 </p><a NAME="GitNewProjectOptionsDialog.getData" ID="GitNewProjectOptionsDialog.getData"></a> 136 </p>
137 <a NAME="GitNewProjectOptionsDialog.getData" ID="GitNewProjectOptionsDialog.getData"></a>
110 <h4>GitNewProjectOptionsDialog.getData</h4> 138 <h4>GitNewProjectOptionsDialog.getData</h4>
111 <b>getData</b>(<i></i>) 139 <b>getData</b>(<i></i>)
140
112 <p> 141 <p>
113 Public slot to retrieve the data entered into the dialog. 142 Public slot to retrieve the data entered into the dialog.
114 </p><dl> 143 </p>
144 <dl>
115 <dt>Returns:</dt> 145 <dt>Returns:</dt>
116 <dd> 146 <dd>
117 a tuple of a string (project directory) and a dictionary 147 a tuple of a string (project directory) and a dictionary
118 containing the data entered. 148 containing the data entered.
119 </dd> 149 </dd>
120 </dl><a NAME="GitNewProjectOptionsDialog.on_projectDirButton_clicked" ID="GitNewProjectOptionsDialog.on_projectDirButton_clicked"></a> 150 </dl>
151 <a NAME="GitNewProjectOptionsDialog.on_projectDirButton_clicked" ID="GitNewProjectOptionsDialog.on_projectDirButton_clicked"></a>
121 <h4>GitNewProjectOptionsDialog.on_projectDirButton_clicked</h4> 152 <h4>GitNewProjectOptionsDialog.on_projectDirButton_clicked</h4>
122 <b>on_projectDirButton_clicked</b>(<i></i>) 153 <b>on_projectDirButton_clicked</b>(<i></i>)
154
123 <p> 155 <p>
124 Private slot to display a directory selection dialog. 156 Private slot to display a directory selection dialog.
125 </p><a NAME="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged" ID="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged"></a> 157 </p>
158 <a NAME="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged" ID="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged"></a>
126 <h4>GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged</h4> 159 <h4>GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged</h4>
127 <b>on_vcsProjectDirEdit_textChanged</b>(<i>txt</i>) 160 <b>on_vcsProjectDirEdit_textChanged</b>(<i>txt</i>)
161
128 <p> 162 <p>
129 Private slot to handle a change of the project directory. 163 Private slot to handle a change of the project directory.
130 </p><dl> 164 </p>
165 <dl>
166
131 <dt><i>txt</i></dt> 167 <dt><i>txt</i></dt>
132 <dd> 168 <dd>
133 name of the project directory (string) 169 name of the project directory (string)
134 </dd> 170 </dd>
135 </dl><a NAME="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked"></a> 171 </dl>
172 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked"></a>
136 <h4>GitNewProjectOptionsDialog.on_vcsUrlButton_clicked</h4> 173 <h4>GitNewProjectOptionsDialog.on_vcsUrlButton_clicked</h4>
137 <b>on_vcsUrlButton_clicked</b>(<i></i>) 174 <b>on_vcsUrlButton_clicked</b>(<i></i>)
175
138 <p> 176 <p>
139 Private slot to display a selection dialog. 177 Private slot to display a selection dialog.
140 </p><a NAME="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> 178 </p>
179 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a>
141 <h4>GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> 180 <h4>GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4>
142 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) 181 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>)
182
143 <p> 183 <p>
144 Private slot to clear the history of entered repository URLs. 184 Private slot to clear the history of entered repository URLs.
145 </p><a NAME="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged" ID="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged"></a> 185 </p>
186 <a NAME="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged" ID="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged"></a>
146 <h4>GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged</h4> 187 <h4>GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged</h4>
147 <b>on_vcsUrlCombo_editTextChanged</b>(<i>txt</i>) 188 <b>on_vcsUrlCombo_editTextChanged</b>(<i>txt</i>)
189
148 <p> 190 <p>
149 Private slot to handle changes of the URL. 191 Private slot to handle changes of the URL.
150 </p><dl> 192 </p>
193 <dl>
194
151 <dt><i>txt</i> (str)</dt> 195 <dt><i>txt</i> (str)</dt>
152 <dd> 196 <dd>
153 current text of the combo box 197 current text of the combo box
154 </dd> 198 </dd>
155 </dl> 199 </dl>

eric ide

mercurial