FET Forum

FET Development => Suggestions => Topic started by: Liviu Lalescu on August 22, 2025, 01:59:26 PM

Title: Question about colors
Post by: Liviu Lalescu on August 22, 2025, 01:59:26 PM
Dear forum,

The new constraint (teacher(s)/students (set) occupy max sets of time slots from selection) has the first 10 colors decided by me, so they are very distinctive, and the next are random.

The first 3 colors are dark green, dark red, and dark blue (the first 10 colors are the dark variants, I chose them so that they are not too flashy). But green and red might be mistaken for the usual colors in preferred times or not available times constraints.

So, do you think I should change the first 3 colors? I was maybe thinking of my country's flag: blue, yellow, and red, but yellow is not very distinguishable and it might be too flashy. Or maybe start with the first two colors dark blue and dark red, and the third dark green?

I wait for your suggestions. @YOUSSEF HOUIET , please see this topic and let me know your opinion, because it was you who suggested enabling the colors here.
Title: Re: Question about colors
Post by: YOUSSEF HOUIET on August 22, 2025, 02:34:52 PM
Hi liviu

from the comments on Facebook I noticed that users were confused because of the dark green and dark red colors, which are usually associated with constraints like teacher not available times.

I agree with your suggestion: the first three colors should be clearly different from the ones typically used for such constraints.

Title: Re: Question about colors
Post by: Volker Dirr on August 22, 2025, 02:37:17 PM
maybe make them select able, so everybody can modify them if they are "bad".
Title: Re: Question about colors
Post by: Liviu Lalescu on August 22, 2025, 02:44:54 PM
Yes, Youssef, I saw your post on Facebook yesterday, where you explained that dark green and dark red are not available/not available, or something like that, and this was the reason for my doubts.

Volker, is it difficult to let the user select colors in Qt? Do they have a standard dialog?

For everybody, including Youssef and Volker: please see https://www.w3schools.com/cssref/css_colors.php and make suggestions for the first 3 or even 10 colors. This in case we cannot make the colors customizable.
Title: Re: Question about colors
Post by: Volker Dirr on August 22, 2025, 03:15:25 PM
easy: https://doc.qt.io/qt-6/qcolordialog.html
Title: Re: Question about colors
Post by: Volker Dirr on August 22, 2025, 03:18:06 PM
For the settings I load/save colors like this:
...settings.value("tableHeadTextColor", QColor(Qt::black)).value<QColor>();
Title: Re: Question about colors
Post by: Liviu Lalescu on August 22, 2025, 03:28:54 PM
Hmm... Volker, thank you, I saw that. But I think I prefer to just use some predefined colors, which I invite you and the other FET collaborators to suggest here, from my above given link of CSS colors, or you can suggest the color exact number. I need the first 3 colors and optionally the next 7.

I'll think of your proposal, Volker, and keep it on my mind. I have some reasons not to add custom colors for this: 1) keep things standard; 2) simplicity; 3) it is kind of weird to choose only here the colors and in the rest they are standard; 4) I again need to ask the translators to translate, and I already abused their kindness too much lately.

Title: Re: Question about colors
Post by: YOUSSEF HOUIET on August 22, 2025, 03:51:46 PM
I would suggest, for example, the following colors, which are far from dark red/green:

MediumBlue #0000CD Yellow #FFFF00 Orchid #DA70D6
Title: Re: Question about colors
Post by: Liviu Lalescu on August 22, 2025, 04:01:05 PM
Thank you, Youssef! I had a look at those colors. However, after thinking and looking, how about using the "dark" ones, since they seem better for the eye, not too flashy?

I like DarkBlue #00008B and DarkOrange #FF8C00. Or maybe darkorange and DarkCyan #008B8B and DarkOliveGreen #556B2F?
Title: Re: Question about colors
Post by: YOUSSEF HOUIET on August 22, 2025, 04:08:58 PM


Great suggestion. As for the 3rd color, I recommend DarkCyan.


Title: Re: Question about colors
Post by: Liviu Lalescu on August 22, 2025, 04:17:06 PM
So, do you recommend 1-darkblue 2-darkorange 3-darkcyan? If you have other order suggestion or other colors, please let me know. What about 3-darkolivegreen, which maybe contrasts better with 1?

If you confirm, I will think and maybe put a snapshot for you and other users.

Qt 6.9.2 is scheduled for Monday, so maybe on Tuesday or later I might release a new FET version.

I will choose colors 4-10 as other dark colors.
Title: Re: Question about colors
Post by: YOUSSEF HOUIET on August 22, 2025, 04:42:34 PM
Ok, you can use darkolivegreen as 3rd color.
Title: Re: Question about colors
Post by: Liviu Lalescu on August 22, 2025, 05:03:32 PM
My mother told me that your darkcyan is better for 3, and we chose together the 4-10 colors. I will now put a snapshot, in about 30 minutes, so you can check.

Thank you!
Title: Re: Question about colors
Post by: Liviu Lalescu on August 22, 2025, 05:53:43 PM
I just put a snapshot. You can see the Snapshots board here on the forum for the usual download link.

The colors from 1 to 9 are chosen by us, >=10 are random. Please check the colors from 1 to say 12.

Thank you!
Title: Re: Question about colors
Post by: YOUSSEF HOUIET on August 22, 2025, 11:29:59 PM

Thanks to your dear mother
May she always stay healthy and happy.


Title: Re: Question about colors
Post by: Liviu Lalescu on August 23, 2025, 08:07:15 AM
Thank you, Youssef, for your kind words!

I added a new snapshot, please let me know if you have suggestions for colors 4 to 10. I can add for them even RGB values.
Title: Re: Question about colors
Post by: YOUSSEF HOUIET on August 26, 2025, 07:34:51 PM

I would like to sincerely thank you for your dedicated efforts.
I feel truly proud and delighted to have contributed, even in a modest way, to the ongoing improvement of fet.
I only regret not having preserved and further developed my programming skills, which would have allowed me to engage more deeply with the source code of software.
Title: Re: Question about colors
Post by: Liviu Lalescu on August 27, 2025, 07:40:52 AM
Thank you, Youssef! :)