|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Plugins.VcsPlugins.vcsPySvn.SvnUrlSelectionDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to enter the URLs for the svn diff command. |
|
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="#SvnUrlSelectionDialog">SvnUrlSelectionDialog</a></td> |
|
35 <td>Class implementing a dialog to enter the URLs for the svn diff command.</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="SvnUrlSelectionDialog" ID="SvnUrlSelectionDialog"></a> |
|
44 <h2>SvnUrlSelectionDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to enter the URLs for the svn diff command. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_SvnUrlSelectionDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#SvnUrlSelectionDialog.__init__">SvnUrlSelectionDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SvnUrlSelectionDialog.__changeLabelCombo">__changeLabelCombo</a></td> |
|
61 <td>Private method used to change the label combo depending on the selected type.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnUrlSelectionDialog.getURLs">getURLs</a></td> |
|
64 <td>Public method to get the entered URLs.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged">on_typeCombo1_currentIndexChanged</a></td> |
|
67 <td>Private slot called when the selected type was changed.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged">on_typeCombo2_currentIndexChanged</a></td> |
|
70 <td>Private slot called when the selected type was changed.</td> |
|
71 </tr> |
|
72 </table> |
|
73 <a NAME="SvnUrlSelectionDialog.__init__" ID="SvnUrlSelectionDialog.__init__"></a> |
|
74 <h4>SvnUrlSelectionDialog (Constructor)</h4> |
|
75 <b>SvnUrlSelectionDialog</b>(<i>vcs, tagsList, branchesList, path, parent = None</i>) |
|
76 <p> |
|
77 Constructor |
|
78 </p><dl> |
|
79 <dt><i>vcs</i></dt> |
|
80 <dd> |
|
81 reference to the vcs object |
|
82 </dd><dt><i>tagsList</i></dt> |
|
83 <dd> |
|
84 list of tags (list of strings) |
|
85 </dd><dt><i>branchesList</i></dt> |
|
86 <dd> |
|
87 list of branches (list of strings) |
|
88 </dd><dt><i>path</i></dt> |
|
89 <dd> |
|
90 pathname to determine the repository URL from (string) |
|
91 </dd><dt><i>parent</i></dt> |
|
92 <dd> |
|
93 parent widget of the dialog (QWidget) |
|
94 </dd> |
|
95 </dl><a NAME="SvnUrlSelectionDialog.__changeLabelCombo" ID="SvnUrlSelectionDialog.__changeLabelCombo"></a> |
|
96 <h4>SvnUrlSelectionDialog.__changeLabelCombo</h4> |
|
97 <b>__changeLabelCombo</b>(<i>labelCombo, type_</i>) |
|
98 <p> |
|
99 Private method used to change the label combo depending on the |
|
100 selected type. |
|
101 </p><dl> |
|
102 <dt><i>labelCombo</i></dt> |
|
103 <dd> |
|
104 reference to the labelCombo object (QComboBox) |
|
105 </dd><dt><i>type</i></dt> |
|
106 <dd> |
|
107 type string (string) |
|
108 </dd> |
|
109 </dl><a NAME="SvnUrlSelectionDialog.getURLs" ID="SvnUrlSelectionDialog.getURLs"></a> |
|
110 <h4>SvnUrlSelectionDialog.getURLs</h4> |
|
111 <b>getURLs</b>(<i></i>) |
|
112 <p> |
|
113 Public method to get the entered URLs. |
|
114 </p><dl> |
|
115 <dt>Returns:</dt> |
|
116 <dd> |
|
117 tuple of list of two URL strings (list of strings) and |
|
118 a flag indicating a diff summary (boolean) |
|
119 </dd> |
|
120 </dl><a NAME="SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged" ID="SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged"></a> |
|
121 <h4>SvnUrlSelectionDialog.on_typeCombo1_currentIndexChanged</h4> |
|
122 <b>on_typeCombo1_currentIndexChanged</b>(<i>type_</i>) |
|
123 <p> |
|
124 Private slot called when the selected type was changed. |
|
125 </p><dl> |
|
126 <dt><i>type_</i></dt> |
|
127 <dd> |
|
128 selected type (string) |
|
129 </dd> |
|
130 </dl><a NAME="SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged" ID="SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged"></a> |
|
131 <h4>SvnUrlSelectionDialog.on_typeCombo2_currentIndexChanged</h4> |
|
132 <b>on_typeCombo2_currentIndexChanged</b>(<i>type_</i>) |
|
133 <p> |
|
134 Private slot called when the selected type was changed. |
|
135 </p><dl> |
|
136 <dt><i>type_</i></dt> |
|
137 <dd> |
|
138 selected type (string) |
|
139 </dd> |
|
140 </dl> |
|
141 <div align="right"><a href="#top">Up</a></div> |
|
142 <hr /> |
|
143 </body></html> |