5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitBranchPushDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitBranchPushDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to select the data for pushing a branch. |
11 Module implementing a dialog to select the data for pushing a branch. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#GitBranchPushDialog">GitBranchPushDialog</a></td> |
22 <td><a href="#GitBranchPushDialog">GitBranchPushDialog</a></td> |
25 <td>Class implementing a dialog to select the data for pushing a branch.</td> |
23 <td>Class implementing a dialog to select the data for pushing a branch.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="GitBranchPushDialog" ID="GitBranchPushDialog"></a> |
34 <a NAME="GitBranchPushDialog" ID="GitBranchPushDialog"></a> |
36 <h2>GitBranchPushDialog</h2> |
35 <h2>GitBranchPushDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to select the data for pushing a branch. |
37 Class implementing a dialog to select the data for pushing a branch. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_GitBranchPushDialog |
41 QDialog, Ui_GitBranchPushDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#GitBranchPushDialog.__init__">GitBranchPushDialog</a></td> |
55 <td><a href="#GitBranchPushDialog.__init__">GitBranchPushDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
65 <tr> |
62 <tr> |
66 <td><a href="#GitBranchPushDialog.on_branchComboBox_editTextChanged">on_branchComboBox_editTextChanged</a></td> |
63 <td><a href="#GitBranchPushDialog.on_branchComboBox_editTextChanged">on_branchComboBox_editTextChanged</a></td> |
67 <td>Private slot to handle a change of the branch name.</td> |
64 <td>Private slot to handle a change of the branch name.</td> |
68 </tr> |
65 </tr> |
69 </table> |
66 </table> |
|
67 |
70 <h3>Static Methods</h3> |
68 <h3>Static Methods</h3> |
71 |
|
72 <table> |
69 <table> |
73 <tr><td>None</td></tr> |
70 <tr><td>None</td></tr> |
74 </table> |
71 </table> |
75 |
72 |
|
73 |
76 <a NAME="GitBranchPushDialog.__init__" ID="GitBranchPushDialog.__init__"></a> |
74 <a NAME="GitBranchPushDialog.__init__" ID="GitBranchPushDialog.__init__"></a> |
77 <h4>GitBranchPushDialog (Constructor)</h4> |
75 <h4>GitBranchPushDialog (Constructor)</h4> |
78 <b>GitBranchPushDialog</b>(<i>branches, remotes, delete=False, parent=None</i>) |
76 <b>GitBranchPushDialog</b>(<i>branches, remotes, delete=False, parent=None</i>) |
79 |
|
80 <p> |
77 <p> |
81 Constructor |
78 Constructor |
82 </p> |
79 </p> |
|
80 |
83 <dl> |
81 <dl> |
84 |
82 |
85 <dt><i>branches</i> (list of str)</dt> |
83 <dt><i>branches</i> (list of str)</dt> |
86 <dd> |
84 <dd> |
87 list of branch names |
85 list of branch names |
100 </dd> |
98 </dd> |
101 </dl> |
99 </dl> |
102 <a NAME="GitBranchPushDialog.getData" ID="GitBranchPushDialog.getData"></a> |
100 <a NAME="GitBranchPushDialog.getData" ID="GitBranchPushDialog.getData"></a> |
103 <h4>GitBranchPushDialog.getData</h4> |
101 <h4>GitBranchPushDialog.getData</h4> |
104 <b>getData</b>(<i></i>) |
102 <b>getData</b>(<i></i>) |
105 |
|
106 <p> |
103 <p> |
107 Public method to get the selected data. |
104 Public method to get the selected data. |
108 </p> |
105 </p> |
|
106 |
109 <dl> |
107 <dl> |
110 <dt>Return:</dt> |
108 <dt>Return:</dt> |
111 <dd> |
109 <dd> |
112 tuple of selected branch name, remote name and a flag |
110 tuple of selected branch name, remote name and a flag |
113 indicating all branches |
111 indicating all branches |
120 </dd> |
118 </dd> |
121 </dl> |
119 </dl> |
122 <a NAME="GitBranchPushDialog.on_branchComboBox_editTextChanged" ID="GitBranchPushDialog.on_branchComboBox_editTextChanged"></a> |
120 <a NAME="GitBranchPushDialog.on_branchComboBox_editTextChanged" ID="GitBranchPushDialog.on_branchComboBox_editTextChanged"></a> |
123 <h4>GitBranchPushDialog.on_branchComboBox_editTextChanged</h4> |
121 <h4>GitBranchPushDialog.on_branchComboBox_editTextChanged</h4> |
124 <b>on_branchComboBox_editTextChanged</b>(<i>txt</i>) |
122 <b>on_branchComboBox_editTextChanged</b>(<i>txt</i>) |
125 |
|
126 <p> |
123 <p> |
127 Private slot to handle a change of the branch name. |
124 Private slot to handle a change of the branch name. |
128 </p> |
125 </p> |
|
126 |
129 <dl> |
127 <dl> |
130 |
128 |
131 <dt><i>txt</i> (str)</dt> |
129 <dt><i>txt</i> (str)</dt> |
132 <dd> |
130 <dd> |
133 branch name |
131 branch name |