4,401

(554 replies, posted in News)

Revision: 5462
Author:   blacksun
Date:     2018-08-03 18:35:40 +0200 (Fri, 03 Aug 2018)
Log Message:
-----------
re-enable the possibility to define the path of elements collections.
Add variables for common and custom elements collections, to avoid multiple access to QSettings and so reduce the loading of collections.

Hello,

btw, you could scale your element like this video, element size depend on title block config, increase or decrease dimensions of folio (rows, columns) scale your diagram symbols.

Thanks for testing versions.

Yes you could install subversion client (installed by Xcode), Qt 5.11 library,  Xcode, qtcreator if you want a IDE, etc

You need ~30 Gio free on your disk.

To download latest sources on trunk branch use :

svn checkout svn://svn.tuxfamily.org/svnroot/qet/qet/trunk qelectrotech_trunk


Use "svn up"  command to get latest commit and refresh your local copy of trunk sources.


MacOS packaging on wiki :
The French page is more documented than the English one



https://qelectrotech.org/wiki_new/doc/macosx



BTW, have you tried to delete QET config file to see if it crash again?

$HOME/Library/Preferences/QElectroTech/QElectroTech.plist




I uploaded r5461, but I think that not fix your crash.


https://svnweb.tuxfamily.org/log.php?re … dir=1& 

Hello Max,

thanks. nomicons/smile

Revision: 5461
Author:   scorpio810
Date:     2018-07-30 17:24:29 +0200 (Mon, 30 Jul 2018)
Log Message:
-----------
Revert r5449 and disable r5452 momentary : Load time from elements is
very slow

We need more time to solve this very slow loading problem (summer, holidays, etc).

You could compare with previous Appimage version .

https://download.qelectrotech.org/qet/b … 4.AppImage 

Hi,

I saw the same thing on macOS bundle since Revision: 5452.. 3 or 5 minutes load time at each launch.
I disabled this feature on this OS for the moment :

https://qelectrotech.org/forum/viewtopi … 8406#p8406 

It's not possible at this time to selct and modify all differents items in the same time.

Thank so much for your comments.nomicons/wink


we are not  OSX macOS expert, we use and develop on Gnu/Linux OS,.
Our macOS package left us 2 or 3 years ago, if I remember correctly,  i had to learn this operating system and work to virtualize on my machine for debug ,packaging and also try to improve the bundles and the user experience too.


Alone, we have very few macOS users feedback. nomicons/getlost

Hi,

Right-click for edit selection. 

You can try other bundles, I made big changes before 5449 version, like 5444 dmg ?

https://download.qelectrotech.org/qet/builds/MAC_OS_X/


BTW, you could find some howto on QET YouTube channel :

https://www.youtube.com/user/scorpio8101/videos 

4,412

(554 replies, posted in News)

Cette feature est désactivée pour macOS, même après de nombreuses heures de tests, de nombreuses compils, déploiements, de QDebug...  je n'ai toujours pas résolu ni trouvé d'ou peut provenir le soucis avec le bundle "dmg" : l'application mettant un temps très important a charger les collections.

Au besoin les arguments dans une console eux fonctionnent, exemple :

open -a /Applications/qelectrotech.app --args --common-elements-dir=/Users/laurent/qelectrotech_trunk/elements/

Bonsoir,

la limitation dans le code a toujours existé.

Je dessinais un schéma de câblage succinct pour une installation solaire, et j'ai un câble de controle/commande avec 7 conducteurs... impossible donc à représenter.

La représentation unifilaire  n'est pas adaptée à ton utilisation, utilise plutôt une représentation multifilaire.

Apply this patch or download latest 0.6 tarball here :
https://download.qelectrotech.org/qet/b … .60.tar.gz 

You compil it ?
You could found latest fix patch for GCC 8.1.1 here for 0.6 version :
https://svnweb.tuxfamily.org/revision.p … p;peg=5450 

I copy your titleblock, paste your diagram and titleblock to an new project launch plug-in D & D terminal block on folio, launch many times plug-in without crashes ... strange!

Hum !
If I open test bornier v50_2_1_1.qet I saw this :


