FET Forum

FET Development => Snapshots => Topic started by: Liviu Lalescu on January 22, 2026, 02:59:18 PM

Title: OLD - FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 22, 2026, 02:59:18 PM
We have put a snapshot. From the ChangeLog:

  - Improvements in the interface: the constraints with tables will be shown in human-readable form (suggested by GUEFFAZ REDA, and maybe other users in the past). g.theodoroy had useful suggestions and contributions.
  - Improvements in the interface: all the constraints dialogs now contain Up/Down buttons.
  - The user can export the file in a human-readable text form.
  - The user can backup or restore the settings to/from an INI file (suggested in the past by Bobby Wise, and maybe other users).
  - Minor interface bug fixes.

The usual link: https://lalescu.ro/liviu/fet/download/test/

Please let me know if you find bugs! Much code was changed, and we need to test much the interface.
Title: Re: FET-7.7.2 snapshot available
Post by: GUEFFAZ ABDELKRIM on January 22, 2026, 03:54:06 PM
separate morning/afternoon
Title: Re: FET-7.7.2 snapshot available
Post by: GUEFFAZ ABDELKRIM on January 22, 2026, 03:55:50 PM
same choice checkbox color
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 22, 2026, 04:17:51 PM
About dividing, is the attached screenshot OK? I'll try better.
Title: Re: FET-7.7.2 snapshot available
Post by: GUEFFAZ ABDELKRIM on January 22, 2026, 04:20:51 PM
و إن كان الأمر صعبا. فلا بأس بذلك
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 22, 2026, 04:27:04 PM
I am sorry, but I don't understand. Is good with a black large row, as now, or should I investigate for a better way?
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 22, 2026, 04:28:04 PM
@g.theodoroy , how could I do that in HTML? (an empty row, but not so high, just one horizontal line.)
Title: Re: FET-7.7.2 snapshot available
Post by: GUEFFAZ ABDELKRIM on January 22, 2026, 04:32:31 PM
its not important if difficult
Title: Re: FET-7.7.2 snapshot available
Post by: GUEFFAZ ABDELKRIM on January 22, 2026, 04:33:40 PM
contraints teachers
Title: Re: FET-7.7.2 snapshot available
Post by: g.theodoroy on January 22, 2026, 05:50:23 PM
Set height of middle row

<tr height="2">



Try

<tr></tr> (with no <td>s inside )

or

<tr height="2"></tr> (with no <td>s inside )

or

<tr height="2"><td colspan="[daysCount]"></td></tr> (one single td - no content)

or

<tr height="2"><td colspan="[daysCount]">&nbsp;</td></tr> (one single td )


I really have no experience with Qttextwidget


PS:

It does not compile in my Manjaro box

Error:
----------------------------------------

In file included from interface/fetmainform.cpp:61:
interface/humanreadabledataform.h:20:10: fatal error: ui_humanreadabledataform_template.h: No such file or directory
  20 | #include "ui_humanreadabledataform_template.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:3972: ../tmp/interface/fetmainform.o] Error 1
make[1]: Leaving directory '/home/george/FET/fet-7.7.2-snapshot-22-jan-2026-16_40/src'
make: *** [Makefile:48: sub-src-src-pro-make_first] Error 2

---------------------------------
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 22, 2026, 06:04:46 PM
Thank you!

I cannot work now, I have some problems and need to take a break, but I'll fix when possible (maybe tomorrow evening, maybe later).

The QMake pro misses the new file. It was added only in CMakeLists.txt.

You can check the code for tables in timeconstraint.cpp, search "bgcolor" or "fgcolor".

Could we make the lower and upper border of the cells in the middle thicker?

Sorry that I cannot keep up with new things... I'll answer when possible.
Title: Re: FET-7.7.2 snapshot available
Post by: Volker Dirr on January 22, 2026, 06:39:33 PM
I didn't tested it in the last days, but some years ago height wasn't supported and it looks like it isn't supported today too:
https://doc.qt.io/qt-6/richtext-html-subset.html
So I guess it is only possible with a workaround like boarder, margin or padding.
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 22, 2026, 06:41:05 PM
How to set a <td> cell with border down (up) thicker?
Title: Re: FET-7.7.2 snapshot available
Post by: g.theodoroy on January 22, 2026, 07:55:18 PM
s+="<table align=\"center\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse:collapse\">";
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 23, 2026, 08:10:23 AM
I cannot make a line between mornings and afternoons!  :(

I just put a new snapshot, the teachers' detailed description now contains their not available times (suggested by GUEFFAZ REDA).

The usual link: https://lalescu.ro/liviu/fet/download/test/
Title: Re: FET-7.7.2 snapshot available
Post by: GUEFFAZ ABDELKRIM on January 23, 2026, 03:26:52 PM
vertical mode
Title: Re: FET-7.7.2 snapshot available
Post by: GUEFFAZ ABDELKRIM on January 23, 2026, 03:27:09 PM
work perfect
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 23, 2026, 05:34:57 PM
Thank you, GUEFFAZ! But, the not available in timetable view is marked with -x-, so I consider it not needed.
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 23, 2026, 06:18:33 PM
Done by @g.theodoroy , we split the mornings and afternoons in the MA mode. Thank you, George!  :)

There is a new snapshot: https://lalescu.ro/liviu/fet/download/test/
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 24, 2026, 07:41:09 AM
I added a new snapshot, as suggested by DT, to save the human readable data as an HTML file. Same download link as above.
Title: Re: FET-7.7.2 snapshot available
Post by: GUEFFAZ ABDELKRIM on January 25, 2026, 08:28:51 AM
backup / restore to ini file work perfect
Title: Re: FET-7.7.2 snapshot available
Post by: Liviu Lalescu on January 25, 2026, 10:27:15 AM
Thanks! I did your suggestion. The new official version is just released!  :)