<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inkscape.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Panel</id>
	<title>Panel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inkscape.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Panel"/>
	<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=Panel&amp;action=history"/>
	<updated>2026-04-25T10:27:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=Panel&amp;diff=104691&amp;oldid=prev</id>
		<title>Tavmjong: Created page with &quot;Almost all of Inkscape's dialogs are derived from Inkscape::UI::Widget::Panel. This class is poorly documented and each derived class seems to handle desktop/document tracking...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=Panel&amp;diff=104691&amp;oldid=prev"/>
		<updated>2017-02-28T12:35:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Almost all of Inkscape&amp;#039;s dialogs are derived from Inkscape::UI::Widget::Panel. This class is poorly documented and each derived class seems to handle desktop/document tracking...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Almost all of Inkscape's dialogs are derived from Inkscape::UI::Widget::Panel. This class is poorly documented and each derived class seems to handle desktop/document tracking in different (and sometimes inconsistent) ways. This is an attempt to rectify that.&lt;br /&gt;
&lt;br /&gt;
I've created a &amp;quot;Prototype&amp;quot; dialog to serve as a model of how derived classes should be constructed. Please comment on the class and correct any errors.&lt;br /&gt;
&lt;br /&gt;
Particular issues:&lt;br /&gt;
&lt;br /&gt;
* What parts of Panel are optional?&lt;br /&gt;
* Most of the code in Panel.h/.cpp deals with swatches, something almost all of the derived panels don't use.&lt;br /&gt;
** Should this be moved into a separate derived class (it would make understanding Panel.h much easier).&lt;br /&gt;
** Which parts of Panel are solely for swatches?&lt;br /&gt;
* What is the purpose of &amp;quot;targetDesktop&amp;quot; (found in derived classes)? Desktop switching seems to work fine without it.&lt;br /&gt;
* Why do most derived classes keep track of desktop themselves?&lt;br /&gt;
* What does desktopTracker::setBase() do? Why would a derived class call it?&lt;br /&gt;
* What do the signals do?&lt;br /&gt;
** sigc::signal&amp;lt;void, SPDesktop *&amp;gt; _signal_document_replaced seems to only be used by a couple of dialogs (document-preference and undo-history) and it is called four times for each change of desktop . Most setup their own signal to handle this.&lt;br /&gt;
* What does _boundCall() do?&lt;/div&gt;</summary>
		<author><name>Tavmjong</name></author>
	</entry>
</feed>