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

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

eric ide

mercurial