dzhw / zofar

10 stars 1 forks source link

calendar: adapt calendar range (minRange and maxRange) for calendar #535

Closed andreaschu closed 1 year ago

andreaschu commented 1 year ago

The calendar range should use at least years and months since otherwise only the whole year can be defined as range_start and range_end.

vdick commented 1 year ago

Implemented. To test, define (minMonth="01" and maxMonth="12") in episodes/episodesTable in QML

andreaschu commented 1 year ago

utilized it by changing minMonth and maxMonth in lhc_methodentest. Works within modal: monthpicker grey out months out of range.

grafik

Only it is not visible in graphic calendar. When user creates an episode with mouseover and crosses a month out of range, it will be interpreted as an episode without start- and enddate, like:

grafik

vdick commented 1 year ago

first draft: implementiert und ausgerollt für Test_Modul (anhand von min/max Month/Year im QML werden Slots im graphischen Calendar disabled )

vdick commented 1 year ago

@andreaschu scrolling-bug fixed! Test-Modul frisch ausgerollt, bitte erneut testen. Die Änderungen gelten für alle Befragungen, müssen nur neu ausgerollt werden

andreaschu commented 1 year ago

yep, looks good. I close this issue.