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. How can I use calendarWidget with Jalali format?
QtWS25 Last Chance

How can I use calendarWidget with Jalali format?

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 920 Views
  • 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.
  • E Offline
    E Offline
    EmadDeve20
    wrote on 27 Apr 2022, 10:06 last edited by
    #1

    hello. i want to use calendarWidget with jalai format! this is possible?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 27 Apr 2022, 19:05 last edited by
      #2

      Hi,

      What do you mean by jalai format ?

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

      J 1 Reply Last reply 27 Apr 2022, 19:24
      0
      • S SGaist
        27 Apr 2022, 19:05

        Hi,

        What do you mean by jalai format ?

        J Online
        J Online
        JonB
        wrote on 27 Apr 2022, 19:24 last edited by JonB
        #3

        @SGaist
        Jalali calendar
        https://pypi.org/project/jdatetime/
        https://www.cssscript.com/jalali-date-picker/

        alt text

        :)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 27 Apr 2022, 19:27 last edited by
          #4

          Qt has the QJalaliCalendar class which hints to some form of support for it.

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

          1 Reply Last reply
          1
          • E Offline
            E Offline
            EmadDeve20
            wrote on 27 Apr 2022, 19:59 last edited by EmadDeve20
            #5

            @SGaist I using Qt Designer to make my Ui. I want a widget like a calendar widget but with Jalali format. and I write backend with python. so do you can send me help page with python?

            1 Reply Last reply
            0
            • E Offline
              E Offline
              EmadDeve20
              wrote on 27 Apr 2022, 20:03 last edited by
              #6

              I want to create a reporter window to set dates and get data from DB. I want to use a calendar. but this project is for a factory in Iran and I must use jalali calendar.

              Do you have a suggestion if this is not possible?

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 28 Apr 2022, 18:54 last edited by
                #7

                You can check the Calendar Widget example for some inspiration.

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

                E 1 Reply Last reply 28 Apr 2022, 19:44
                1
                • S SGaist
                  28 Apr 2022, 18:54

                  You can check the Calendar Widget example for some inspiration.

                  E Offline
                  E Offline
                  EmadDeve20
                  wrote on 28 Apr 2022, 19:44 last edited by
                  #8

                  @SGaist thank you. I will check it :D

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    EmadDeve20
                    wrote on 20 Jun 2022, 08:31 last edited by
                    #9

                    i know this is so late but i used the text line edit for get the date from user.
                    :)

                    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