Documentation/Source/eric5.Plugins.VcsPlugins.vcsSubversion.SvnDiffDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Plugins.VcsPlugins.vcsSubversion.SvnDiffDialog</h1> 23 <h1>eric5.Plugins.VcsPlugins.vcsSubversion.SvnDiffDialog</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#111;&#102; &#116;&#104;&#101; &#115;v&#110; &#100;&#105;&#102;&#102; &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 25 Module implementing a dialog to show the output of the svn diff command process.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#SvnDiffDialog">SvnDiffDialog</a></td> 34 <td><a href="#SvnDiffDialog">SvnDiffDialog</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#111;&#102; &#116;&#104;&#101; &#115;v&#110; &#100;&#105;&#102;&#102; &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#112;&#114;&#111;&#99;&#101;&#115;&#115;.</td> 35 <td>Class implementing a dialog to show the output of the svn diff command process.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="SvnDiffDialog" ID="SvnDiffDialog"></a> 43 <a NAME="SvnDiffDialog" ID="SvnDiffDialog"></a>
44 <h2>SvnDiffDialog</h2> 44 <h2>SvnDiffDialog</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#111;&#102; &#116;&#104;&#101; &#115;v&#110; &#100;&#105;&#102;&#102; &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 46 Class implementing a dialog to show the output of the svn diff command process.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QWidget, Ui_SvnDiffDialog 49 QWidget, Ui_SvnDiffDialog
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#SvnDiffDialog.__init__">SvnDiffDialog</a></td> 57 <td><a href="#SvnDiffDialog.__init__">SvnDiffDialog</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#SvnDiffDialog.__appendText">__appendText</a></td> 60 <td><a href="#SvnDiffDialog.__appendText">__appendText</a></td>
61 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#112;&#112;&#101;&#110;&#100; &#116;&#101;x&#116; &#116;&#111; &#116;&#104;&#101; &#101;&#110;&#100; &#111;&#102; &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#112;&#97;&#110;&#101;.</td> 61 <td>Private method to append text to the end of the contents pane.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#SvnDiffDialog.__getVersionArg">__getVersionArg</a></td> 63 <td><a href="#SvnDiffDialog.__getVersionArg">__getVersionArg</a></td>
64 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#115;v&#110; &#114;&#101;v&#105;&#115;&#105;&#111;&#110; &#97;&#114;&#103;&#117;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#114;&#101;v&#105;&#115;&#105;&#111;&#110;.</td> 64 <td>Private method to get a svn revision argument for the given revision.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#SvnDiffDialog.__procFinished">__procFinished</a></td> 66 <td><a href="#SvnDiffDialog.__procFinished">__procFinished</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#101;&#100; &#116;&#111; &#116;&#104;&#101; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108;.</td> 67 <td>Private slot connected to the finished signal.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#SvnDiffDialog.__readStderr">__readStderr</a></td> 69 <td><a href="#SvnDiffDialog.__readStderr">__readStderr</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#97;&#100;y&#82;&#101;&#97;&#100;&#83;&#116;&#97;&#110;&#100;&#97;&#114;&#100;&#69;&#114;&#114;&#111;&#114; &#115;&#105;&#103;&#110;&#97;&#108;.</td> 70 <td>Private slot to handle the readyReadStandardError signal.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#SvnDiffDialog.__readStdout">__readStdout</a></td> 72 <td><a href="#SvnDiffDialog.__readStdout">__readStdout</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#97;&#100;y&#82;&#101;&#97;&#100;&#83;&#116;&#97;&#110;&#100;&#97;&#114;&#100;&#79;&#117;&#116;&#112;&#117;&#116; &#115;&#105;&#103;&#110;&#97;&#108;.</td> 73 <td>Private slot to handle the readyReadStandardOutput signal.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#SvnDiffDialog.closeEvent">closeEvent</a></td> 75 <td><a href="#SvnDiffDialog.closeEvent">closeEvent</a></td>
76 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#99;&#108;&#111;&#115;&#101; &#101;v&#101;&#110;&#116; &#104;&#97;&#110;&#100;&#108;&#101;&#114;.</td> 76 <td>Private slot implementing a close event handler.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#SvnDiffDialog.keyPressEvent">keyPressEvent</a></td> 78 <td><a href="#SvnDiffDialog.keyPressEvent">keyPressEvent</a></td>
79 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116;.</td> 79 <td>Protected slot to handle a key press event.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#SvnDiffDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 81 <td><a href="#SvnDiffDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
82 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;.</td> 82 <td>Private slot called by a button of the button box clicked.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#SvnDiffDialog.on_input_returnPressed">on_input_returnPressed</a></td> 84 <td><a href="#SvnDiffDialog.on_input_returnPressed">on_input_returnPressed</a></td>
85 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#112;&#114;&#101;&#115;&#115; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#116;&#117;&#114;&#110; &#107;&#101;y &#105;&#110; &#116;&#104;&#101; &#105;&#110;&#112;&#117;&#116; &#102;&#105;&#101;&#108;&#100;.</td> 85 <td>Private slot to handle the press of the return key in the input field.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#SvnDiffDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> 87 <td><a href="#SvnDiffDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
88 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#112;&#97;&#115;&#115;w&#111;&#114;&#100; &#99;&#104;&#101;&#99;&#107;&#98;&#111;x &#116;&#111;&#103;&#103;&#108;&#101;&#100;.</td> 88 <td>Private slot to handle the password checkbox toggled.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#SvnDiffDialog.on_saveButton_clicked">on_saveButton_clicked</a></td> 90 <td><a href="#SvnDiffDialog.on_saveButton_clicked">on_saveButton_clicked</a></td>
91 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#83;&#97;v&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#112;&#114;&#101;&#115;&#115;.</td> 91 <td>Private slot to handle the Save button press.</td>
92 </tr><tr> 92 </tr><tr>
93 <td><a href="#SvnDiffDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> 93 <td><a href="#SvnDiffDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
94 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#110;&#100; &#116;&#104;&#101; &#105;&#110;&#112;&#117;&#116; &#116;&#111; &#116;&#104;&#101; &#115;&#117;&#98;v&#101;&#114;&#115;&#105;&#111;&#110; &#112;&#114;&#111;&#99;&#101;&#115;&#115;.</td> 94 <td>Private slot to send the input to the subversion process.</td>
95 </tr><tr> 95 </tr><tr>
96 <td><a href="#SvnDiffDialog.start">start</a></td> 96 <td><a href="#SvnDiffDialog.start">start</a></td>
97 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#115;v&#110; &#100;&#105;&#102;&#102; &#99;&#111;&#109;&#109;&#97;&#110;&#100;.</td> 97 <td>Public slot to start the svn diff command.</td>
98 </tr> 98 </tr>
99 </table> 99 </table>
100 <a NAME="SvnDiffDialog.__init__" ID="SvnDiffDialog.__init__"></a> 100 <a NAME="SvnDiffDialog.__init__" ID="SvnDiffDialog.__init__"></a>
101 <h4>SvnDiffDialog (Constructor)</h4> 101 <h4>SvnDiffDialog (Constructor)</h4>
102 <b>SvnDiffDialog</b>(<i>vcs, parent = None</i>) 102 <b>SvnDiffDialog</b>(<i>vcs, parent = None</i>)
103 <p> 103 <p>
104 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 104 Constructor
105 </p><dl> 105 </p><dl>
106 <dt><i>vcs</i></dt> 106 <dt><i>vcs</i></dt>
107 <dd> 107 <dd>
108 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; v&#99;&#115; &#111;&#98;&#106;&#101;&#99;&#116; 108 reference to the vcs object
109 </dd><dt><i>parent</i></dt> 109 </dd><dt><i>parent</i></dt>
110 <dd> 110 <dd>
111 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 111 parent widget (QWidget)
112 </dd> 112 </dd>
113 </dl><a NAME="SvnDiffDialog.__appendText" ID="SvnDiffDialog.__appendText"></a> 113 </dl><a NAME="SvnDiffDialog.__appendText" ID="SvnDiffDialog.__appendText"></a>
114 <h4>SvnDiffDialog.__appendText</h4> 114 <h4>SvnDiffDialog.__appendText</h4>
115 <b>__appendText</b>(<i>txt, format</i>) 115 <b>__appendText</b>(<i>txt, format</i>)
116 <p> 116 <p>
117 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#112;&#112;&#101;&#110;&#100; &#116;&#101;x&#116; &#116;&#111; &#116;&#104;&#101; &#101;&#110;&#100; &#111;&#102; &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#112;&#97;&#110;&#101;. 117 Private method to append text to the end of the contents pane.
118 </p><dl> 118 </p><dl>
119 <dt><i>txt</i></dt> 119 <dt><i>txt</i></dt>
120 <dd> 120 <dd>
121 &#116;&#101;x&#116; &#116;&#111; &#105;&#110;&#115;&#101;&#114;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 121 text to insert (string)
122 </dd><dt><i>format</i></dt> 122 </dd><dt><i>format</i></dt>
123 <dd> 123 <dd>
124 &#116;&#101;x&#116; &#102;&#111;&#114;&#109;&#97;&#116; &#116;&#111; &#98;&#101; &#117;&#115;&#101;&#100; (&#81;&#84;&#101;x&#116;&#67;&#104;&#97;&#114;&#70;&#111;&#114;&#109;&#97;&#116;) 124 text format to be used (QTextCharFormat)
125 </dd> 125 </dd>
126 </dl><a NAME="SvnDiffDialog.__getVersionArg" ID="SvnDiffDialog.__getVersionArg"></a> 126 </dl><a NAME="SvnDiffDialog.__getVersionArg" ID="SvnDiffDialog.__getVersionArg"></a>
127 <h4>SvnDiffDialog.__getVersionArg</h4> 127 <h4>SvnDiffDialog.__getVersionArg</h4>
128 <b>__getVersionArg</b>(<i>version</i>) 128 <b>__getVersionArg</b>(<i>version</i>)
129 <p> 129 <p>
130 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#115;v&#110; &#114;&#101;v&#105;&#115;&#105;&#111;&#110; &#97;&#114;&#103;&#117;&#109;&#101;&#110;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#114;&#101;v&#105;&#115;&#105;&#111;&#110;. 130 Private method to get a svn revision argument for the given revision.
131 </p><dl> 131 </p><dl>
132 <dt><i>version</i></dt> 132 <dt><i>version</i></dt>
133 <dd> 133 <dd>
134 &#114;&#101;v&#105;&#115;&#105;&#111;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114; &#111;&#114; &#115;&#116;&#114;&#105;&#110;&#103;) 134 revision (integer or string)
135 </dd> 135 </dd>
136 </dl><dl> 136 </dl><dl>
137 <dt>Returns:</dt> 137 <dt>Returns:</dt>
138 <dd> 138 <dd>
139 v&#101;&#114;&#115;&#105;&#111;&#110; &#97;&#114;&#103;&#117;&#109;&#101;&#110;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 139 version argument (string)
140 </dd> 140 </dd>
141 </dl><a NAME="SvnDiffDialog.__procFinished" ID="SvnDiffDialog.__procFinished"></a> 141 </dl><a NAME="SvnDiffDialog.__procFinished" ID="SvnDiffDialog.__procFinished"></a>
142 <h4>SvnDiffDialog.__procFinished</h4> 142 <h4>SvnDiffDialog.__procFinished</h4>
143 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) 143 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
144 <p> 144 <p>
145 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#101;&#100; &#116;&#111; &#116;&#104;&#101; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108;. 145 Private slot connected to the finished signal.
146 </p><dl> 146 </p><dl>
147 <dt><i>exitCode</i></dt> 147 <dt><i>exitCode</i></dt>
148 <dd> 148 <dd>
149 &#101;x&#105;&#116; &#99;&#111;&#100;&#101; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 149 exit code of the process (integer)
150 </dd><dt><i>exitStatus</i></dt> 150 </dd><dt><i>exitStatus</i></dt>
151 <dd> 151 <dd>
152 &#101;x&#105;&#116; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115; (&#81;&#80;&#114;&#111;&#99;&#101;&#115;&#115;.&#69;x&#105;&#116;&#83;&#116;&#97;&#116;&#117;&#115;) 152 exit status of the process (QProcess.ExitStatus)
153 </dd> 153 </dd>
154 </dl><a NAME="SvnDiffDialog.__readStderr" ID="SvnDiffDialog.__readStderr"></a> 154 </dl><a NAME="SvnDiffDialog.__readStderr" ID="SvnDiffDialog.__readStderr"></a>
155 <h4>SvnDiffDialog.__readStderr</h4> 155 <h4>SvnDiffDialog.__readStderr</h4>
156 <b>__readStderr</b>(<i></i>) 156 <b>__readStderr</b>(<i></i>)
157 <p> 157 <p>
158 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#97;&#100;y&#82;&#101;&#97;&#100;&#83;&#116;&#97;&#110;&#100;&#97;&#114;&#100;&#69;&#114;&#114;&#111;&#114; &#115;&#105;&#103;&#110;&#97;&#108;. 158 Private slot to handle the readyReadStandardError signal.
159 </p><p> 159 </p><p>
160 &#73;&#116; &#114;&#101;&#97;&#100;&#115; &#116;&#104;&#101; &#101;&#114;&#114;&#111;&#114; &#111;&#117;&#116;&#112;&#117;&#116; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115; &#97;&#110;&#100; &#105;&#110;&#115;&#101;&#114;&#116;&#115; &#105;&#116; &#105;&#110;&#116;&#111; &#116;&#104;&#101; 160 It reads the error output of the process and inserts it into the
161 &#101;&#114;&#114;&#111;&#114; &#112;&#97;&#110;&#101;. 161 error pane.
162 </p><a NAME="SvnDiffDialog.__readStdout" ID="SvnDiffDialog.__readStdout"></a> 162 </p><a NAME="SvnDiffDialog.__readStdout" ID="SvnDiffDialog.__readStdout"></a>
163 <h4>SvnDiffDialog.__readStdout</h4> 163 <h4>SvnDiffDialog.__readStdout</h4>
164 <b>__readStdout</b>(<i></i>) 164 <b>__readStdout</b>(<i></i>)
165 <p> 165 <p>
166 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#97;&#100;y&#82;&#101;&#97;&#100;&#83;&#116;&#97;&#110;&#100;&#97;&#114;&#100;&#79;&#117;&#116;&#112;&#117;&#116; &#115;&#105;&#103;&#110;&#97;&#108;. 166 Private slot to handle the readyReadStandardOutput signal.
167 </p><p> 167 </p><p>
168 &#73;&#116; &#114;&#101;&#97;&#100;&#115; &#116;&#104;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115;, &#102;&#111;&#114;&#109;&#97;&#116;&#115; &#105;&#116; &#97;&#110;&#100; &#105;&#110;&#115;&#101;&#114;&#116;&#115; &#105;&#116; &#105;&#110;&#116;&#111; 168 It reads the output of the process, formats it and inserts it into
169 &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#112;&#97;&#110;&#101;. 169 the contents pane.
170 </p><a NAME="SvnDiffDialog.closeEvent" ID="SvnDiffDialog.closeEvent"></a> 170 </p><a NAME="SvnDiffDialog.closeEvent" ID="SvnDiffDialog.closeEvent"></a>
171 <h4>SvnDiffDialog.closeEvent</h4> 171 <h4>SvnDiffDialog.closeEvent</h4>
172 <b>closeEvent</b>(<i>e</i>) 172 <b>closeEvent</b>(<i>e</i>)
173 <p> 173 <p>
174 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#99;&#108;&#111;&#115;&#101; &#101;v&#101;&#110;&#116; &#104;&#97;&#110;&#100;&#108;&#101;&#114;. 174 Private slot implementing a close event handler.
175 </p><dl> 175 </p><dl>
176 <dt><i>e</i></dt> 176 <dt><i>e</i></dt>
177 <dd> 177 <dd>
178 &#99;&#108;&#111;&#115;&#101; &#101;v&#101;&#110;&#116; (&#81;&#67;&#108;&#111;&#115;&#101;&#69;v&#101;&#110;&#116;) 178 close event (QCloseEvent)
179 </dd> 179 </dd>
180 </dl><a NAME="SvnDiffDialog.keyPressEvent" ID="SvnDiffDialog.keyPressEvent"></a> 180 </dl><a NAME="SvnDiffDialog.keyPressEvent" ID="SvnDiffDialog.keyPressEvent"></a>
181 <h4>SvnDiffDialog.keyPressEvent</h4> 181 <h4>SvnDiffDialog.keyPressEvent</h4>
182 <b>keyPressEvent</b>(<i>evt</i>) 182 <b>keyPressEvent</b>(<i>evt</i>)
183 <p> 183 <p>
184 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116;. 184 Protected slot to handle a key press event.
185 </p><dl> 185 </p><dl>
186 <dt><i>evt</i></dt> 186 <dt><i>evt</i></dt>
187 <dd> 187 <dd>
188 &#116;&#104;&#101; &#107;&#101;y &#112;&#114;&#101;&#115;&#115; &#101;v&#101;&#110;&#116; (&#81;&#75;&#101;y&#69;v&#101;&#110;&#116;) 188 the key press event (QKeyEvent)
189 </dd> 189 </dd>
190 </dl><a NAME="SvnDiffDialog.on_buttonBox_clicked" ID="SvnDiffDialog.on_buttonBox_clicked"></a> 190 </dl><a NAME="SvnDiffDialog.on_buttonBox_clicked" ID="SvnDiffDialog.on_buttonBox_clicked"></a>
191 <h4>SvnDiffDialog.on_buttonBox_clicked</h4> 191 <h4>SvnDiffDialog.on_buttonBox_clicked</h4>
192 <b>on_buttonBox_clicked</b>(<i>button</i>) 192 <b>on_buttonBox_clicked</b>(<i>button</i>)
193 <p> 193 <p>
194 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;. 194 Private slot called by a button of the button box clicked.
195 </p><dl> 195 </p><dl>
196 <dt><i>button</i></dt> 196 <dt><i>button</i></dt>
197 <dd> 197 <dd>
198 &#98;&#117;&#116;&#116;&#111;&#110; &#116;&#104;&#97;&#116; w&#97;&#115; &#99;&#108;&#105;&#99;&#107;&#101;&#100; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#66;&#117;&#116;&#116;&#111;&#110;) 198 button that was clicked (QAbstractButton)
199 </dd> 199 </dd>
200 </dl><a NAME="SvnDiffDialog.on_input_returnPressed" ID="SvnDiffDialog.on_input_returnPressed"></a> 200 </dl><a NAME="SvnDiffDialog.on_input_returnPressed" ID="SvnDiffDialog.on_input_returnPressed"></a>
201 <h4>SvnDiffDialog.on_input_returnPressed</h4> 201 <h4>SvnDiffDialog.on_input_returnPressed</h4>
202 <b>on_input_returnPressed</b>(<i></i>) 202 <b>on_input_returnPressed</b>(<i></i>)
203 <p> 203 <p>
204 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#112;&#114;&#101;&#115;&#115; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#116;&#117;&#114;&#110; &#107;&#101;y &#105;&#110; &#116;&#104;&#101; &#105;&#110;&#112;&#117;&#116; &#102;&#105;&#101;&#108;&#100;. 204 Private slot to handle the press of the return key in the input field.
205 </p><a NAME="SvnDiffDialog.on_passwordCheckBox_toggled" ID="SvnDiffDialog.on_passwordCheckBox_toggled"></a> 205 </p><a NAME="SvnDiffDialog.on_passwordCheckBox_toggled" ID="SvnDiffDialog.on_passwordCheckBox_toggled"></a>
206 <h4>SvnDiffDialog.on_passwordCheckBox_toggled</h4> 206 <h4>SvnDiffDialog.on_passwordCheckBox_toggled</h4>
207 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) 207 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
208 <p> 208 <p>
209 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#112;&#97;&#115;&#115;w&#111;&#114;&#100; &#99;&#104;&#101;&#99;&#107;&#98;&#111;x &#116;&#111;&#103;&#103;&#108;&#101;&#100;. 209 Private slot to handle the password checkbox toggled.
210 </p><dl> 210 </p><dl>
211 <dt><i>isOn</i></dt> 211 <dt><i>isOn</i></dt>
212 <dd> 212 <dd>
213 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#99;&#104;&#101;&#99;&#107; &#98;&#111;x (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 213 flag indicating the status of the check box (boolean)
214 </dd> 214 </dd>
215 </dl><a NAME="SvnDiffDialog.on_saveButton_clicked" ID="SvnDiffDialog.on_saveButton_clicked"></a> 215 </dl><a NAME="SvnDiffDialog.on_saveButton_clicked" ID="SvnDiffDialog.on_saveButton_clicked"></a>
216 <h4>SvnDiffDialog.on_saveButton_clicked</h4> 216 <h4>SvnDiffDialog.on_saveButton_clicked</h4>
217 <b>on_saveButton_clicked</b>(<i></i>) 217 <b>on_saveButton_clicked</b>(<i></i>)
218 <p> 218 <p>
219 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#83;&#97;v&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#112;&#114;&#101;&#115;&#115;. 219 Private slot to handle the Save button press.
220 </p><p> 220 </p><p>
221 &#73;&#116; &#115;&#97;v&#101;&#115; &#116;&#104;&#101; &#100;&#105;&#102;&#102; &#115;&#104;&#111;w&#110; &#105;&#110; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#97; &#102;&#105;&#108;&#101; &#105;&#110; &#116;&#104;&#101; &#108;&#111;&#99;&#97;&#108; 221 It saves the diff shown in the dialog to a file in the local
222 &#102;&#105;&#108;&#101;&#115;y&#115;&#116;&#101;&#109;. 222 filesystem.
223 </p><a NAME="SvnDiffDialog.on_sendButton_clicked" ID="SvnDiffDialog.on_sendButton_clicked"></a> 223 </p><a NAME="SvnDiffDialog.on_sendButton_clicked" ID="SvnDiffDialog.on_sendButton_clicked"></a>
224 <h4>SvnDiffDialog.on_sendButton_clicked</h4> 224 <h4>SvnDiffDialog.on_sendButton_clicked</h4>
225 <b>on_sendButton_clicked</b>(<i></i>) 225 <b>on_sendButton_clicked</b>(<i></i>)
226 <p> 226 <p>
227 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#110;&#100; &#116;&#104;&#101; &#105;&#110;&#112;&#117;&#116; &#116;&#111; &#116;&#104;&#101; &#115;&#117;&#98;v&#101;&#114;&#115;&#105;&#111;&#110; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 227 Private slot to send the input to the subversion process.
228 </p><a NAME="SvnDiffDialog.start" ID="SvnDiffDialog.start"></a> 228 </p><a NAME="SvnDiffDialog.start" ID="SvnDiffDialog.start"></a>
229 <h4>SvnDiffDialog.start</h4> 229 <h4>SvnDiffDialog.start</h4>
230 <b>start</b>(<i>fn, versions = None, urls = None, summary = False</i>) 230 <b>start</b>(<i>fn, versions = None, urls = None, summary = False</i>)
231 <p> 231 <p>
232 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#115;v&#110; &#100;&#105;&#102;&#102; &#99;&#111;&#109;&#109;&#97;&#110;&#100;. 232 Public slot to start the svn diff command.
233 </p><dl> 233 </p><dl>
234 <dt><i>fn</i></dt> 234 <dt><i>fn</i></dt>
235 <dd> 235 <dd>
236 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#116;&#111; &#98;&#101; &#100;&#105;&#102;&#102;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 236 filename to be diffed (string)
237 </dd><dt><i>versions</i></dt> 237 </dd><dt><i>versions</i></dt>
238 <dd> 238 <dd>
239 &#108;&#105;&#115;&#116; &#111;&#102; v&#101;&#114;&#115;&#105;&#111;&#110;&#115; &#116;&#111; &#98;&#101; &#100;&#105;&#102;&#102;&#101;&#100; (&#108;&#105;&#115;&#116; &#111;&#102; &#117;&#112; &#116;&#111; &#50; &#115;&#116;&#114;&#105;&#110;&#103;&#115; &#111;&#114; &#78;&#111;&#110;&#101;) 239 list of versions to be diffed (list of up to 2 strings or None)
240 </dd><dt><i>urls=</i></dt> 240 </dd><dt><i>urls=</i></dt>
241 <dd> 241 <dd>
242 &#108;&#105;&#115;&#116; &#111;&#102; &#114;&#101;&#112;&#111;&#115;&#105;&#116;&#111;&#114;y &#85;&#82;&#76;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#50; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 242 list of repository URLs (list of 2 strings)
243 </dd><dt><i>summary=</i></dt> 243 </dd><dt><i>summary=</i></dt>
244 <dd> 244 <dd>
245 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#115;&#117;&#109;&#109;&#97;&#114;&#105;z&#105;&#110;&#103; &#100;&#105;&#102;&#102; 245 flag indicating a summarizing diff
246 (&#111;&#110;&#108;y v&#97;&#108;&#105;&#100; &#102;&#111;&#114; &#85;&#82;&#76; &#100;&#105;&#102;&#102;&#115;) (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 246 (only valid for URL diffs) (boolean)
247 </dd> 247 </dd>
248 </dl> 248 </dl>
249 <div align="right"><a href="#top">Up</a></div> 249 <div align="right"><a href="#top">Up</a></div>
250 <hr /> 250 <hr />
251 </body></html> 251 </body></html>

eric ide

mercurial