|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgNewProjectOptionsDialog</h1> |
|
23 <p> |
|
24 Module implementing the Mercurial 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="#HgNewProjectOptionsDialog">HgNewProjectOptionsDialog</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="HgNewProjectOptionsDialog" ID="HgNewProjectOptionsDialog"></a> |
|
44 <h2>HgNewProjectOptionsDialog</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_HgNewProjectOptionsDialog |
|
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="#HgNewProjectOptionsDialog.__init__">HgNewProjectOptionsDialog</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr><tr> |
|
65 <td><a href="#HgNewProjectOptionsDialog.__saveHistory">__saveHistory</a></td> |
|
66 <td>Private method to save the repository URL history.</td> |
|
67 </tr><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><tr> |
|
71 <td><a href="#HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged">on_vcsProjectDirPicker_textChanged</a></td> |
|
72 <td>Private slot to handle a change of the project directory.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked">on_vcsUrlClearHistoryButton_clicked</a></td> |
|
75 <td>Private slot to clear the history of entered repository URLs.</td> |
|
76 </tr><tr> |
|
77 <td><a href="#HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged">on_vcsUrlPicker_textChanged</a></td> |
|
78 <td>Private slot to handle changes of the URL.</td> |
|
79 </tr> |
|
80 </table> |
|
81 <h3>Static Methods</h3> |
|
82 <table> |
|
83 <tr><td>None</td></tr> |
|
84 </table> |
|
85 <a NAME="HgNewProjectOptionsDialog.__init__" ID="HgNewProjectOptionsDialog.__init__"></a> |
|
86 <h4>HgNewProjectOptionsDialog (Constructor)</h4> |
|
87 <b>HgNewProjectOptionsDialog</b>(<i>vcs, parent=None</i>) |
|
88 <p> |
|
89 Constructor |
|
90 </p><dl> |
|
91 <dt><i>vcs</i></dt> |
|
92 <dd> |
|
93 reference to the version control object |
|
94 </dd><dt><i>parent</i></dt> |
|
95 <dd> |
|
96 parent widget (QWidget) |
|
97 </dd> |
|
98 </dl><a NAME="HgNewProjectOptionsDialog.__saveHistory" ID="HgNewProjectOptionsDialog.__saveHistory"></a> |
|
99 <h4>HgNewProjectOptionsDialog.__saveHistory</h4> |
|
100 <b>__saveHistory</b>(<i></i>) |
|
101 <p> |
|
102 Private method to save the repository URL history. |
|
103 </p><a NAME="HgNewProjectOptionsDialog.getData" ID="HgNewProjectOptionsDialog.getData"></a> |
|
104 <h4>HgNewProjectOptionsDialog.getData</h4> |
|
105 <b>getData</b>(<i></i>) |
|
106 <p> |
|
107 Public slot to retrieve the data entered into the dialog and to |
|
108 save the history of entered repository URLs. |
|
109 </p><dl> |
|
110 <dt>Returns:</dt> |
|
111 <dd> |
|
112 a tuple of a string (project directory) and a dictionary |
|
113 containing the data entered. |
|
114 </dd> |
|
115 </dl><a NAME="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged"></a> |
|
116 <h4>HgNewProjectOptionsDialog.on_vcsProjectDirPicker_textChanged</h4> |
|
117 <b>on_vcsProjectDirPicker_textChanged</b>(<i>txt</i>) |
|
118 <p> |
|
119 Private slot to handle a change of the project directory. |
|
120 </p><dl> |
|
121 <dt><i>txt</i></dt> |
|
122 <dd> |
|
123 name of the project directory (string) |
|
124 </dd> |
|
125 </dl><a NAME="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked" ID="HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked"></a> |
|
126 <h4>HgNewProjectOptionsDialog.on_vcsUrlClearHistoryButton_clicked</h4> |
|
127 <b>on_vcsUrlClearHistoryButton_clicked</b>(<i></i>) |
|
128 <p> |
|
129 Private slot to clear the history of entered repository URLs. |
|
130 </p><a NAME="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged" ID="HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged"></a> |
|
131 <h4>HgNewProjectOptionsDialog.on_vcsUrlPicker_textChanged</h4> |
|
132 <b>on_vcsUrlPicker_textChanged</b>(<i>txt</i>) |
|
133 <p> |
|
134 Private slot to handle changes of the URL. |
|
135 </p><dl> |
|
136 <dt><i>txt</i></dt> |
|
137 <dd> |
|
138 current text of the line edit (string) |
|
139 </dd> |
|
140 </dl> |
|
141 <div align="right"><a href="#top">Up</a></div> |
|
142 <hr /> |
|
143 </body></html> |