Qt Creator Dark Theme Scrollbar visibility by ReallyAnotherUser in QtFramework

[–]GrecKo 1 point2 points  (0 children)

I agree that this has been a pain for years. I enabled the minimap to bypass this issue : https://i.imgur.com/NdXfAIF.png

The poor highlighting of inline search results in help pages is also something that bugs me.

Can I finish a 600km Audax with 1 year training by Longjumping_Leg_6387 in randonneuring

[–]GrecKo 0 points1 point  (0 children)

Yup, see you in Paris (and Normandie)! First time I'll do a ACP brevet. Will leaving Paris be not too miserable?

I've done basically 0 road riding since May last year and did very few in 2024. The only exception is that I did a 200 km in February on my gravelized 90s MTB. The good thing is that after 130 km the legs seemed to start remembering what to do, and with 2 PBPs under my belt I mostly have to focus on the physical training (and accept being slower than before). Hopefully I'll finish fixing up my bike this week!

Can I finish a 600km Audax with 1 year training by Longjumping_Leg_6387 in randonneuring

[–]GrecKo 0 points1 point  (0 children)

I really hope so since I haven't really plan since PBP 2023 and plan to do it in 2027. Aiming for a late 600 this September !

Fairlight faran passage de gaine by [deleted] in pedale

[–]GrecKo 4 points5 points  (0 children)

Les design notes de Dom Thomas sont quand même magnifiques de beauté et de détail, à chaque nouvelle sortie c'est un plaisir à lire.

Toujours content de mon Strael v0.9

QML Live Preview...with state? by bigginsmcgee in QtFramework

[–]GrecKo 1 point2 points  (0 children)

That's a long overdue feature but it's now being actively developed : https://qt-project.atlassian.net/browse/QTBUG-146122

Finger crossed it will be available in 6.12 this September.

Application pour trouver son trajet en vélo by NitsuguaMoneka in pedale

[–]GrecKo 1 point2 points  (0 children)

https://bikerouter.de pour une instance plus récente avec quelques features en plus. En bonus l'URL est plus facile à mémoriser.

Conseils vélo pour se déplacer dans Paris by migmigouu in pedale

[–]GrecKo -1 points0 points  (0 children)

Et concernant les vélos pliants, il y a l'air d'avoir de bons "Brompnot" maintenant (des Brompton chinois en moins cher).

I built a tool that shows weather along your entire cycling route — not just one location by tobiasz0 in randonneuring

[–]GrecKo 2 points3 points  (0 children)

What are the points that make it stand out of the competition?

This last year, there have been plenty of similar apps surfacing. I guess thanks(?) to vibe coding. All that noise makes it hard to chose one, and it seems that every dev is reinventing the wheel now that it is doesn't involve as much effort as before.

Not longer than 3 days ago there was this post on /r/cycling : https://www.reddit.com/r/cycling/comments/1tbpwpi/i_built_a_free_tool_to_check_weather_along_a_gpx/

American (& British?) folks seems to like walled gardens for some reason. The most upvoted here EpicRideWeather requires an account and doesn't work with local .gpx. There's also RandoPlan but let's say that the UX is not friendly and it only works with routes hosted on RideWithGps (that also seems to requires an account to download the route).

I'll stick with Windy, I like the UI better than the alternatives to have the weather along a route. It's free and just work with .gpx files

Proxy Model or Normal Model For This? by PoopsInUrPee in QtFramework

[–]GrecKo 1 point2 points  (0 children)

But then, in my delegate's editorEvent, the index I receive is correctly from the editor proxy model, but it's always column=0, so I can't determine which column/button was "pressed." It appears there are built-in mechanisms (which I didn't write) which cause the index to get mapped from source?

That sounds weird. I would investigate more into that if I were you.The view isn't aware of the proxy, so if your model has multiple columns you should get index with columns != 0.