<project xmlns:ns0="http://www.w3.org/2000/svg" folioSheetQuantity="0" title="" version="0.70">
    <titleblocktemplates>
        <titleblocktemplate name="Cartouche Veolia">
            <information />
            <logos>
                <logo name="t&#233;l&#233;chargement.png" storage="base64" type="png">iVBORw0KGgoAAAANSUhEUgAAAQoAAACmCAYAAAAiYsHoAAAAAXNSR0IArs4c6QA...............
 
 
 
<logo name="Qet.svg" storage="xml" type="svg">
                    <ns0:svg height="600.000000pt" preserveAspectRatio="xMidYMid meet" version="1.0" viewBox="0 0 600.000000 600.000000" width="600.000000pt">
                        <ns0:metadata>

<project xmlns:ns0="http://www.w3.org/2000/svg" folioSheetQuantity="0" title="" version="0.70"> nomicons/blink

4,418

(13 replies, posted in News)

Hi,

for Linux we offer AppImages of version 0.5, 0.6 and the development version 0.7 that should run on any reasonable recent distributions.

AppImage is a format for distributing portable software on Linux without needing superuser permissions to install the application.
It tries also to allow Linux distribution-agnostic binary software deployment for application developers, also called Upstream packaging.


Using appimages it is easy to have several versions installed at the same time, i.e.: create work using the current version, 
use the old version to edit old work without losing compatibility for other users still on the old version, and try out the development version.


Just download the version you want.
make it executable .


$ chmod a+x QElectroTech_0.*.AppImage

and launch AppImage


$ ./QElectroTech_0.7-r5444-x86_64.AppImage 

More informations for AppImage executable arguments : 
https://qelectrotech.org/forum/viewtopi … 8364#p8364

https://firejail.wordpress.com/document … sic-usage/

Enjoy ! nomicons/smile

Intéressant, Merci, ça pourrai nous servir de base dans le futur. nomicons/smile
Ouchh :&#039;(  ça représente un travail de titan afin d'ajouter toutes ces balises ..

nuri wrote:

Et c'est pas facile de rajouter énormément de propriétés aux éléments sans transformer le logiciel en usine à gaz.

On en bave déjà assez avec les propriétés électriques.

Clair ! c'est 5 fichiers dans le code qui sont a modifier à chaque fois ne serai-ce que pour ajouter un nouveau champ information...

/trunk/sources/autoNum/assignvariables.cpp   
/trunk/sources/diagramcontext.h   
/trunk/sources/editor/ui/elementpropertieseditorwidget.cpp   
/trunk/sources/nomenclature.cpp   
/trunk/sources/qetapp.cpp



r5059-scorpio810.diff

Modified: trunk/sources/autoNum/assignvariables.cpp
===================================================================
--- trunk/sources/autoNum/assignvariables.cpp    2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/autoNum/assignvariables.cpp    2017-10-02 16:59:53 UTC (rev 5059)
@@ -167,6 +167,7 @@
         QString str = formula;
         str.replace("%{label}", dc.value("label").toString());
         str.replace("%{comment}", dc.value("comment").toString());
+        str.replace("%{description}", dc.value("description").toString());
         str.replace("%{designation}", dc.value("designation").toString());
         str.replace("%{manufacturer}", dc.value("manufacturer").toString());
         str.replace("%{manufacturer-reference}", dc.value("manufacturer-reference").toString());
 
Modified: trunk/sources/diagramcontext.h
===================================================================
--- trunk/sources/diagramcontext.h    2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/diagramcontext.h    2017-10-02 16:59:53 UTC (rev 5059)
@@ -34,6 +34,7 @@
  * label                          -> label or identification of element
  * formula                        -> formula used to create the label (formula is make with variable)
  * designation                    -> exhaustive comment used to explain what the element does.
+ * description                    -> exhaustive description used to explain what the element does.
  * comment                        -> a little comment wich can be displayed in the folio
  * manufacturer                   -> the manufacturer of the element
  * manufacturer-reference         -> the manufacturer reference of the element
 
Modified: trunk/sources/editor/ui/elementpropertieseditorwidget.cpp
===================================================================
--- trunk/sources/editor/ui/elementpropertieseditorwidget.cpp    2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/editor/ui/elementpropertieseditorwidget.cpp    2017-10-02 16:59:53 UTC (rev 5059)
@@ -152,7 +152,7 @@
  */
