Thu, 06 Jan 2011 19:47:21 +0100
Fixed an issue in the sidebar widget causing splitter size not being saved when moved.
--- a/Documentation/Help/source.qhp Wed Jan 05 16:22:18 2011 +0100 +++ b/Documentation/Help/source.qhp Thu Jan 06 19:47:21 2011 +0100 @@ -4214,6 +4214,7 @@ <keyword name="E5SideBar (Constructor)" id="E5SideBar (Constructor)" ref="eric5.E5Gui.E5SideBar.html#E5SideBar.__init__" /> <keyword name="E5SideBar.__appFocusChanged" id="E5SideBar.__appFocusChanged" ref="eric5.E5Gui.E5SideBar.html#E5SideBar.__appFocusChanged" /> <keyword name="E5SideBar.__autoHideToggled" id="E5SideBar.__autoHideToggled" ref="eric5.E5Gui.E5SideBar.html#E5SideBar.__autoHideToggled" /> + <keyword name="E5SideBar.__splitterMoved" id="E5SideBar.__splitterMoved" ref="eric5.E5Gui.E5SideBar.html#E5SideBar.__splitterMoved" /> <keyword name="E5SideBar.addTab" id="E5SideBar.addTab" ref="eric5.E5Gui.E5SideBar.html#E5SideBar.addTab" /> <keyword name="E5SideBar.clear" id="E5SideBar.clear" ref="eric5.E5Gui.E5SideBar.html#E5SideBar.clear" /> <keyword name="E5SideBar.count" id="E5SideBar.count" ref="eric5.E5Gui.E5SideBar.html#E5SideBar.count" />
--- a/Documentation/Source/eric5.Cooperation.ChatWidget.html Wed Jan 05 16:22:18 2011 +0100 +++ b/Documentation/Source/eric5.Cooperation.ChatWidget.html Thu Jan 06 19:47:21 2011 +0100 @@ -72,7 +72,7 @@ QWidget, Ui_ChatWidget <h3>Class Attributes</h3> <table> -<tr><td>cancelEdit</td></tr><tr><td>connected</td></tr><tr><td>editorCommand</td></tr><tr><td>sendEdit</td></tr><tr><td>shareEditor</td></tr><tr><td>startEdit</td></tr> +<tr><td>None</td></tr> </table> <h3>Methods</h3> <table>
--- a/Documentation/Source/eric5.Cooperation.Connection.html Wed Jan 05 16:22:18 2011 +0100 +++ b/Documentation/Source/eric5.Cooperation.Connection.html Thu Jan 06 19:47:21 2011 +0100 @@ -66,7 +66,7 @@ QTcpSocket <h3>Class Attributes</h3> <table> -<tr><td>Editor</td></tr><tr><td>GetParticipants</td></tr><tr><td>Greeting</td></tr><tr><td>Participants</td></tr><tr><td>Ping</td></tr><tr><td>PlainText</td></tr><tr><td>Pong</td></tr><tr><td>ProtocolEditor</td></tr><tr><td>ProtocolGetParticipants</td></tr><tr><td>ProtocolGreeting</td></tr><tr><td>ProtocolMessage</td></tr><tr><td>ProtocolParticipants</td></tr><tr><td>ProtocolPing</td></tr><tr><td>ProtocolPong</td></tr><tr><td>ReadingGreeting</td></tr><tr><td>ReadyForUse</td></tr><tr><td>Undefined</td></tr><tr><td>WaitingForGreeting</td></tr><tr><td>editorCommand</td></tr><tr><td>getParticipants</td></tr><tr><td>newMessage</td></tr><tr><td>participants</td></tr><tr><td>readyForUse</td></tr><tr><td>rejected</td></tr> +<tr><td>Editor</td></tr><tr><td>GetParticipants</td></tr><tr><td>Greeting</td></tr><tr><td>Participants</td></tr><tr><td>Ping</td></tr><tr><td>PlainText</td></tr><tr><td>Pong</td></tr><tr><td>ProtocolEditor</td></tr><tr><td>ProtocolGetParticipants</td></tr><tr><td>ProtocolGreeting</td></tr><tr><td>ProtocolMessage</td></tr><tr><td>ProtocolParticipants</td></tr><tr><td>ProtocolPing</td></tr><tr><td>ProtocolPong</td></tr><tr><td>ReadingGreeting</td></tr><tr><td>ReadyForUse</td></tr><tr><td>Undefined</td></tr><tr><td>WaitingForGreeting</td></tr> </table> <h3>Methods</h3> <table>
--- a/Documentation/Source/eric5.Cooperation.CooperationClient.html Wed Jan 05 16:22:18 2011 +0100 +++ b/Documentation/Source/eric5.Cooperation.CooperationClient.html Thu Jan 06 19:47:21 2011 +0100 @@ -72,7 +72,7 @@ QObject <h3>Class Attributes</h3> <table> -<tr><td>cannotConnect</td></tr><tr><td>connectionError</td></tr><tr><td>editorCommand</td></tr><tr><td>newMessage</td></tr><tr><td>newParticipant</td></tr><tr><td>participantLeft</td></tr> +<tr><td>None</td></tr> </table> <h3>Methods</h3> <table>
--- a/Documentation/Source/eric5.Cooperation.CooperationServer.html Wed Jan 05 16:22:18 2011 +0100 +++ b/Documentation/Source/eric5.Cooperation.CooperationServer.html Thu Jan 06 19:47:21 2011 +0100 @@ -56,7 +56,7 @@ QTcpServer <h3>Class Attributes</h3> <table> -<tr><td>newConnection</td></tr> +<tr><td>None</td></tr> </table> <h3>Methods</h3> <table>
--- a/Documentation/Source/eric5.E5Gui.E5SideBar.html Wed Jan 05 16:22:18 2011 +0100 +++ b/Documentation/Source/eric5.E5Gui.E5SideBar.html Thu Jan 06 19:47:21 2011 +0100 @@ -64,6 +64,9 @@ <td><a href="#E5SideBar.__autoHideToggled">__autoHideToggled</a></td> <td>Private slot to handle the toggling of the autohide button.</td> </tr><tr> +<td><a href="#E5SideBar.__splitterMoved">__splitterMoved</a></td> +<td>Private slot to react on splitter moves.</td> +</tr><tr> <td><a href="#E5SideBar.addTab">addTab</a></td> <td>Public method to add a tab to the sidebar.</td> </tr><tr> @@ -206,6 +209,19 @@ <dd> flag indicating the checked state of the button (boolean) </dd> +</dl><a NAME="E5SideBar.__splitterMoved" ID="E5SideBar.__splitterMoved"></a> +<h4>E5SideBar.__splitterMoved</h4> +<b>__splitterMoved</b>(<i>pos, index</i>) +<p> + Private slot to react on splitter moves. +</p><dl> +<dt><i>pos</i></dt> +<dd> +new position of the splitter handle (integer) +</dd><dt><i>index</i></dt> +<dd> +index of the splitter handle (integer) +</dd> </dl><a NAME="E5SideBar.addTab" ID="E5SideBar.addTab"></a> <h4>E5SideBar.addTab</h4> <b>addTab</b>(<i>widget, iconOrLabel, label = None</i>)
--- a/Documentation/Source/eric5.Helpviewer.DownloadDialog.html Wed Jan 05 16:22:18 2011 +0100 +++ b/Documentation/Source/eric5.Helpviewer.DownloadDialog.html Thu Jan 06 19:47:21 2011 +0100 @@ -55,7 +55,7 @@ QWidget, Ui_DownloadDialog <h3>Class Attributes</h3> <table> -<tr><td>done</td></tr> +<tr><td>None</td></tr> </table> <h3>Methods</h3> <table>
--- a/E5Gui/E5SideBar.py Wed Jan 05 16:22:18 2011 +0100 +++ b/E5Gui/E5SideBar.py Thu Jan 06 19:47:21 2011 +0100 @@ -90,6 +90,18 @@ @param splitter reference to the splitter (QSplitter) """ self.splitter = splitter + self.connect(self.splitter, SIGNAL("splitterMoved(int, int)"), + self.__splitterMoved) + + def __splitterMoved(self, pos, index): + """ + Private slot to react on splitter moves. + + @param pos new position of the splitter handle (integer) + @param index index of the splitter handle (integer) + """ + if self.splitter: + self.splitterSizes = self.splitter.sizes() def shrink(self): """