2,251

(32 replies, posted in News)

Flatpak : add --socket=cups and --share=network
see :
https://github.com/flathub/org.libreoff … /issues/90

But error: Unknown socket type cups, valid types are: x11, wayland, pulseaudio, session-bus, system-bus, fallback-x11, ssh-auth

Fixed by upgrade Debian VM KVM to Bullseye.

2,252

(236 replies, posted in News)

Flatpak : add --socket=cups and --share=network

see :
https://github.com/flathub/org.libreoff … /issues/90

But error: Unknown socket type cups, valid types are: x11, wayland, pulseaudio, session-bus, system-bus, fallback-x11, ssh-auth

Fixed by upgrade Debian VM KVM to Bullseye.

Qelectrotech_nomenclature_Question

I am emailing in order to ask a question in regards to renaming nomenclature table headings.
For example, I created the following  nomenclature table and I would like to rename the "Internal number" column to "Component ID".
Can you please let me know how I can add  "Component ID" in the nomenclature list?

https://download.qelectrotech.org/qet/forum_img_2/1641228750890blob.jpg

Joshua wrote:

In the dialog where you define the nomenclature, setup what you want
and when it's done check the button 'SQL request' at the bottom of the
dialog, the line at right is now editable. According to your screenshot
the sql query should be something like this :
SELECT folio, label, description, machine_manufacturer_reference FROM
element_nomenclature_view WHERE ( element_type = 'Terminale' OR
element_type = 'Simple' OR element_sub_type = 'commutator' OR
element_sub_type = 'coil' OR element_sub_type = 'protection') ORDER BY
folio, label, description, machine_manufacturer_reference

Now append AS 'Component ID'just after the first
machine_manufacturer_reference
The begin of the sql query is now:
SELECT folio, label, description, machine_manufacturer_reference AS
'Component ID' FROM.............

Click OK.
In the same dialog you can save your current configuration to quickly
retrieve it for another project.

2,254

(236 replies, posted in News)

- Log -----------------------------------------------------------------
commit ae9faa2192b84c51869fde0ee5205c6115402f00
Author: joshua <Joshua@>
Date:   Mon Jan 3 21:01:25 2022 +0100

    Add toolbar widget for edit size of handler in diagram editor.
   
    Add a combo box in the tool bar of diagram editor
    to quickly change the size of the graphics handler item.
       
    NOTE
    only available for diagram editor, element editor will
    come later.

2,255

(236 replies, posted in News)

https://twitter.com/rollapp/status/1473241119374860292
La version 0.7 est maintenant sur RollApp. Elle fonctionne dans un navigateur Web, pour ceux qui veulent essayer sur leur Ipad ou tablette Android.

https://www.rollapp.com/app/qelectrotech

2,256

(554 replies, posted in News)

scorpio810 wrote:
scorpio810 wrote:

Avec l'arrivée prochaine de Qt 5.13 il pourrait être intéressant d’explorer Qt WebAssembly, ce qui permettrait de consulter et modifier un projet, schémas sur n'importe quel navigateur et OS par exemple sur une tablette Android ou Ipad...


En attendant vous avez RollApp  et QET en version 0.5 sur un cloud dans votre butineur preferé quelque soit la machine, Android, Ipad, etc:
https://www.rollapp.com/app/qelectrotech


https://www.rollapp.com/plans

https://qelectrotech.org/forum/viewtopi … 2967#p2967


Ce serai bien s'il pouvaient mettre à jour vers la 0.6..., voila je viens d'en faire la demande, a suivre.

La version 0.7 est maintenant sur RollApp.

2,257

(236 replies, posted in News)

scorpio810 wrote:

https://git.tuxfamily.org/qet/qet.git/c … f509e23332

Checked changes on my HP elitebook 4K laptop + nvme ssd.

