|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to enter the URLs for the svn diff command. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#SvnUrlSelectionDialog">SvnUrlSelectionDialog</a></td> |
|
25 <td>Class implementing a dialog to enter the URLs for the svn diff command.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="SvnUrlSelectionDialog" ID="SvnUrlSelectionDialog"></a> |
|
36 <h2>SvnUrlSelectionDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog to enter the URLs for the svn diff command. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_SvnUrlSelectionDialog |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#SvnUrlSelectionDialog.__init__">SvnUrlSelectionDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#SvnUrlSelectionDialog.__changeLabelCombo">__changeLabelCombo</a></td> |
|
63 <td>Private method used to change the label combo depending on the selected type.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#SvnUrlSelectionDialog.getURLs">getURLs</a></td> |
|
67 <td>Public method to get the entered URLs.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged">on_typeCombo1_currentIndexChanged</a></td> |
|
71 <td>Private slot called when the selected type was changed.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged">on_typeCombo2_currentIndexChanged</a></td> |
|
75 <td>Private slot called when the selected type was changed.</td> |
|
76 </tr> |
|
77 </table> |
|
78 <h3>Static Methods</h3> |
|
79 |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 |
|
84 <a NAME="SvnUrlSelectionDialog.__init__" ID="SvnUrlSelectionDialog.__init__"></a> |
|
85 <h4>SvnUrlSelectionDialog (Constructor)</h4> |
|
86 <b>SvnUrlSelectionDialog</b>(<i>vcs, tagsList, branchesList, path, parent=None</i>) |
|
87 |
|
88 <p> |
|
89 Constructor |
|
90 </p> |
|
91 <dl> |
|
92 |
|
93 <dt><i>vcs</i></dt> |
|
94 <dd> |
|
95 reference to the vcs object |
|
96 </dd> |
|
97 <dt><i>tagsList</i></dt> |
|
98 <dd> |
|
99 list of tags (list of strings) |
|
100 </dd> |
|
101 <dt><i>branchesList</i></dt> |
|
102 <dd> |
|
103 list of branches (list of strings) |
|
104 </dd> |
|
105 <dt><i>path</i></dt> |
|
106 <dd> |
|
107 pathname to determine the repository URL from (string) |
|
108 </dd> |
|
109 <dt><i>parent</i></dt> |
|
110 <dd> |
|
111 parent widget of the dialog (QWidget) |
|
112 </dd> |
|
113 </dl> |
|
114 <a NAME="SvnUrlSelectionDialog.__changeLabelCombo" ID="SvnUrlSelectionDialog.__changeLabelCombo"></a> |
|
115 <h4>SvnUrlSelectionDialog.__changeLabelCombo</h4> |
|
116 <b>__changeLabelCombo</b>(<i>labelCombo, type_</i>) |
|
117 |
|
118 <p> |
|
119 Private method used to change the label combo depending on the |
|
120 selected type. |
|
121 </p> |
|
122 <dl> |
|
123 |
|
124 <dt><i>labelCombo</i></dt> |
|
125 <dd> |
|
126 reference to the labelCombo object (QComboBox) |
|
127 </dd> |
|
128 <dt><i>type_</i></dt> |
|
129 <dd> |
|
130 type string (string) |
|
131 </dd> |
|
132 </dl> |
|
133 <a NAME="SvnUrlSelectionDialog.getURLs" ID="SvnUrlSelectionDialog.getURLs"></a> |
|
134 <h4>SvnUrlSelectionDialog.getURLs</h4> |
|
135 <b>getURLs</b>(<i></i>) |
|
136 |
|
137 <p> |
|
138 Public method to get the entered URLs. |
|
139 </p> |
|
140 <dl> |
|
141 <dt>Return:</dt> |
|
142 <dd> |
|
143 tuple of list of two URL strings (list of strings) and |
|
144 a flag indicating a diff summary (boolean) |
|
145 </dd> |
|
146 </dl> |
|
147 <a NAME="SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged" ID="SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged"></a> |
|
148 <h4>SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged</h4> |
|
149 <b>on_typeCombo1_currentIndexChanged</b>(<i>index</i>) |
|
150 |
|
151 <p> |
|
152 Private slot called when the selected type was changed. |
|
153 </p> |
|
154 <dl> |
|
155 |
|
156 <dt><i>index</i> (int)</dt> |
|
157 <dd> |
|
158 index of the current item |
|
159 </dd> |
|
160 </dl> |
|
161 <a NAME="SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged" ID="SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged"></a> |
|
162 <h4>SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged</h4> |
|
163 <b>on_typeCombo2_currentIndexChanged</b>(<i>index</i>) |
|
164 |
|
165 <p> |
|
166 Private slot called when the selected type was changed. |
|
167 </p> |
|
168 <dl> |
|
169 |
|
170 <dt><i>index</i> (int)</dt> |
|
171 <dd> |
|
172 index of the current item |
|
173 </dd> |
|
174 </dl> |
|
175 <div align="right"><a href="#top">Up</a></div> |
|
176 <hr /> |
|
177 </body></html> |