|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog</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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitNewProjectOptionsDialog</h1> |
|
23 <p> |
|
24 Module implementing the Git Options Dialog for a new project from the |
|
25 repository. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#GitNewProjectOptionsDialog">GitNewProjectOptionsDialog</a></td> |
|
35 <td>Class implementing the Options Dialog for a new project from the repository.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="GitNewProjectOptionsDialog" ID="GitNewProjectOptionsDialog"></a> |
|
44 <h2>GitNewProjectOptionsDialog</h2> |
|
45 <p> |
|
46 Class implementing the Options Dialog for a new project from the |
|
47 repository. |
|
48 </p> |
|
49 <h3>Derived from</h3> |
|
50 QDialog, Ui_GitNewProjectOptionsDialog |
|
51 <h3>Class Attributes</h3> |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Class Methods</h3> |
|
56 <table> |
|
57 <tr><td>None</td></tr> |
|
58 </table> |
|
59 <h3>Methods</h3> |
|
60 <table> |
|
61 <tr> |
|
62 <td><a href="#GitNewProjectOptionsDialog.__init__">GitNewProjectOptionsDialog</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr><tr> |
|
65 <td><a href="#GitNewProjectOptionsDialog.__saveHistory">__saveHistory</a></td> |
|
66 <td>Private method to save the repository URL history.</td> |
|
67 </tr><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><tr> |
|
71 <td><a href="#GitNewProjectOptionsDialog.on_projectDirButton_clicked">on_projectDirButton_clicked</a></td> |
|
72 <td>Private slot to display a directory selection dialog.</td> |
|
73 </tr><tr> |
|
74 <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> |
|
76 </tr><tr> |
|
77 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlButton_clicked">on_vcsUrlButton_clicked</a></td> |
|
78 <td>Private slot to display a selection dialog.</td> |
|
79 </tr><tr> |
|
80 <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> |
|
82 </tr><tr> |
|
83 <td><a href="#GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged">on_vcsUrlCombo_editTextChanged</a></td> |
|
84 <td>Private slot to handle changes of the URL.</td> |
|
85 </tr> |
|
86 </table> |
|
87 <h3>Static Methods</h3> |
|
88 <table> |
|
89 <tr><td>None</td></tr> |
|
90 </table> |
|
91 <a NAME="GitNewProjectOptionsDialog.__init__" ID="GitNewProjectOptionsDialog.__init__"></a> |
|
92 <h4>GitNewProjectOptionsDialog (Constructor)</h4> |
|
93 <b>GitNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) |
|
94 <p> |
|
95 Constructor |
|
96 </p><dl> |
|
97 <dt><i>vcs</i></dt> |
|
98 <dd> |
|
99 reference to the version control object |
|
100 </dd><dt><i>parent</i></dt> |
|
101 <dd> |
|
102 parent widget (QWidget) |
|
103 </dd> |
|
104 </dl><a NAME="GitNewProjectOptionsDialog.__saveHistory" ID="GitNewProjectOptionsDialog.__saveHistory"></a> |
|
105 <h4>GitNewProjectOptionsDialog.__saveHistory</h4> |
|
106 <b>__saveHistory</b>(<i></i>) |
|
107 <p> |
|
108 Private method to save the repository URL history. |
|
109 </p><a NAME="GitNewProjectOptionsDialog.getData" ID="GitNewProjectOptionsDialog.getData"></a> |
|
110 <h4>GitNewProjectOptionsDialog.getData</h4> |
|
111 <b>getData</b>(<i></i>) |
|
112 <p> |
|
113 Public slot to retrieve the data entered into the dialog. |
|
114 </p><dl> |
|
115 <dt>Returns:</dt> |
|
116 <dd> |
|
117 a tuple of a string (project directory) and a dictionary |
|
118 containing the data entered. |
|
119 </dd> |
|
120 </dl><a NAME="GitNewProjectOptionsDialog.on_projectDirButton_clicked" ID="GitNewProjectOptionsDialog.on_projectDirButton_clicked"></a> |
|
121 <h4>GitNewProjectOptionsDialog.on_projectDirButton_clicked</h4> |
|
122 <b>on_projectDirButton_clicked</b>(<i></i>) |
|
123 <p> |
|
124 Private slot to display a directory selection dialog. |
|
125 </p><a NAME="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged" ID="GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged"></a> |
|
126 <h4>GitNewProjectOptionsDialog.on_vcsProjectDirEdit_textChanged</h4> |
|
127 <b>on_vcsProjectDirEdit_textChanged</b>(<i>txt</i>) |
|
128 <p> |
|
129 Private slot to handle a change of the project directory. |
|
130 </p><dl> |
|
131 <dt><i>txt</i></dt> |
|
132 <dd> |
|
133 name of the project directory (string) |
|
134 </dd> |
|
135 </dl><a NAME="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlButton_clicked"></a> |
|
136 <h4>GitNewProjectOptionsDialog.on_vcsUrlButton_clicked</h4> |
|
137 <b>on_vcsUrlButton_clicked</b>(<i></i>) |
|
138 <p> |
|
139 Private slot to display a selection dialog. |
|
140 </p><a NAME="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> |
|
141 <h4>GitNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> |
|
142 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) |
|
143 <p> |
|
144 Private slot to clear the history of entered repository URLs. |
|
145 </p><a NAME="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged" ID="GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged"></a> |
|
146 <h4>GitNewProjectOptionsDialog.on_vcsUrlCombo_editTextChanged</h4> |
|
147 <b>on_vcsUrlCombo_editTextChanged</b>(<i>txt</i>) |
|
148 <p> |
|
149 Private slot to handle changes of the URL. |
|
150 </p><dl> |
|
151 <dt><i>txt</i> (str)</dt> |
|
152 <dd> |
|
153 current text of the combo box |
|
154 </dd> |
|
155 </dl> |
|
156 <div align="right"><a href="#top">Up</a></div> |
|
157 <hr /> |
|
158 </body></html> |