<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[QElectroTech — DiagramEditor Grid(grille) 1-10]]></title>
		<link>https://qelectrotech.org/forum/viewtopic.php?id=1347</link>
		<atom:link href="https://qelectrotech.org/forum/extern.php?action=feed&amp;tid=1347&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in DiagramEditor Grid(grille) 1-10.]]></description>
		<lastBuildDate>Mon, 11 Feb 2019 00:40:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9137#p9137</link>
			<description><![CDATA[<p> Very interesting, thanks Erik <img src="https://qelectrotech.org/forum/img/smilies/nomicons/smile.png" width="20" alt="nomicons/smile" /></p><p>It could be very useful to place and align elements, conductors, etc,&nbsp; a workaround is to use xgrid = 1, ygrid = 25 or more. <img src="https://qelectrotech.org/forum/img/smilies/nomicons/smile.png" width="20" alt="nomicons/smile" /> </p><p><span class="postimg"><img src="https://download.qelectrotech.org/qet/forum_img/grid-3.png" alt="https://download.qelectrotech.org/qet/forum_img/grid-3.png" /></span><br />xgrid = 25, ygrid = 1<br /><span class="postimg"><img src="https://download.qelectrotech.org/qet/forum_img/grid-4.png" alt="https://download.qelectrotech.org/qet/forum_img/grid-4.png" /></span> </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Mon, 11 Feb 2019 00:40:53 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9137#p9137</guid>
		</item>
		<item>
			<title><![CDATA[Re: DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9129#p9129</link>
			<description><![CDATA[<p> <span class="postimg"><img src="https://download.qelectrotech.org/qet/forum_img/grid-2.png" alt="https://download.qelectrotech.org/qet/forum_img/grid-2.png" /></span><br /><span class="postimg"><img src="https://download.qelectrotech.org/qet/forum_img/grid.png" alt="https://download.qelectrotech.org/qet/forum_img/grid.png" /></span> </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sun, 10 Feb 2019 16:15:20 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9129#p9129</guid>
		</item>
		<item>
			<title><![CDATA[Re: DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9121#p9121</link>
			<description><![CDATA[<p> Patch </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sat, 09 Feb 2019 23:47:16 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9121#p9121</guid>
		</item>
		<item>
			<title><![CDATA[Re: DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9120#p9120</link>
			<description><![CDATA[<p> New file QET-5734 </p>]]></description>
			<author><![CDATA[null@example.com (Re-searcher)]]></author>
			<pubDate>Sat, 09 Feb 2019 18:58:09 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9120#p9120</guid>
		</item>
		<item>
			<title><![CDATA[Re: DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9119#p9119</link>
			<description><![CDATA[<p> New file QET-5734 </p>]]></description>
			<author><![CDATA[null@example.com (Re-searcher)]]></author>
			<pubDate>Sat, 09 Feb 2019 18:56:51 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9119#p9119</guid>
		</item>
		<item>
			<title><![CDATA[Re: DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9118#p9118</link>
			<description><![CDATA[<p> New File QET 5734 </p>]]></description>
			<author><![CDATA[null@example.com (Re-searcher)]]></author>
			<pubDate>Sat, 09 Feb 2019 18:55:30 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9118#p9118</guid>
		</item>
		<item>
			<title><![CDATA[Re: DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9117#p9117</link>
			<description><![CDATA[<p> New files QET 5734 </p>]]></description>
			<author><![CDATA[null@example.com (Re-searcher)]]></author>
			<pubDate>Sat, 09 Feb 2019 18:53:43 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9117#p9117</guid>
		</item>
		<item>
			<title><![CDATA[Re: DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9115#p9115</link>
			<description><![CDATA[<p> Bonjour,</p><p>thanks, please use qtcreator to make a clean diff file.<br />Go to Tools -&gt; Subversion -&gt; Diff project &quot;qelectrotech&quot; <br />Now save patch and send me here.</p><p>Or you could use also in your local directory Subversion to create a diff :<br />svn diff &gt; my_changes.diff </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Fri, 08 Feb 2019 18:42:18 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9115#p9115</guid>
		</item>
		<item>
			<title><![CDATA[DiagramEditor Grid(grille) 1-10]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=9114#p9114</link>
			<description><![CDATA[<p> Bonjour,</p><p>La distance de grille entre deux points est maintenant de 10</p><p>J&#039;ai réussi à ajuster la grille.<br />Vous pouvez maintenant choisir de 1 à 10 <img src="https://qelectrotech.org/forum/img/smilies/nomicons/smile.png" width="20" alt="nomicons/smile" /> </p><p>Ce qui suit doit arriver dans les fichiers suivants.</p><br /><p>Now the grid distance between two points is 10</p><p>I managed to adjust the Grid.<br />You can now choose from 1 to 10  <img src="https://qelectrotech.org/forum/img/smilies/nomicons/smile.png" width="20" alt="nomicons/smile" /> </p><p>The following must happen in the following files.</p><p>sources/diagram.h<br />supprimer Const dans les lignes 76 et 78<br />Delete Const in lines 76 and 78 <br />76 - static int xGrid;  //static const int xGrid;<br />78 - static int yGrid;  //static const int yGrid;</p><p>sources/diagram.cpp<br />supprimer Const dans les lignes 41 et 42<br />Delete Const in lines 41 and 42 41 - int Diagram::xGrid  = 10;  //const int   Diagram::xGrid  = 10;<br />42 - int Diagram::yGrid  = 10;  //const int   Diagram::yGrid  = 10;</p><p>Ajouter les lignes suivantes<br />Après les paramètres QSettings;</p><p>Add the following lines<br />After QSettings settings;</p><p>153 - int xGrid = settings.value(&quot;DiagramEditor_xGrid_sb&quot;, Diagram::xGrid).toInt();<br />154 - int yGrid = settings.value(&quot;DiagramEditor_yGrid_sb&quot;, Diagram::yGrid).toInt();</p><br /><p>sources/ui/configpage/generalconfigurationpage.cpp<br />Ajouter les lignes suivantes<br />Après les paramètres QSettings;</p><p>Add the following lines<br />After QSettings settings;<br />38 - ui-&gt;DiagramEditor_xGrid_sb-&gt;setValue(settings.value(&quot;DiagramEditor_xGrid_sb&quot;, 10).toInt());<br />39 - ui-&gt;DiagramEditor_yGrid_sb-&gt;setValue(settings.value(&quot;DiagramEditor_yGrid_sb&quot;, 10).toInt());</p><br /><p>Ajouter les lignes suivantes<br />Add the following lines<br />142 - settings.setValue(&quot;DiagramEditor_xGrid_sb&quot;, ui-&gt;DiagramEditor_xGrid_sb-&gt;value());<br />143 - settings.setValue(&quot;DiagramEditor_yGrid_sb&quot;, ui-&gt;DiagramEditor_yGrid_sb-&gt;value());</p><br /><br /><p>Forms/sources/ui/configpage/generalconfigurationpage.ui</p><p>Maintenant, utilisez un éditeur de texte et non Qtcreator.<br />J&#039;utilise Mousepad.<br />Ajouter les lignes suivantes de la ligne 467<br />C&#039;est entre &lt;widget&gt; et &lt;widget&gt;</p><p>Now use a text editor and not Qtcreator.<br />I use Mousepad.<br />Add the following lines from line 467<br />It&#039;s between &lt;widget&gt; and &lt;widget&gt;</p><p>      &lt;widget class=&quot;QWidget&quot; name=&quot;Grid&quot;&gt;<br />      &lt;attribute name=&quot;title&quot;&gt;<br />       &lt;string&gt;Grid&lt;/string&gt;<br />      &lt;/attribute&gt;<br />      &lt;widget class=&quot;QLabel&quot; name=&quot;Label_Diagram_xGrid&quot;&gt;<br />       &lt;property name=&quot;geometry&quot;&gt;<br />        &lt;rect&gt;<br />         &lt;x&gt;20&lt;/x&gt;<br />         &lt;y&gt;10&lt;/y&gt;<br />         &lt;width&gt;191&lt;/width&gt;<br />         &lt;height&gt;30&lt;/height&gt;<br />        &lt;/rect&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;text&quot;&gt;<br />        &lt;string&gt;DiagramEditor xGrid&lt;/string&gt;<br />       &lt;/property&gt;<br />      &lt;/widget&gt;<br />      &lt;widget class=&quot;QLabel&quot; name=&quot;Label_Diagram_yGrid&quot;&gt;<br />       &lt;property name=&quot;geometry&quot;&gt;<br />        &lt;rect&gt;<br />         &lt;x&gt;20&lt;/x&gt;<br />         &lt;y&gt;50&lt;/y&gt;<br />         &lt;width&gt;191&lt;/width&gt;<br />         &lt;height&gt;30&lt;/height&gt;<br />        &lt;/rect&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;text&quot;&gt;<br />        &lt;string&gt;DiagramEditor yGrid&lt;/string&gt;<br />       &lt;/property&gt;<br />      &lt;/widget&gt;<br />      &lt;widget class=&quot;QSpinBox&quot; name=&quot;DiagramEditor_xGrid_sb&quot;&gt;<br />       &lt;property name=&quot;geometry&quot;&gt;<br />        &lt;rect&gt;<br />         &lt;x&gt;220&lt;/x&gt;<br />         &lt;y&gt;10&lt;/y&gt;<br />         &lt;width&gt;55&lt;/width&gt;<br />         &lt;height&gt;30&lt;/height&gt;<br />        &lt;/rect&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;minimum&quot;&gt;<br />        &lt;number&gt;1&lt;/number&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;maximum&quot;&gt;<br />        &lt;number&gt;10&lt;/number&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;singleStep&quot;&gt;<br />        &lt;number&gt;1&lt;/number&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;value&quot;&gt;<br />        &lt;number&gt;10&lt;/number&gt;<br />       &lt;/property&gt;<br />      &lt;/widget&gt;<br />      &lt;widget class=&quot;QSpinBox&quot; name=&quot;DiagramEditor_yGrid_sb&quot;&gt;<br />       &lt;property name=&quot;geometry&quot;&gt;<br />        &lt;rect&gt;<br />         &lt;x&gt;220&lt;/x&gt;<br />         &lt;y&gt;50&lt;/y&gt;<br />         &lt;width&gt;55&lt;/width&gt;<br />         &lt;height&gt;30&lt;/height&gt;<br />        &lt;/rect&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;minimum&quot;&gt;<br />        &lt;number&gt;1&lt;/number&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;maximum&quot;&gt;<br />        &lt;number&gt;10&lt;/number&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;value&quot;&gt;<br />        &lt;number&gt;10&lt;/number&gt;<br />       &lt;/property&gt;<br />      &lt;/widget&gt;<br />      &lt;widget class=&quot;QLabel&quot; name=&quot;Label_DiagramGrid&quot;&gt;<br />       &lt;property name=&quot;geometry&quot;&gt;<br />        &lt;rect&gt;<br />         &lt;x&gt;20&lt;/x&gt;<br />         &lt;y&gt;100&lt;/y&gt;<br />         &lt;width&gt;251&lt;/width&gt;<br />         &lt;height&gt;30&lt;/height&gt;<br />        &lt;/rect&gt;<br />       &lt;/property&gt;<br />       &lt;property name=&quot;text&quot;&gt;<br />        &lt;string&gt;Grid on/off = See the change&lt;/string&gt;<br />       &lt;/property&gt;<br />     &lt;/widget&gt;<br />    &lt;/widget&gt; </p>]]></description>
			<author><![CDATA[null@example.com (Re-searcher)]]></author>
			<pubDate>Fri, 08 Feb 2019 17:50:57 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=9114#p9114</guid>
		</item>
	</channel>
</rss>
