|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.ShelveExtension.HgShelvesSelectionDialog</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.vcsMercurial.ShelveExtension.HgShelvesSelectionDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to select multiple shelve names. |
|
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="#HgShelvesSelectionDialog">HgShelvesSelectionDialog</a></td> |
|
25 <td>Class implementing a dialog to select multiple shelve names.</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="HgShelvesSelectionDialog" ID="HgShelvesSelectionDialog"></a> |
|
36 <h2>HgShelvesSelectionDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog to select multiple shelve names. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_HgShelvesSelectionDialog |
|
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="#HgShelvesSelectionDialog.__init__">HgShelvesSelectionDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#HgShelvesSelectionDialog.getSelectedShelves">getSelectedShelves</a></td> |
|
63 <td>Public method to retrieve the selected shelve names.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#HgShelvesSelectionDialog.on_shelvesList_itemSelectionChanged">on_shelvesList_itemSelectionChanged</a></td> |
|
67 <td>Private slot to enabled the OK button if items have been selected.</td> |
|
68 </tr> |
|
69 </table> |
|
70 <h3>Static Methods</h3> |
|
71 |
|
72 <table> |
|
73 <tr><td>None</td></tr> |
|
74 </table> |
|
75 |
|
76 <a NAME="HgShelvesSelectionDialog.__init__" ID="HgShelvesSelectionDialog.__init__"></a> |
|
77 <h4>HgShelvesSelectionDialog (Constructor)</h4> |
|
78 <b>HgShelvesSelectionDialog</b>(<i>message, shelveNames, parent=None</i>) |
|
79 |
|
80 <p> |
|
81 Constructor |
|
82 </p> |
|
83 <dl> |
|
84 |
|
85 <dt><i>message</i></dt> |
|
86 <dd> |
|
87 message to be shown (string) |
|
88 </dd> |
|
89 <dt><i>shelveNames</i></dt> |
|
90 <dd> |
|
91 list of shelve names (list of string) |
|
92 </dd> |
|
93 <dt><i>parent</i></dt> |
|
94 <dd> |
|
95 reference to the parent widget (QWidget) |
|
96 </dd> |
|
97 </dl> |
|
98 <a NAME="HgShelvesSelectionDialog.getSelectedShelves" ID="HgShelvesSelectionDialog.getSelectedShelves"></a> |
|
99 <h4>HgShelvesSelectionDialog.getSelectedShelves</h4> |
|
100 <b>getSelectedShelves</b>(<i></i>) |
|
101 |
|
102 <p> |
|
103 Public method to retrieve the selected shelve names. |
|
104 </p> |
|
105 <dl> |
|
106 <dt>Return:</dt> |
|
107 <dd> |
|
108 selected shelve names (list of string) |
|
109 </dd> |
|
110 </dl> |
|
111 <a NAME="HgShelvesSelectionDialog.on_shelvesList_itemSelectionChanged" ID="HgShelvesSelectionDialog.on_shelvesList_itemSelectionChanged"></a> |
|
112 <h4>HgShelvesSelectionDialog.on_shelvesList_itemSelectionChanged</h4> |
|
113 <b>on_shelvesList_itemSelectionChanged</b>(<i></i>) |
|
114 |
|
115 <p> |
|
116 Private slot to enabled the OK button if items have been selected. |
|
117 </p> |
|
118 <div align="right"><a href="#top">Up</a></div> |
|
119 <hr /> |
|
120 </body></html> |