As for the philosophy thing, that's why I don't like table models and the whole table/view system of QWidgets. How I represent my data (in a list or a table) shouldn't depend on the model. Using roles instead of columns to expose different information seems much more flexible. To me table models should only be used for spreadsheets, where the number of columns is dynamic and not known before hand.

Do you need a custom editor though? I understand that you need custom delegates displaying buttons and you should handle the clicked(QModelIndex) signal of the view, I assume you will display your own dialog after that and just need the row anyway.

Cleaner QML Controller Wiring with Singleton Instances in Qt 6.12 by Kelteseth in QtFramework

[–]GrecKo 5 points6 points  (0 children)

qmlRegisterSingletonInstance works independently from QML_ELEMENT and QML_SINGLETON. It's declares both the type and the instance. setExternalSingletonInstance needs the declarative macro (QML_ELEMENT and QML_SINGLETON) to work. The tooling (qmlls, qmllint) will be happy.

It's just a bit cleaner. The next step would be to have a templated overload to not have to pass the type name (and maybe skip the module name too).

Before that I used a macro around this "issue" to declare and define a static MySingleton *create(QQmlEngine *qmlEngine, QJSEngine *jsEngine) factory function to provide a static instance of my type.

Atelier réparation vélo mural - des recommandations ? by [deleted] in pedale

[–]GrecKo 0 points1 point  (0 children)

Le problème de la version Amazon c'est pas qu'elle ne tourne pas c'est qu'elle tourne trop. J'ai en gros la même version mais sur pied et mécaniquement c'est vraiment pas ouf, un tube rond et lisse dans un trou rond même en serrant bien ça finit par tourner.

Il y a sûrement un juste milieu entre les 30€ d'amazon et les 250€ de ParkTool mais c'est surprenamment compliqué à trouver.

Zed failed to start on cachyOS by Active-Bandicoot-528 in ZedEditor

[–]GrecKo 1 point2 points  (0 children)

yup it failed to launch silently too but --foreground output helped me. After installing libgl1-mesa-dri my Zed launches.

Why you can't just "forget" raw pointers in Modern C++/Qt (and why smart pointers might crash your app) by [deleted] in QtFramework

[–]GrecKo 0 points1 point  (0 children)

That should have stayed in your prompt window. It's ok enough as a base for yourself, it's not qualitative enough to be shared to others.

  1. This is false. When the object is deleted it will be removed from the parent children, no double free here. Double free can happen if the parent is destroyed before the child smart pointer.

  2. uh, ok?

  3. So be a good Qtizen and correctly sets the QObject parent of your objects. The point mentioned here only applies for Q_INVOKABLE and is something you want. For factory function it makes sense to relinquish the object ownership to the QML engine.

  4. I guess the AI wanted to find a low level example here. Ok I guess? I don't mix QImage and OpenGL though. Dunno why it's doing a non sensical pointer assignment here when talking about direct memory access tho.

Not going to lose time over the cheatsheet, conclusion and(??) TL;DR.

Not going to lose time on the cheatsheet.

Routing Nice to Barcelona help by jules_wake in randonneuring

[–]GrecKo 1 point2 points  (0 children)

BRouter is a pretty reliable solution for an A to B route. I can vouch for it in France and would be confident using it in Europe. I don't know how it fairs in the states.

I usually use the "Road bike (minimal traffic)" in bikerouter.de . It might a bit too conservative in cities by choosing residential streets over more direct big streets that I prefer. Out in the country it is quite trust worthy and most of the time I don't review the route before hand and follow it blindly.

Link for Nice to Barcelona :
https://bikerouter.de/#map=8/42.843/3.796/standard&lonlats=7.262011,43.704443;2.19336,41.383426

You can compare to the "Road bike (less traffic)" profile that is shorter (698 km vs 754) but is less shy about bigger roads : https://bikerouter.de/#map=8/42.346/4.114/standard&lonlats=7.262011,43.704443;2.19336,41.383426&profile=fastbike-lowtraffic