10:46:05.894 Info: Start-up 
10:46:06.239 Info: "QElectroTech V 0.90-DEV+56685d0f3b0a58100c957a06d79751d3" 
10:46:06.240 Info: "Compilation : GCC 9.3.0" 
10:46:06.240 Info: "Built with Qt 5.15.2 - Date : Dec 18 2021 : 09:31:45" 
10:46:06.241 Info: "Run with Qt 5.15.2 using 8 thread(s)" 
10:46:06.241 Info: "CPU : NAME                                      \r\r\nINTEL(R) CORE(TM) I7-8550U CPU @ 1.80GHZ  \r\r\n\r\r\n" 
10:46:06.241 Info: "RAM Total : 16199 MB" 
10:46:06.242 Info: "RAM Available : 12333 MB" 
10:46:06.242 Info: "GPU : VideoProcessor                \r\r\nIntel(R) UHD Graphics Family  \r\r\n\r\r\n" 
10:46:06.242 Info: "GPU RAM : RAM Total : AdapterRAM  \r\r\n1073741824  \r\r\n\r\r\n B" 
10:46:06.243 Info: "OS : winnt  - x86_64 - Version : Windows 10 Version 2009 - Kernel : 10.0.19044" 
10:46:06.243 Info: *** Qt screens *** 
10:46:06.244 Info: "( 1 : 3840 x 2160 )" 
10:46:06.258 Info: Elements collection reload 
10:46:07.731 Info: Elements collection finished to be load/ed 

WOW under Windows ...... great improvement !!
10:46:06.258 Info: Elements collection reload
10:46:07.731 Info: Elements collection finished to be load/ed




Avec Joshua on a fait quelques petits tests, chacun de son coté, j'ai voulu confirmer ses dires: il faut mesurer le premier lancement après que Windows ai fini de ce lancer, les autres lancements seront 10 fois plus rapides donc non mesurables pour le test!

On prend par exemple la ReadyToUse 0.7 avec la même collection de la 0.9-dev soit ~ 7800 éléments, le chargement prend maxi 8 secondes à vu de nez.

On fait pareil avec la 0.8 ReadyToUse après le reboot de Windows et la même collection que la 0.9-dev ça donne environ 15 secondes ..

Pour information: la dernière 0.9-dev installer;  elle ne prend maintenant que 2 secondes ... , donc on peut en conclure que MS à aussi fait de grosses améliorations de son coté sur les dernières maj de Windows 10 sur le lancement de certaines applications, il me semble que ça à toujours été plus près de la minute ... voir beaucoup plus chez certains ....

14:25:41.888 Info: "QElectroTech V 0.80c+87c957a06d79751d3" 
14:25:41.888 Info: "Compilation : GCC 9.3.0" 
14:25:41.888 Info: "Built with Qt 5.15.2 - Date : Feb 21 2021 : 10:29:35" 
14:25:41.889 Info: "Run with Qt 5.15.2 using 8 thread(s)" 
14:25:41.889 Info: "CPU : NAME                                      \r\r\nINTEL(R) CORE(TM) I7-8550U CPU @ 1.80GHZ  \r\r\n\r\r\n" 
14:25:41.889 Info: "RAM Total : 16199 MB" 
14:25:41.889 Info: "RAM Available : 12499 MB" 
14:25:41.890 Info: "GPU : VideoProcessor                \r\r\nIntel(R) UHD Graphics Family  \r\r\n\r\r\n" 
14:25:41.890 Info: "GPU RAM : RAM Total : AdapterRAM  \r\r\n1073741824  \r\r\n\r\r\n B" 
14:25:41.890 Info: "OS : winnt  - x86_64 - Version : Windows 10 Version 2009 - Kernel : 10.0.19044" 
14:25:41.890 Info: *** Qt screens *** 
14:25:41.890 Info: "( 1 : 3840 x 2160 )" 
14:25:42.373 Info: Elements collection reload 
14:25:58.491 Info: Elements collection finished to be loaded 

2,258

(12 replies, posted in Bar Fourre-tout)

Statistics 2021

Download server:

https://download.qelectrotech.org/qet/forum_img_2/2021_download_stat.png

Web area server : forum, wiki, bugtracker, etc.
https://download.qelectrotech.org/qet/forum_img_2/2021_web_stat.png

2,259

(236 replies, posted in News)

