|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgRepoConfigDataDialog</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgRepoConfigDataDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to enter data needed for the initial creation |
|
27 of a repository configuration file (hgrc). |
|
28 </p> |
|
29 <h3>Global Attributes</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <h3>Classes</h3> |
|
35 |
|
36 <table> |
|
37 |
|
38 <tr> |
|
39 <td><a href="#HgRepoConfigDataDialog">HgRepoConfigDataDialog</a></td> |
|
40 <td>Class implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).</td> |
|
41 </tr> |
|
42 </table> |
|
43 <h3>Functions</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <hr /> |
|
49 <hr /> |
|
50 <a NAME="HgRepoConfigDataDialog" ID="HgRepoConfigDataDialog"></a> |
|
51 <h2>HgRepoConfigDataDialog</h2> |
|
52 |
|
53 <p> |
|
54 Class implementing a dialog to enter data needed for the initial creation |
|
55 of a repository configuration file (hgrc). |
|
56 </p> |
|
57 <h3>Derived from</h3> |
|
58 QDialog, Ui_HgRepoConfigDataDialog |
|
59 <h3>Class Attributes</h3> |
|
60 |
|
61 <table> |
|
62 <tr><td>None</td></tr> |
|
63 </table> |
|
64 <h3>Class Methods</h3> |
|
65 |
|
66 <table> |
|
67 <tr><td>None</td></tr> |
|
68 </table> |
|
69 <h3>Methods</h3> |
|
70 |
|
71 <table> |
|
72 |
|
73 <tr> |
|
74 <td><a href="#HgRepoConfigDataDialog.__init__">HgRepoConfigDataDialog</a></td> |
|
75 <td>Constructor</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#HgRepoConfigDataDialog.getData">getData</a></td> |
|
79 <td>Public method to get the data entered into the dialog.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#HgRepoConfigDataDialog.getLargefilesData">getLargefilesData</a></td> |
|
83 <td>Public method to get the data for the largefiles extension.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked">on_defaultPushShowPasswordButton_clicked</a></td> |
|
87 <td>Private slot to switch the default password visibility of the default push password.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked">on_defaultShowPasswordButton_clicked</a></td> |
|
91 <td>Private slot to switch the default password visibility of the default password.</td> |
|
92 </tr> |
|
93 </table> |
|
94 <h3>Static Methods</h3> |
|
95 |
|
96 <table> |
|
97 <tr><td>None</td></tr> |
|
98 </table> |
|
99 |
|
100 <a NAME="HgRepoConfigDataDialog.__init__" ID="HgRepoConfigDataDialog.__init__"></a> |
|
101 <h4>HgRepoConfigDataDialog (Constructor)</h4> |
|
102 <b>HgRepoConfigDataDialog</b>(<i>withLargefiles=False, largefilesData=None, parent=None</i>) |
|
103 |
|
104 <p> |
|
105 Constructor |
|
106 </p> |
|
107 <dl> |
|
108 |
|
109 <dt><i>withLargefiles</i></dt> |
|
110 <dd> |
|
111 flag indicating to configure the largefiles |
|
112 section (boolean) |
|
113 </dd> |
|
114 <dt><i>largefilesData</i></dt> |
|
115 <dd> |
|
116 dictionary with data for the largefiles |
|
117 section (dict) |
|
118 </dd> |
|
119 <dt><i>parent</i></dt> |
|
120 <dd> |
|
121 reference to the parent widget (QWidget) |
|
122 </dd> |
|
123 </dl> |
|
124 <a NAME="HgRepoConfigDataDialog.getData" ID="HgRepoConfigDataDialog.getData"></a> |
|
125 <h4>HgRepoConfigDataDialog.getData</h4> |
|
126 <b>getData</b>(<i></i>) |
|
127 |
|
128 <p> |
|
129 Public method to get the data entered into the dialog. |
|
130 </p> |
|
131 <dl> |
|
132 <dt>Return:</dt> |
|
133 <dd> |
|
134 tuple giving the default and default push URLs (tuple of |
|
135 two strings) |
|
136 </dd> |
|
137 </dl> |
|
138 <a NAME="HgRepoConfigDataDialog.getLargefilesData" ID="HgRepoConfigDataDialog.getLargefilesData"></a> |
|
139 <h4>HgRepoConfigDataDialog.getLargefilesData</h4> |
|
140 <b>getLargefilesData</b>(<i></i>) |
|
141 |
|
142 <p> |
|
143 Public method to get the data for the largefiles extension. |
|
144 </p> |
|
145 <dl> |
|
146 <dt>Return:</dt> |
|
147 <dd> |
|
148 tuple with the minimum file size (integer) and file patterns |
|
149 (list of string). None as value denote to use the default value. |
|
150 </dd> |
|
151 </dl> |
|
152 <a NAME="HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked" ID="HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked"></a> |
|
153 <h4>HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked</h4> |
|
154 <b>on_defaultPushShowPasswordButton_clicked</b>(<i>checked</i>) |
|
155 |
|
156 <p> |
|
157 Private slot to switch the default password visibility |
|
158 of the default push password. |
|
159 </p> |
|
160 <dl> |
|
161 |
|
162 <dt><i>checked</i></dt> |
|
163 <dd> |
|
164 state of the push button (boolean) |
|
165 </dd> |
|
166 </dl> |
|
167 <a NAME="HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked" ID="HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked"></a> |
|
168 <h4>HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked</h4> |
|
169 <b>on_defaultShowPasswordButton_clicked</b>(<i>checked</i>) |
|
170 |
|
171 <p> |
|
172 Private slot to switch the default password visibility |
|
173 of the default password. |
|
174 </p> |
|
175 <dl> |
|
176 |
|
177 <dt><i>checked</i></dt> |
|
178 <dd> |
|
179 state of the push button (boolean) |
|
180 </dd> |
|
181 </dl> |
|
182 <div align="right"><a href="#top">Up</a></div> |
|
183 <hr /> |
|
184 </body></html> |