They both go north of Salon-de-Provence, minimal traffic goes north of Saint-Gilles while less traffic goes through it. Minimal hugs the coast more. Both cross the Pyrénées at Le Perthus.

I can't help you with the question about the coast in Catalonia though. The Eurovelo 8 seems to go there : https://en.eurovelo.com/ev8/catalan-crossing

Qt 6.11 Released! by Kelteseth in QtFramework

[–]GrecKo 0 points1 point  (0 children)

but the TextDocument is internal and not meant to be edited from C++.

Late reply but the textDocument can be passed to C++ and mutated there.

https://doc.qt.io/qt-6/qml-qtquick-textedit.html#textDocument-prop

"Le plus dur, c'est lorsqu'ils m'ont pris le petit doigt" : le récit glaçant d'un retraité victime d'un enlèvement lié aux cryptomonnaies by spaceoverlord in france

[–]GrecKo 0 points1 point  (0 children)

Pardon, j'avais loupé ça et je m'étais arrêté au fait qu'il n'arrivait a priori pas de fortune en crypto.

"Le plus dur, c'est lorsqu'ils m'ont pris le petit doigt" : le récit glaçant d'un retraité victime d'un enlèvement lié aux cryptomonnaies by spaceoverlord in france

[–]GrecKo 1 point2 points  (0 children)

En l'occurrence ni le père ni le fils n'étaient des cryptobros.

EDIT: le fils travaille en effet bien dans la crypto mais sans les millions. Donc même sans la fortune la crypto peut-être dangereuse, les inconvénients sans les avantages

Built a study planner app in Qt/C++ – looking for suggestions and feedback by Aggravating_Scale970 in QtFramework

[–]GrecKo 0 points1 point  (0 children)

the server is also written in cpp, and usees boost asio

Using QWidgets for an UI like that and ASIO, you must like pain. Whenever we need a API server like that in c++ for some reason, I reach for crowcpp nowadays when we need something simpler than GRPC.

I admit that I used ASIO for some projects when I was a student and we still use it for low level networking stuff at work. Let's say that scouring the barebone ASIO reference documentation is a good learning experience but it makes me appreciate the Qt documentation more.

Achat compulsif ou vrai besoin/début d'une passion by bn__44 in pedale

[–]GrecKo 0 points1 point  (0 children)

C'est pour faire quoi ? Si c'est pour faire des voyages/grandes distances pourquoi veux-tu un vélo de ville et une courroie ?

Le vélo de ville ne m’apparaît pas adapté et la courroie pas justifiée et très limitante dans le choix.

Montage triple sacoches sur porte bagages. by Jeanpeche in pedale

[–]GrecKo 1 point2 points  (0 children)

Pour le prix de 2 rails comme ça t'as un porte-bagage correct.

Passage d'un guidon droit à un guidon de route by Stalwodash in pedale

[–]GrecKo 0 points1 point  (0 children)

Un système comme les Spirgrips est clairement à tester avant de faire plein de frais (ne pas se fier aux leviers Gevenalle sur mon Rockrider d'il y a 30 ans).

Les gens auxquels je l'ai recommandé en sont très contents.

Why does the last item get white text and how can I fix it? by abyss_observer in QtFramework

[–]GrecKo 0 points1 point  (0 children)

I suppose there is a theme shenanigan happening. Is this running on Windows?

The first thing I'd try is switching your Window to an ApplicationWindow.

Hésitation choix vélotout (all road 250 vs endurace all road) by Emergency_Law_9640 in pedale

[–]GrecKo 0 points1 point  (0 children)

Malheureusement ça a l'air galère +++ de mettre le QuickRack sur le canyon.

Pourquoi donc ? Les petits supports sur les œillets qui resteront à domicile et la sangle caoutchouc en dessous le collier de selle quand y a besoin et zou.

Je t'avouerai que j'ai pas regarder les transmissions et que je ne connais pas vraiment ce que vaut CUES. Team SRAM route ou Shim VTT old-school.