Humm ! mouse scroll tabar not work here on Mojave but is ok on HighSierra, you can comfirm it's work on your Mojave?

QElectroTech V 0.80-DEV r79d3c7585
Compilation : CLANG 10.0.1 (clang-1001.0.46.4) - built with Qt 5.13.1 - Date : Sep 18 2019 : 17:45:51 - run with Qt 5.13.1 using 16 thread(s)
OS : darwin - x86_64 - Version : macOS Mojave (10.14.x) - Kernel : 18.x.x


Mojave  black theme  and Fusion.
https://qelectrotech.org/bugtracker/view.php?id=175
As a workaround, you can put the following CSS fragment into `$HOME/.qet/style.css` to force drawing everything in black:

QGraphicsView {
  color: #000;
}

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

Bonsoir,

quand tu modifies un élément embarqué depuis le widget collection / Project /éléments embarqués tu n'as aucune vérification, ton élément sera écrasé et tu verras la différence à la ré ouverture du projet qu' a condition que tu l'ais sauvegardé.
Car son UUID ne sera pas modifié par l’éditeur lors de l'enregistrement, et donc pour le programme l’élément est le même donc ton projet ne sera pas marqué modifié!
C'est très utile à condition de savoir ce que l'on fait!

Le mieux est d’éditer ton élément puis de le sauvegarder dans ta collection user puis de le drag and drop n'importe ou dans ton projet juste pour lancer ImportElementDialog qui te proposera plusieurs solutions, remplacer l’élément, faire cohabiter les deux versions, etc, et là le projet sera marqué comme modifié. Apres tu peux supprimer l'élément que tu viens juste de drag and drop.

Comme tu le vois tu a deux méthodes une plus rapide et sans vérification, l'autre un peu plus longue mais plus sure.


