<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://planeshift.top-ix.org//pswiki/index.php?action=history&amp;feed=atom&amp;title=Zhan_June_27-July_4</id>
	<title>Zhan June 27-July 4 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://planeshift.top-ix.org//pswiki/index.php?action=history&amp;feed=atom&amp;title=Zhan_June_27-July_4"/>
	<link rel="alternate" type="text/html" href="https://planeshift.top-ix.org//pswiki/index.php?title=Zhan_June_27-July_4&amp;action=history"/>
	<updated>2026-04-07T10:00:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://planeshift.top-ix.org//pswiki/index.php?title=Zhan_June_27-July_4&amp;diff=8997&amp;oldid=prev</id>
		<title>Zhanzhizheng: Created page with &#039;* This week I almost paid all my time on coding for using copy constructor to clone widgets. Following is what I have done: ** Continue the work I have done the last week and tes…&#039;</title>
		<link rel="alternate" type="text/html" href="https://planeshift.top-ix.org//pswiki/index.php?title=Zhan_June_27-July_4&amp;diff=8997&amp;oldid=prev"/>
		<updated>2011-07-05T08:27:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;* This week I almost paid all my time on coding for using copy constructor to clone widgets. Following is what I have done: ** Continue the work I have done the last week and tes…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* This week I almost paid all my time on coding for using copy constructor to clone widgets. Following is what I have done:&lt;br /&gt;
** Continue the work I have done the last week and test the base pawsWidget&amp;#039;s copy constructor. Make sure it could correctly create all children widgets using the right widget factory.&lt;br /&gt;
** Adding copy constructor for other widget classes in libpaws. And test those copy constructors to ensure they work.&lt;br /&gt;
** Solving the problem I met in adding constructor for pawsTree, pawsTreeNode. At first I didn&amp;#039;t see clearly the relationship between pawsTree and pawsTreeNode that only one tree node would show in the cloned window. After debuging step by step I figure that the root tree node&amp;#039;s children are all added into pawsTree widget but in pawsTreeNode&amp;#039;s copy constructor you don&amp;#039;t know who is the current tree node&amp;#039;s parent tree. The problem was finally solved in pawsTree&amp;#039;s copy constructor by recursively loop through the root tree node to add every children into their parent tree.&lt;br /&gt;
&lt;br /&gt;
* Plan for next week&lt;br /&gt;
** Finishing copy constructor work and submit patch.&lt;br /&gt;
** Finishing the work for chat window improvement.&lt;/div&gt;</summary>
		<author><name>Zhanzhizheng</name></author>
	</entry>
</feed>