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

changeset 6942
2602857055c5
parent 6020
baf6da1ae288
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.VcsPlugins.vcsGit.GitPushDialog</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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitPushDialog</h1>
23 <p>
24 Module implementing a dialog to enter data for a Push operation.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#GitPushDialog">GitPushDialog</a></td>
34 <td>Class implementing a dialog to enter data for a Push operation.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="GitPushDialog" ID="GitPushDialog"></a>
43 <h2>GitPushDialog</h2>
44 <p>
45 Class implementing a dialog to enter data for a Push operation.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_GitPushDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>ForceColumn</td></tr><tr><td>LocalBranchColumn</td></tr><tr><td>PushColumn</td></tr><tr><td>RemoteBranchColumn</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#GitPushDialog.__init__">GitPushDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#GitPushDialog.__resizeColumns">__resizeColumns</a></td>
64 <td>Private slot to adjust the column sizes.</td>
65 </tr><tr>
66 <td><a href="#GitPushDialog.getData">getData</a></td>
67 <td>Public method to get the entered data.</td>
68 </tr><tr>
69 <td><a href="#GitPushDialog.on_branchesTree_itemChanged">on_branchesTree_itemChanged</a></td>
70 <td>Private slot handling changes of a branch item.</td>
71 </tr><tr>
72 <td><a href="#GitPushDialog.on_remotesComboBox_currentTextChanged">on_remotesComboBox_currentTextChanged</a></td>
73 <td>Private slot to handle changes of the selected repository.</td>
74 </tr><tr>
75 <td><a href="#GitPushDialog.on_selectAllCheckBox_stateChanged">on_selectAllCheckBox_stateChanged</a></td>
76 <td>Private slot to select/deselect all branch items.</td>
77 </tr>
78 </table>
79 <h3>Static Methods</h3>
80 <table>
81 <tr><td>None</td></tr>
82 </table>
83 <a NAME="GitPushDialog.__init__" ID="GitPushDialog.__init__"></a>
84 <h4>GitPushDialog (Constructor)</h4>
85 <b>GitPushDialog</b>(<i>vcs, repodir, parent=None</i>)
86 <p>
87 Constructor
88 </p><dl>
89 <dt><i>vcs</i></dt>
90 <dd>
91 reference to the git object
92 </dd><dt><i>repodir</i></dt>
93 <dd>
94 directory name of the local repository (string)
95 </dd><dt><i>parent</i></dt>
96 <dd>
97 reference to the parent widget (QWidget)
98 </dd>
99 </dl><a NAME="GitPushDialog.__resizeColumns" ID="GitPushDialog.__resizeColumns"></a>
100 <h4>GitPushDialog.__resizeColumns</h4>
101 <b>__resizeColumns</b>(<i></i>)
102 <p>
103 Private slot to adjust the column sizes.
104 </p><a NAME="GitPushDialog.getData" ID="GitPushDialog.getData"></a>
105 <h4>GitPushDialog.getData</h4>
106 <b>getData</b>(<i></i>)
107 <p>
108 Public method to get the entered data.
109 </p><dl>
110 <dt>Returns:</dt>
111 <dd>
112 remote name, list of branches to be pushed,
113 a flag indicating to push tags as well, a flag indicating
114 to set tracking information and the push method for submodules
115 </dd>
116 </dl><dl>
117 <dt>Return Type:</dt>
118 <dd>
119 tuple of (str, list of str, bool, bool, str)
120 </dd>
121 </dl><a NAME="GitPushDialog.on_branchesTree_itemChanged" ID="GitPushDialog.on_branchesTree_itemChanged"></a>
122 <h4>GitPushDialog.on_branchesTree_itemChanged</h4>
123 <b>on_branchesTree_itemChanged</b>(<i>item, column</i>)
124 <p>
125 Private slot handling changes of a branch item.
126 </p><dl>
127 <dt><i>item</i></dt>
128 <dd>
129 reference to the changed item (QTreeWidgetItem)
130 </dd><dt><i>column</i></dt>
131 <dd>
132 changed column (integer)
133 </dd>
134 </dl><a NAME="GitPushDialog.on_remotesComboBox_currentTextChanged" ID="GitPushDialog.on_remotesComboBox_currentTextChanged"></a>
135 <h4>GitPushDialog.on_remotesComboBox_currentTextChanged</h4>
136 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>)
137 <p>
138 Private slot to handle changes of the selected repository.
139 </p><dl>
140 <dt><i>txt</i></dt>
141 <dd>
142 current text of the combo box (string)
143 </dd>
144 </dl><a NAME="GitPushDialog.on_selectAllCheckBox_stateChanged" ID="GitPushDialog.on_selectAllCheckBox_stateChanged"></a>
145 <h4>GitPushDialog.on_selectAllCheckBox_stateChanged</h4>
146 <b>on_selectAllCheckBox_stateChanged</b>(<i>state</i>)
147 <p>
148 Private slot to select/deselect all branch items.
149 </p><dl>
150 <dt><i>state</i></dt>
151 <dd>
152 check state of the check box (Qt.CheckState)
153 </dd>
154 </dl>
155 <div align="right"><a href="#top">Up</a></div>
156 <hr />
157 </body></html>

eric ide

mercurial