//Element already exist in the embedded collection, we ask what to do to user
    if (m_elements_collection->exist(import_path)) {
        ElementsLocation existing_location(import_path, this);
 
            //@existing_location and @location have the same uuid, so it is the same element
        if (existing_location.uuid() == location.uuid()) {
            return existing_location;
        }
 
        ImportElementDialog ied;
        if (ied.exec() == QDialog::Accepted) {
            QET::Action action = ied.action();
 
                //Use the exisitng element
            if (action == QET::Ignore) {
                return existing_location;
            }
                //Erase the existing element, and use the newer instead
            else if (action == QET::Erase) {
                ElementsLocation parent_loc = existing_location.parent();
                return m_elements_collection->copy(location, parent_loc);
            }
                //Add the new element with an other name.
            else if (action == QET::Rename) {
                int a = 0;
                QString parent_path = existing_location.parent().projectCollectionPath();
                QString name_ = existing_location.fileName();
                name_.remove(".elmt");

Si on remonte le fil sur l'histoire du plug-in générateur de bornier les premières versions avaient cette possibilités.

Please try latest packages.

Interesting, thanks for your feedback.

Les constructeurs font tout pour réduire les coûts de productions, la compétitivité, toussa, je le comprend, et souvent je pense qu'ils s'en fichent que les clients galèrent en maintenance préventive ou curative.. c'est du vécu, et ça n'engage que moi ...quand c'est nous qu'on défini un projet ou crée une installation on réfléchi autrement, car les temps d’arrêts machine sont crucial et coûtent beaucoup d'argent.

Quand aux bornes rapides a ressort, on les as bannies chez nous. En théorie c'est chouette, en pratique et sur le long terme cela l'est beaucoup moins. Il vaut mieux resserrer une borne que la remplacer car le ressort ne fait plus sont travail correctement avec les risques que ça comporte..
Les nouvelles bornes vis + ressort (Borne hybride - Vis-IDC) seraient peut-être plus pratiques...et plus fiables dans le temps?.

Je déteste les bornes à étages, ça devrait être proscrit, sauf quand t'as vraiment pas le choix. nomicons/grin
C'est chiant a dessiner sur les schémas, et encore plus chiant quand tu dépannes...

galexis wrote:

Ne faudrait-il pas régler la problématique des "bornes à sorties multiples" qui ne permettent le passage du numéro de conducteur que sur 2 bornes ? Le problème est ressortit plusieurs fois sur le forum...

Heuu.... ce problème est réglé depuis un moment...nomicons/smiley-green tu peux mettre autant de bornes et même des bornes 4 points de connections  (-|-)  l ’équipotentialité sera conservé.

========================Gestion des éléments borne (2)========================
-Dans l'onglet informations ou dans un nouvel onglet, ajouter une entrer afin de choisir le groupe de bornier parent.
-Ajouter une nouvelle variable de formule de label qui indique le numéro de fil (ainsi la borne pourra avoir comme label le numéro de fil raccordé)

+ champs informations sur la borne, infos qu'il est difficile de mettre en place sur le schéma mais qui doit être présent dans le dessin du bornier à moins que t'ais prévu qu'on puisse y ajouter des textes dynamiques comme avec les anciens borniers?

https://download.qelectrotech.org/qet/forum_img/66_bornier_chassis_guillotines_51-88.jpg

Hello,

put qet_labels.xml in the root of your elements folder.
https://download.qelectrotech.org/qet/forum_img/qet_labels_windows.png

Rename your file to qet_labels.xml and see this litle example.

── coils
│   ├── coils_prefix_FX
│   │   ├── bobine3.elmt
│   │   └── qet_directory
│   ├── coils_prefix_XYA
│   │   ├── qet_directory
│   │   └── relbistable.elmt
│   └── qet_directory



<labels>
<category name="coils">
      <category name="coils_prefix_FX">
      <prefix>FX</prefix>
      </category>
     <category name="coils_prefix_XYA">
     <prefix>YYA</prefix>
     </category> 
</category> 
</labels>

You 're right, thanks to report it.
This problem seems to affect only the MS Windows version.
Please try the latest versions compiled for Windows. I just downgraded the Qt 5 version to the old 5.12.3 environment.

but when I change a font nothinh is changed on the project.

Close and reload your project.

Only change are on Qt 5 Framework  Qt 5.13.0 -> 5.13.1.

Fixed https://git.tuxfamily.org/qet/qet.git/c … b68e110bac

Use command + Wheel for tabs scroll.

Please try it : qelectrotech-0.80-DEV_r6021.dmg nomicons/smile

Cheers,
Laurent

No scroll on tabBar here on my Mac, can you comfirm it work with you with qelectrotech-0.80-DEV_r6020.dmg?

You could change font policy in settings, select a vector graphic policy, just reload your projects to see the change aplied on the fly.

I added your changes, but it's not run on macOS
https://git.tuxfamily.org/qet/qet.git/c … b8f83326e8 

3,619

(317 replies, posted in News)

Just add Qt 5.13.1 path in your bash_profile:

 cat .bash_profile

# Setting PATH for Qt5.13.1
PATH="/usr/local/Cellar/qt/5.13.1/bin:${PATH}"
export PATH

Check it by 

echo $PATH
which qmake

3,620

(317 replies, posted in News)

Why ? is auto generated by qmake.

3,621

(317 replies, posted in News)

Hello QET users,

I upgraded Qt 5 framework to latest 5.13.1 bug fix release look https://www.qt.io/blog/qt-5.13.1-released please try it, MS windows, AppImages and macOS rebuild latest packages.

Hi Giovanni and many thanks for your works, very gracefull. ;-)

Now the problem to solve is the conflict with page zoom also made by scrool wheel.

Yes, it was a problem raised on the Qt report issue and why it was removed for OSX by upstream since 2015.

Hello Giovanni,

I tested it when I got home from work this morning, too tired to have seen the variable scale factor...after a very bad nifght at work..
 scale_factor = 0.01; is fine on my Debian.



And scale_factor = 0.005; is fine on macOS.

index 10 temp_index 10.2    120 0.6
index 9 temp_index 9.6    120 0.6
index 8 temp_index 9    120 0.6
index 8 temp_index 8.4    120 0.6
index 7 temp_index 7.8    120 0.6
index 7 temp_index 7.2    120 0.6
index 6 temp_index 6.6    120 0.6
index 6 temp_index 6    120 0.6
index 5 temp_index 5.4    120 0.6
index 4 temp_index 4.8    120 0.6
index 4 temp_index 4.2    120 0.6
index 3 temp_index 3.6    120 0.6
index 3 temp_index 3    120 0.6
index 2 temp_index 2.4    120 0.6
index 1 temp_index 1.8    120 0.6
index 1 temp_index 1.2    120 0.6
index 0 temp_index 0.6    120 0.6
index 1 temp_index 1.2    -120 -0.6
index 1 temp_index 1.8    -120 -0.6
index 2 temp_index 2.4    -120 -0.6
index 3 temp_index 3    -120 -0.6
index 3 temp_index 3.6    -120 -0.6
index 4 temp_index 4.2    -120 -0.6
index 4 temp_index 4.8    -120 -0.6
index 5 temp_index 5.4    -120 -0.6
index 6 temp_index 6    -120 -0.6
index 6 temp_index 6.6    -120 -0.6
index 7 temp_index 7.2    -120 -0.6
index 7 temp_index 7.8    -120 -0.6
index 8 temp_index 8.4    -120 -0.6
index 8 temp_index 9    -120 -0.6
index 9 temp_index 9.6    -120 -0.6
index 10 temp_index 10.2    -120 -0.6
index 10 temp_index 10.8    -120 -0.6
index 11 temp_index 11.4    -120 -0.6
index 10 temp_index 10.8    120 0.6
index 10 temp_index 10.2    120 0.6
index 9 temp_index 9.6    120 0.6
index 8 temp_index 9    120 0.6
index 8 temp_index 8.4    120 0.6
index 7 temp_index 7.8    120 0.6
index 7 temp_index 7.2    120 0.6
index 6 temp_index 6.6    120 0.6
index 6 temp_index 6    120 0.6
index 5 temp_index 5.4    120 0.6
index 4 temp_index 4.8    120 0.6
index 4 temp_index 4.2    120 0.6
index 3 temp_index 3.6    120 0.6
index 3 temp_index 3    120 0.6
index 2 temp_index 2.4    120 0.6
index 1 temp_index 1.8    120 0.6
index 1 temp_index 1.2    120 0.6
index 0 temp_index 0.6    120 0.6
index 0 temp_index 6.66134e-16    120 0.6

Depending on the mouse used, the best way is to add a Spinbox for the user in the QET settings.

Thanks.

Cheers,
Laurent

Same problem here, wheel is so fast on Debian and macOS too. nomicons/sad
Maybe it's my mouse ? You could confirm it work slowly on your mac?

index 4 temp_index 4.8    -120 -4.8
index 0 temp_index 0    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index 0    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index 0    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index 0    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index 0    120 4.8
index -4 temp_index -4.8    120 4.8
index 0 temp_index 0    -120 -4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 9 temp_index 9.6    120 4.8
index 4 temp_index 4.8    120 4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index -1.77636e-15    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index -1.77636e-15    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 0 temp_index -1.77636e-15    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 0 temp_index -1.77636e-15    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 9 temp_index 9.6    -120 -4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index -1.77636e-15    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 9 temp_index 9.6    120 4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index -1.77636e-15    120 4.8
index 4 temp_index 4.8    -120 -4.8
index 9 temp_index 9.6    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 14 temp_index 14.4    -120 -4.8
index 9 temp_index 9.6    120 4.8
index 4 temp_index 4.8    120 4.8
index 0 temp_index -1.77636e-15    120 4.8

Cheers,
Laurent