Solved Day view calendar
-
Hi,
I was wondering if a single day view calendar is possible? As far as I could find about calendar widget is that it doesn't support day view. There are implementations with table view (each row is a fixed amount of minutes). This creates a problem with events spanning with not such round times e.g. 15:03-16:18
If there isn't any I will implement one based on 1pixel=n minutes with horizontal layouts. Does this makes sense?
I am new to Qt but it looks similar to other UI libraries I know (e.g. Android, Java Swing). -
@SarenT
Hi
ok. I think you have to make a custom control for this. I have not seen any Qt
widget that has this out of the box. -
Hi
Do you mean like in outlook for a day ?
-
Yes, almost any calendar has it, thunderbird, web based calendars... I would like to place each event precisely.
E.g. start time 17:01 should be slightly lower than 17:00. -
@SarenT
Hi
ok. I think you have to make a custom control for this. I have not seen any Qt
widget that has this out of the box. -
@mrjj I see. I will accept this if no suggestions come for some time.
-
Hi and welcome to devnet,
You might want to check KDE.'s KOrganizer.
-
@SGaist I accepted @mrjj's answer for simplicity at the moment. I am looking into Korganizer's code to figure out how they did it. So far I am close to a solution with Qt layouts with a caveat: https://forum.qt.io/topic/119150/independent-scroll-areas-for-separate-vertical-horizontal-scrolling