|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric5.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric5.Plugins.VcsPlugins.vcsMercurial.HgRepoConfigDataDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter data needed for the initial creation |
|
25 of a repository configuration file (hgrc). |
|
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="#HgRepoConfigDataDialog">HgRepoConfigDataDialog</a></td> |
|
35 <td>Class implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).</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="HgRepoConfigDataDialog" ID="HgRepoConfigDataDialog"></a> |
|
44 <h2>HgRepoConfigDataDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to enter data needed for the initial creation |
|
47 of a repository configuration file (hgrc). |
|
48 </p> |
|
49 <h3>Derived from</h3> |
|
50 QDialog, Ui_HgRepoConfigDataDialog |
|
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="#HgRepoConfigDataDialog.__init__">HgRepoConfigDataDialog</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr><tr> |
|
65 <td><a href="#HgRepoConfigDataDialog.getData">getData</a></td> |
|
66 <td>Public method to get the data entered into the dialog.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#HgRepoConfigDataDialog.getLargefilesData">getLargefilesData</a></td> |
|
69 <td>Public method to get the data for the largefiles extension.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked">on_defaultPushShowPasswordButton_clicked</a></td> |
|
72 <td>Private slot to switch the default password visibility of the default push password.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked">on_defaultShowPasswordButton_clicked</a></td> |
|
75 <td>Private slot to switch the default password visibility of the default password.</td> |
|
76 </tr> |
|
77 </table> |
|
78 <h3>Static Methods</h3> |
|
79 <table> |
|
80 <tr><td>None</td></tr> |
|
81 </table> |
|
82 <a NAME="HgRepoConfigDataDialog.__init__" ID="HgRepoConfigDataDialog.__init__"></a> |
|
83 <h4>HgRepoConfigDataDialog (Constructor)</h4> |
|
84 <b>HgRepoConfigDataDialog</b>(<i>withLargefiles=False, largefilesData=None, parent=None</i>) |
|
85 <p> |
|
86 Constructor |
|
87 </p><dl> |
|
88 <dt><i>withLargefiles</i></dt> |
|
89 <dd> |
|
90 flag indicating to configure the largefiles |
|
91 section (boolean) |
|
92 </dd><dt><i>largefilesData</i></dt> |
|
93 <dd> |
|
94 dictionary with data for the largefiles |
|
95 section (dict) |
|
96 </dd><dt><i>parent</i></dt> |
|
97 <dd> |
|
98 reference to the parent widget (QWidget) |
|
99 </dd> |
|
100 </dl><a NAME="HgRepoConfigDataDialog.getData" ID="HgRepoConfigDataDialog.getData"></a> |
|
101 <h4>HgRepoConfigDataDialog.getData</h4> |
|
102 <b>getData</b>(<i></i>) |
|
103 <p> |
|
104 Public method to get the data entered into the dialog. |
|
105 </p><dl> |
|
106 <dt>Returns:</dt> |
|
107 <dd> |
|
108 tuple giving the default and default push URLs (tuple of |
|
109 two strings) |
|
110 </dd> |
|
111 </dl><a NAME="HgRepoConfigDataDialog.getLargefilesData" ID="HgRepoConfigDataDialog.getLargefilesData"></a> |
|
112 <h4>HgRepoConfigDataDialog.getLargefilesData</h4> |
|
113 <b>getLargefilesData</b>(<i></i>) |
|
114 <p> |
|
115 Public method to get the data for the largefiles extension. |
|
116 </p><dl> |
|
117 <dt>Returns:</dt> |
|
118 <dd> |
|
119 tuple with the minimum file size (integer) and file patterns |
|
120 (list of string). None as value denote to use the default value. |
|
121 </dd> |
|
122 </dl><a NAME="HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked" ID="HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked"></a> |
|
123 <h4>HgRepoConfigDataDialog.on_defaultPushShowPasswordButton_clicked</h4> |
|
124 <b>on_defaultPushShowPasswordButton_clicked</b>(<i>checked</i>) |
|
125 <p> |
|
126 Private slot to switch the default password visibility |
|
127 of the default push password. |
|
128 </p><dl> |
|
129 <dt><i>checked</i></dt> |
|
130 <dd> |
|
131 state of the push button (boolean) |
|
132 </dd> |
|
133 </dl><a NAME="HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked" ID="HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked"></a> |
|
134 <h4>HgRepoConfigDataDialog.on_defaultShowPasswordButton_clicked</h4> |
|
135 <b>on_defaultShowPasswordButton_clicked</b>(<i>checked</i>) |
|
136 <p> |
|
137 Private slot to switch the default password visibility |
|
138 of the default password. |
|
139 </p><dl> |
|
140 <dt><i>checked</i></dt> |
|
141 <dd> |
|
142 state of the push button (boolean) |
|
143 </dd> |
|
144 </dl> |
|
145 <div align="right"><a href="#top">Up</a></div> |
|
146 <hr /> |
|
147 </body></html> |