eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitBranchPushDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsGit.GitBranchPushDialog</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>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitBranchPushDialog</h1>
24
25 <p>
26 Module implementing a dialog to select the data for pushing a branch.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#GitBranchPushDialog">GitBranchPushDialog</a></td>
39 <td>Class implementing a dialog to select the data for pushing a branch.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="GitBranchPushDialog" ID="GitBranchPushDialog"></a>
50 <h2>GitBranchPushDialog</h2>
51
52 <p>
53 Class implementing a dialog to select the data for pushing a branch.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_GitBranchPushDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#GitBranchPushDialog.__init__">GitBranchPushDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#GitBranchPushDialog.getData">getData</a></td>
77 <td>Public method to get the selected data.</td>
78 </tr>
79 <tr>
80 <td><a href="#GitBranchPushDialog.on_branchComboBox_editTextChanged">on_branchComboBox_editTextChanged</a></td>
81 <td>Private slot to handle a change of the branch name.</td>
82 </tr>
83 </table>
84 <h3>Static Methods</h3>
85
86 <table>
87 <tr><td>None</td></tr>
88 </table>
89
90 <a NAME="GitBranchPushDialog.__init__" ID="GitBranchPushDialog.__init__"></a>
91 <h4>GitBranchPushDialog (Constructor)</h4>
92 <b>GitBranchPushDialog</b>(<i>branches, remotes, delete=False, parent=None</i>)
93
94 <p>
95 Constructor
96 </p>
97 <dl>
98
99 <dt><i>branches</i></dt>
100 <dd>
101 list of branch names (list of string)
102 </dd>
103 <dt><i>remotes</i></dt>
104 <dd>
105 list of remote names (list of string)
106 </dd>
107 <dt><i>delete</i></dt>
108 <dd>
109 flag indicating a delete branch action (boolean)
110 </dd>
111 <dt><i>parent</i></dt>
112 <dd>
113 reference to the parent widget (QWidget)
114 </dd>
115 </dl>
116 <a NAME="GitBranchPushDialog.getData" ID="GitBranchPushDialog.getData"></a>
117 <h4>GitBranchPushDialog.getData</h4>
118 <b>getData</b>(<i></i>)
119
120 <p>
121 Public method to get the selected data.
122 </p>
123 <dl>
124 <dt>Return:</dt>
125 <dd>
126 tuple of selected branch name, remote name and a flag
127 indicating all branches (tuple of two strings and a boolean)
128 </dd>
129 </dl>
130 <a NAME="GitBranchPushDialog.on_branchComboBox_editTextChanged" ID="GitBranchPushDialog.on_branchComboBox_editTextChanged"></a>
131 <h4>GitBranchPushDialog.on_branchComboBox_editTextChanged</h4>
132 <b>on_branchComboBox_editTextChanged</b>(<i>txt</i>)
133
134 <p>
135 Private slot to handle a change of the branch name.
136 </p>
137 <dl>
138
139 <dt><i>txt</i></dt>
140 <dd>
141 branch name (string)
142 </dd>
143 </dl>
144 <div align="right"><a href="#top">Up</a></div>
145 <hr />
146 </body></html>

eric ide

mercurial