scorpio810 wrote:

Please try new Debian  and Windows packages based on branch pixel_size_font.

https://git.tuxfamily.org/qet/qet.git/c … _size_font

See: https://qelectrotech.org/forum/viewtopi … 650#p15650

Edit : for Debian package is here :
https://download.qelectrotech.org/qet/s … size_font/

Please try new Debian and Windows packages based on branch pixel_size_font.

https://git.tuxfamily.org/qet/qet.git/c … _size_font


Edit : for Debian package is here :
https://download.qelectrotech.org/qet/s … size_font/

2,261

(236 replies, posted in News)

Add new packages (qelectrotech qelectrotech-data qelectrotech-examples qet-tb-generator PySimpleGUI) for Ubuntu 21.10 “Impish Indri” on my PPA.
https://launchpad.net/~scorpio/+archive … rotech-dev

Wait a few hours for the Ubuntu builders to do the binary packages

https://launchpad.net/~scorpio/+archive … ter=impish

Maybe specific to Windows?
https://docs.microsoft.com/en-us/window … ent-pixels
https://qelectrotech.org/bugtracker/view.php?id=150

Maybe include manifest to windows platform?

2,263

(3 replies, posted in Import DXF)

https://qelectrotech.org/forum/viewtopic.php?id=1321
https://qelectrotech.org/forum/viewtopi … 033#p10033

Bonjour, tu peux regarder sur ce dépôt https://github.com/qelectrotech/qelectr … nt-contrib

Tried on other computer?
Sometimes is a problem with GPU driver's?
What version and OS?, downloaded here?

Il doit prendre une autre police de substitution...

2,267

(3 replies, posted in Import DXF)

Bonjour,

tu peux importer des images en arrière plan dans tes folios, et dessiner par dessus.
La methode que je conseillerai est de convertir ce PDF en DXF, isoler les symboles qui te manquent, afin de les convertir avec le convertisseur dxftoelmt.

I saw the same thing when I upgraded to this version.
But I saw great improvement on loading elements collection under Windows ... same like Linux ..

Windows :
https://qelectrotech.org/forum/viewtopi … 614#p15614

My Debian worstation :
https://qelectrotech.org/forum/viewtopi … 563#p15563

BTW, a workaround is to increase folio size like this:

La police utilisée par défaut sur un Windows sera MS Shell Dlg 2..
P-e sur PC redéfinir toutes les polices dans la config en Sans Serif en size 9, puis relancer le projet.

https://qelectrotech.org/forum/viewtopi … 414#p15414

Bonjour,

la même police doit-être utilisée sur les deux OS!
https://qelectrotech.org/forum/viewtopi … 8818#p8818

2,272

(236 replies, posted in News)

ronnie berzins wrote:

In this video I explain briefly how the terminal plan plugin Caution Version 09. DEV works and what you can do with it. But that will definitely change in the next versions.

2,273

(236 replies, posted in News)

https://git.tuxfamily.org/qet/qet.git/c … f509e23332

Checked changes on my HP elitebook 4K laptop + nvme ssd.

10:46:05.894 Info: Start-up 
10:46:05.897 Debug: "File C:/Users/hp/Application Data/qet/20211120.log is deleted!" (../sources/main.cpp:150, void delete_old_log_files(int))
10:46:06.231 Info: debugging enabled: false 
10:46:06.232 Info: Qt library version: 5.15.2 
10:46:06.232 Info: Qt library location default prefix: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5" 
10:46:06.232 Info: Qt library location documentation: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/doc" 
10:46:06.233 Info: Qt library location headers: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include" 
10:46:06.233 Info: Qt library location libraries: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/lib" 
10:46:06.235 Info: Qt library location executables: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/bin" 
10:46:06.235 Info: Qt library location Qt binaries: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/bin" 
10:46:06.235 Info: Qt library location Qt plugins: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/plugins" 
10:46:06.236 Info: Qt library location installed QML extensions: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/imports" 
10:46:06.236 Info: Qt library location installed QML extensions: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/qml" 
10:46:06.237 Info: Qt library location dependent Qt data: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5" 
10:46:06.237 Info: Qt library location independent Qt data: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5" 
10:46:06.238 Info: Qt library location translation: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/translations" 
10:46:06.238 Info: Qt library location examples: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/examples" 
10:46:06.239 Info: Qt library location Qt testcases: "/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/tests" 
10:46:06.239 Info: "QElectroTech V 0.90-DEV+56685d0f3b0a58100c957a06d79751d3" 
10:46:06.240 Info: "Compilation : GCC 9.3.0" 
10:46:06.240 Info: "Built with Qt 5.15.2 - Date : Dec 18 2021 : 09:31:45" 
10:46:06.241 Info: "Run with Qt 5.15.2 using 8 thread(s)" 
10:46:06.241 Info: "CPU : NAME                                      \r\r\nINTEL(R) CORE(TM) I7-8550U CPU @ 1.80GHZ  \r\r\n\r\r\n" 
10:46:06.241 Info: "RAM Total : 16199 MB" 
10:46:06.242 Info: "RAM Available : 12333 MB" 
10:46:06.242 Info: "GPU : VideoProcessor                \r\r\nIntel(R) UHD Graphics Family  \r\r\n\r\r\n" 
10:46:06.242 Info: "GPU RAM : RAM Total : AdapterRAM  \r\r\n1073741824  \r\r\n\r\r\n B" 
10:46:06.243 Info: "OS : winnt  - x86_64 - Version : Windows 10 Version 2009 - Kernel : 10.0.19044" 
10:46:06.243 Info: *** Qt screens *** 
10:46:06.244 Info: "( 1 : 3840 x 2160 )" 
10:46:06.258 Info: Elements collection reload 
10:46:07.731 Info: Elements collection finished to be load/ed 

WOW under Windows ...... great improvement !!
10:46:06.258 Info: Elements collection reload
10:46:07.731 Info: Elements collection finished to be load/ed

You could share your project?
Maybe I can try on my Debian with 4K display + 1080P screen
or on my 4K laptop..

https://doc.qt.io/qt-5/highdpi.html

void QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy policy)
Sets the high-DPI scale factor rounding policy for the application. The policy decides how non-integer scale factors (such as Windows 150%) are handled, for applications that have AA_EnableHighDpiScaling enabled.

The two principal options are whether fractional scale factors should be rounded to an integer or not. Keeping the scale factor as-is will make the user interface size match the OS setting exactly, but may cause painting errors, for example with the Windows style.

If rounding is wanted, then which type of rounding should be decided next. Mathematically correct rounding is supported but may not give the best visual results: Consider if you want to render 1.5x as 1x ("small UI") or as 2x ("large UI"). See the Qt::HighDpiScaleFactorRoundingPolicy enum for a complete list of all options.

This function must be called before creating the application object, and can be overridden by setting the QT_SCALE_FACTOR_ROUNDING_POLICY environment variable. The QGuiApplication::highDpiScaleFactorRoundingPolicy() accessor will reflect the environment, if set.

The default value is Qt::HighDpiScaleFactorRoundingPolicy::Round. On Qt for Android the default is Qt::HighDpiScaleFactorRoundingPolicy::PassThrough, which preserves historical behavior from earlier Qt versions.

This function was introduced in Qt 5.14.

See also highDpiScaleFactorRoundingPolicy().
https://doc.qt.io/qt-5/qt.html#HighDpiS … olicy-enum

Constant    Value    Description
Qt::HighDpiScaleFactorRoundingPolicy::Round    1    Round up for .5 and above.
Qt::HighDpiScaleFactorRoundingPolicy::Ceil    2    Always round up.
Qt::HighDpiScaleFactorRoundingPolicy::Floor    3    Always round down.
Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor    4    Round up for .75 and above.
Qt::HighDpiScaleFactorRoundingPolicy::PassThrough    5    Don't round.

https://download.qelectrotech.org/qet/forum_img_2/rounding_hdpi.png

2,275

(36 replies, posted in Elements)

https://qelectrotech.org/forum/viewtopi … 474#p14474