Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Day view calendar
Forum Updated to NodeBB v4.3 + New Features

Day view calendar

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 767 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SarenT
    wrote on last edited by
    #1

    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).

    1 Reply Last reply
    0
    • S SarenT

      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.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #4

      @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.

      S 1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi
        Do you mean like in outlook for a day ?
        alt text

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SarenT
          wrote on last edited by
          #3

          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.

          mrjjM 1 Reply Last reply
          0
          • S SarenT

            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.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @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.

            S 1 Reply Last reply
            1
            • mrjjM mrjj

              @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.

              S Offline
              S Offline
              SarenT
              wrote on last edited by
              #5

              @mrjj I see. I will accept this if no suggestions come for some time.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #6

                Hi and welcome to devnet,

                You might want to check KDE.'s KOrganizer.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                S 1 Reply Last reply
                0
                • SGaistS SGaist

                  Hi and welcome to devnet,

                  You might want to check KDE.'s KOrganizer.

                  S Offline
                  S Offline
                  SarenT
                  wrote on last edited by
                  #7

                  @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

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved