4,951 2017-05-19 06:42:43
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
4,952 2017-05-19 03:43:43
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
4,953 2017-05-19 03:32:28
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
scorpio810 wrote:It' s 4965 version?
I rebooted the computer and now 4965 version print correctly on any size screen. Thank you!
Nice, new Windows build is for soon 4966.
You could try if is always ok?
4,954 2017-05-19 03:23:09
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
But why do I have the correct print QT version 5.5.1 and can I somehow configure the QT version 5.8.0 for correct printing?
It 's more complicated : see Qt manual
https://qelectrotech.org/forum/viewtopi … 6591#p6591
1) we don't have HDPI monitors.
2) If we have this monitors we need to try and check it in a real install not in virtual machine.
3) I don't want to install Windows in hard here, and not time and not the envy to try a install real hackintosh in my PC.
I have already spent a lot of time to run my old virtual machine Yosemite hackinstosh in this new Ryzen hardware.
4,955 2017-05-19 03:10:14
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
I just returned the function Qt::AA_EnableHighDpiScaling for macos in 4966 commit.Someone can try new builds?
4,956 2017-05-19 02:58:35
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
Thank you.
Nice, by default with 100% scaling it 's ok.
4,957 2017-05-19 02:07:09
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
It' s 4965 version?
Put your video link into quote HTML tag
4,958 2017-05-18 19:41:33
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
@ Unio : u can try latest 4965 packages?
Same for Morganol ! ;-)
4,959 2017-05-18 18:32:09
Re: HiDPI mode (13 replies, posted in EN : Help, suggestions, discussions, ...)
I've upgraded right now and version 0.60.r4962 works properly.
Thanks
Ok, thank you.
I 'll commit changes and build Windows packages, for Windows users can try.
4,960 2017-05-18 12:45:23
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
OK for me on Qt 5.6.2, Mageia 6
EDIT: QET rev 4964 locally compiled in Qt Creator run in debug mode) screen res 2560x1600 /EDITTo me it looks like on unio's system:
The conductors seem to go to correct drawing coordinates? (no ofset)
The elements are double size! I beleive they have correct insetion point, which varies by element. Example: i think the computer element have insertion point defined top left if my theory is correct.
Weird.
You could try r4963?
svn export svn://svn.tuxfamily.org/svnroot/qet/qet/trunk --revision 4963 qelectrotech_trunk_4963
Or use
svn patch r4962-scorpio810.diff
4,961 2017-05-18 12:26:13
Re: HiDPI mode (13 replies, posted in EN : Help, suggestions, discussions, ...)
You could try latest svn ubuntu packages?
https://launchpad.net/~scorpio/+archive/ubuntu/ppa
0.60.r4962
I reverted it after.
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
-QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
-#endif
+#if QT_VERSION >= QT_VERSION_CHECK(5,6,0)
+ QApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
+#else
+ qputenv("QT_DEVICE_PIXEL_RATIO", QByteArray("1"));
+#endif // QT_VERSION
return(QETApp(argc, argv).exec());
}
4,962 2017-05-18 07:56:40
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
4,963 2017-05-18 06:42:02
Re: Incorrect print of the project (22 replies, posted in EN : Help, suggestions, discussions, ...)
No problem here :
Debian Qt 5.7.1
Win 10 Qt 5.8
4,964 2017-05-18 03:20:31
Re: HiDPI mode (13 replies, posted in EN : Help, suggestions, discussions, ...)
https://vicrucann.github.io/tutorials/osg-qt-high-dpi/
But :
An experimental implementation of high-DPI scaling was introduced in Qt 5.4. It was enabled by the environment variable QT_DEVICE_PIXEL_RATIO, which could be set to a numerical scale factor or "auto". This variable is deprecated in Qt 5.6.
http://doc.qt.io/qt-5/highdpi.html
In order to get an application designed for low DPI values running on a high resolution monitors quickly, consider one of the scaling options (let the application run as DPI Unaware on Windows or set the environment variable QT_AUTO_SCREEN_SCALE_FACTOR to "1". These options may incur some scaling or painting artifacts, though.
In the longer term, the application should be adapted to run unmodified:
Always use the qreal versions of the QPainter drawing API.
Size windows and dialogs in relation to the screen size.
Replace hard-coded sizes in layouts and drawing code by values calculated from font metrics or screen size.
4,965 2017-05-18 00:37:18
Re: HiDPI mode (13 replies, posted in EN : Help, suggestions, discussions, ...)
Hi Cubero,
thank you for your report and quick fix.
What is your OS, Ubuntu? DE and Qt version?
Could you send pictures when auto scale doesn't work properly?
Me and Joshua have only full HD screens, and we think it is not worth replacing them for now.
Best regards,
Laurent
4,966 2017-05-18 00:29:51
Re: Cartouche "flottant" (13 replies, posted in FR : Aide, suggestions, discussions, ...)
Tu as dessiné un trait (basic shape) blanc par dessus ?
Non, quelques changements dans le code.
4,967 2017-05-15 23:54:16
Re: Cartouche "flottant" (13 replies, posted in FR : Aide, suggestions, discussions, ...)
scorpio810 wrote:galexis wrote:Il n'est pas possible à ce jour d'avoir un cartouche qui n'occupe pas toute la largeur du bord qui lui est attribué (horizontal ou vertical).
Si !
Tu as bien toujours le disgracieux trait horizontale en haut sur toute la largueur de la page !
4,968 2017-05-15 00:30:07
Re: Ideas to solve Terminal Blocks creation (288 replies, posted in Terminal block generator)
Hi Raul,
when user clik on button to change "QET user collection path" in config tab, Terminal Block generator plugin crash.
https://qelectrotech.org/forum/viewtopi … 6574#p6574
Laurent
4,969 2017-05-14 18:35:37
Re: Cartouche "flottant" (13 replies, posted in FR : Aide, suggestions, discussions, ...)
Tu as bien toujours le disgracieux trait horizontale en haut sur toute la largueur de la page !
Tu veux du Blanco ?
4,970 2017-05-14 18:01:33
Re: Plantage Créateur de bornier (4 replies, posted in FR : Aide, suggestions, discussions, ...)
[8601.360727] qelectrotech[7083]: segfault at 55f32fba95c0 ip 000055f32fba95c0 sp 00007ffc04832118 error 15
Exact, il plante, mais pourquoi cherches tu a changer le path?
4,971 2017-05-14 17:41:06
Re: Plantage Créateur de bornier (4 replies, posted in FR : Aide, suggestions, discussions, ...)
La bonne méthode d'installation :
>> First install on Windows
1. Install, if required, python 3.5 or above
2. pip install qet_generator
>> Update on Windows
python -m pip install --upgrade qet_tb_generator
En gros tu télécharges python 3.5 voir le lien dans la section script :
https://qelectrotech.org/forum/viewtopi … 5291#p5291
Puis CMD pour lancer un terminal.
Et ensuite cette commande :
pip install qet_generator
Voila, ensuite il suffit de lancer les dernières versions de QET, dans le menu projet il y a une entrée pour le générateur de borniers.
4,972 2017-05-14 15:21:10
Re: Cartouche "flottant" (13 replies, posted in FR : Aide, suggestions, discussions, ...)
Yes c'est exactement ça.
Certaines sociétés ont un format de cartouche bien défini.
Mais bon, Paris ne s'est pas fait en 1 jour.
Clair, le but à cette époque là était de satisfaire la demande de ceux qui voulaient un cartouche vertical, c'etais mes premiers essais dans ce sens.
Apres nous sommes passés à autre chose, et le patch a fini à la poubelle ...
Si tu as envie de t'amuser regarde ici :
4,973 2017-05-14 15:12:09
Re: Cartouche "flottant" (13 replies, posted in FR : Aide, suggestions, discussions, ...)
Bonjour,
la réponse s'adressai à Galexis pour sa page de garde.
Pour ta demande ce n'est pas encore possible sans de gros hacks dans le code.
Un petit hack de l’époque, mais le code a pas mal changé depuis... :
Premiers essais 2014-Sep-24 15:08:23:
Dernier essai 2014-Sep-24 16:54:57:
4,974 2017-05-14 14:55:05
Re: Cartouche "flottant" (13 replies, posted in FR : Aide, suggestions, discussions, ...)
Il n'est pas possible à ce jour d'avoir un cartouche qui n'occupe pas toute la largeur du bord qui lui est attribué (horizontal ou vertical).
Si !
4,975 2017-05-14 00:03:22
Re: qelectrotech.exe has stopped working (11 replies, posted in EN : Help, suggestions, discussions, ...)
scorpio810 wrote:I just tried In Win 10 VM (16 threads + 8Go RAM) qelectrotech-0.6-RC1+svn4955-WinXP-WinVISTA-win32-readytouse I can't crash QET here.
Did you press Ctrl + z?
This video shows the sequence of mouse and keyboard keystrokes:
qelectrotech.exe has stopped working 2
Thank you for reporting this bug.
Fixing this bug need a lot of changes and time for check, but we prefer waiting 0.6 was released before working on it.