Humm ! mouse scroll tabar not work here on Mojave but is ok on HighSierra, you can comfirm it's work on your Mojave?
3,601 2019-09-19 12:12:26
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
3,602 2019-09-19 03:23:53
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
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;
}
3,603 2019-09-18 20:40:40
Re: Edition élément embarqué et état modifié (1 replies, posted in FR : Aide, suggestions, discussions, ...)
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");
3,604 2019-09-18 09:54:50
Re: Discussion sur le générateur de borniers. (69 replies, posted in FR : Aide, suggestions, discussions, ...)
Si on remonte le fil sur l'histoire du plug-in générateur de bornier les premières versions avaient cette possibilités.
3,605 2019-09-18 09:47:11
Re: How do i set default prefix for an element I create? (23 replies, posted in EN : Help, suggestions, discussions, ...)
Please try latest packages.
3,606 2019-09-17 17:52:37
Re: How do i set default prefix for an element I create? (23 replies, posted in EN : Help, suggestions, discussions, ...)
Interesting, thanks for your feedback.
3,607 2019-09-17 15:49:42
Re: Discussion sur le générateur de borniers. (69 replies, posted in FR : Aide, suggestions, discussions, ...)
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?.
3,608 2019-09-17 15:30:43
Re: Discussion sur le générateur de borniers. (69 replies, posted in FR : Aide, suggestions, discussions, ...)
Je déteste les bornes à étages, ça devrait être proscrit, sauf quand t'as vraiment pas le choix.
C'est chiant a dessiner sur les schémas, et encore plus chiant quand tu dépannes...
3,609 2019-09-17 08:43:56
Re: Discussion sur le générateur de borniers. (69 replies, posted in FR : Aide, suggestions, discussions, ...)
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... tu peux mettre autant de bornes et même des bornes 4 points de connections (-|-) l ’équipotentialité sera conservé.
3,610 2019-09-16 20:37:20
Re: Discussion sur le générateur de borniers. (69 replies, posted in FR : Aide, suggestions, discussions, ...)
========================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?
3,611 2019-09-16 11:05:59
Re: How do i set default prefix for an element I create? (23 replies, posted in EN : Help, suggestions, discussions, ...)
Hello,
put qet_labels.xml in the root of your elements folder.
3,612 2019-09-15 11:46:15
Re: How do i set default prefix for an element I create? (23 replies, posted in EN : Help, suggestions, discussions, ...)
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>
3,613 2019-09-10 09:34:47
Re: Project display deteriorated (11 replies, posted in EN : Help, suggestions, discussions, ...)
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.
3,614 2019-09-10 05:10:20
Re: Project display deteriorated (11 replies, posted in EN : Help, suggestions, discussions, ...)
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.
3,615 2019-09-09 09:06:22
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
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
Cheers,
Laurent
3,616 2019-09-08 23:10:45
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
No scroll on tabBar here on my Mac, can you comfirm it work with you with qelectrotech-0.80-DEV_r6020.dmg?
3,617 2019-09-08 18:32:37
Re: Project display deteriorated (11 replies, posted in EN : Help, suggestions, discussions, ...)
You could change font policy in settings, select a vector graphic policy, just reload your projects to see the change aplied on the fly.
3,618 2019-09-08 18:19:15
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
I added your changes, but it's not run on macOS
https://git.tuxfamily.org/qet/qet.git/c … b8f83326e8
3,619 2019-09-08 16:35:12
Re: Nouveautés de la version de développement 0.8 (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 2019-09-08 14:05:50
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
Why ? is auto generated by qmake.
3,621 2019-09-07 17:10:30
Re: Nouveautés de la version de développement 0.8 (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.
3,622 2019-09-07 17:04:54
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
Hi Giovanni and many thanks for your works, very gracefull. ;-)
3,623 2019-09-07 12:59:38
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
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.
3,624 2019-09-06 19:07:04
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
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
3,625 2019-09-06 06:25:12
Re: Impossible to scroll page tabs (left-right) on Mac and how to compile (60 replies, posted in Code)
Same problem here, wheel is so fast on Debian and macOS too.
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