void ElementPropertiesEditorWidget::populateTree()
{
-    QStringList keys{"label", "comment", "designation", "manufacturer", "manufacturer-reference", "machine-manufacturer-reference"};
+    QStringList keys{"label", "comment", "description", "designation", "manufacturer", "manufacturer-reference", "machine-manufacturer-reference"};
 
     for(QString key : keys)
     {
 
Modified: trunk/sources/nomenclature.cpp
===================================================================
--- trunk/sources/nomenclature.cpp    2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/nomenclature.cpp    2017-10-02 16:59:53 UTC (rev 5059)
@@ -91,6 +91,7 @@
     ""+ QObject::tr("Position") +";"
     ""+ QObject::tr("Label") +";"
     ""+ QObject::tr("Désignation") +";"
+    ""+ QObject::tr("Description") +";"
     ""+ QObject::tr("Commentaire") +";"
     ""+ QObject::tr("Fabricant") +";"
     ""+ QObject::tr("Reference") +";"
@@ -147,6 +148,7 @@
     info += elmt-> diagram()-> convertPosition(elmt -> scenePos()).toString() + ";";
     info += autonum::AssignVariables::formulaToLabel(elmt_info["label"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
     info += autonum::AssignVariables::formulaToLabel(elmt_info["designation"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
+    info += autonum::AssignVariables::formulaToLabel(elmt_info["description"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
     info += autonum::AssignVariables::formulaToLabel(elmt_info["comment"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
     info += autonum::AssignVariables::formulaToLabel(elmt_info["manufacturer"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
     info += autonum::AssignVariables::formulaToLabel(elmt_info["manufacturer-reference"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
 
Modified: trunk/sources/qetapp.cpp
===================================================================
--- trunk/sources/qetapp.cpp    2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/qetapp.cpp    2017-10-02 16:59:53 UTC (rev 5059)
@@ -284,6 +284,7 @@
     info_list << "formula"
               << "label"
               << "comment"
+              << "description"
               << "designation"
               << "manufacturer"
               << "manufacturer-reference"
@@ -307,6 +308,7 @@
     if (info == "formula") return tr("formule du label");
     else if (info == "label") return tr("Label");
     else if (info == "comment") return tr("Commentaire");
+    else if (info == "descrition") return tr("Descrition");
     else if (info == "designation") return tr("Désignation");
     else if (info == "manufacturer") return tr("Fabricant");
     else if (info == "manufacturer-reference") return tr("Référence fabricant");
@@ -330,6 +332,7 @@
     if (info == "formula")                             return QString("%{formula}");
     else if (info == "label")                          return QString("%{label}");
     else if (info == "comment")                        return QString("%{comment}");
+    else if (info == "description")                    return QString("%{description}");
     else if (info == "designation")                    return QString("%{designation}");
     else if (info == "manufacturer")                   return QString("%{manufacturer}");
     else if (info == "manufacturer-reference")         return QString("%{manufacturer-reference}");

Ce n'est pas très compliqué en soit mais ça peut devenir très chiant s' il faut en rajouter un certain nombre...
Pour moi, la difficulté se trouve du coté de la structure des attributs XML pour être compatible avec DEXPI et être interopérable avec d'autres logiciels, il y a quelques exemples mais pas de listes définies...

Bonjour,

tu pourrais établir un cahier des charges sur les changements à effectuer dans le logiciel?
Dans le cas ou la seule solution possible serait de faire un fork, tu penses pouvoir trouver et rassembler une communauté de développeurs pour travailler sur ce projet, voir ajouter des nouveaux modules à QET ?

https://download.qelectrotech.org/qet/forum_img/DMH78.png

  Hi DMH78,


you could send us your project for checking? 

Bonjour,

QET s'en sort très bien pour dessiner des schémas PID, ce que nous pouvons faire est d'ajouter de nouveaux champs informations dans l’éditeur de symboles et de schémas comme la capture plus haut, mais il en faudrait un nombre très conséquent d’après ce que j'en ai lu ...
Avec les textes dynamiques de la 0.7 il est possible d'automatiser le dessin et afficher les informations contenues dans le symbole ou dans le widget informations directement dans le schéma.

Par contre pour l'arbre XML et les différents attributs spécifiques ça se complique ...

4,425

(554 replies, posted in News)

nomicons/smile