Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved custom calender widget in qt. help me

    Brainstorm
    calender custom widget
    2
    5
    1393
    Loading More Posts
    • 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.
    • vinay133
      vinay133 last edited by

      can any one give your ideas how to create a custom Widget for a calender . this is my requirement.

      1. Design & Develop Qt Application for displaying yearly calendar.
        i. Display the 12 months in a year
        ii. Option to change the year
        iii. Option to add event
        iv. The days with events has to be highlighted
        v. On mouse hover, the highlighted days has to show the events
        (Note: Should not use QCalendarWidget)

      vinay

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by

        Hi! First of all draw some pictures that show in great detail how your widget shall look and add textual descriptions how the user shall interact with it.

        1 Reply Last reply Reply Quote 0
        • vinay133
          vinay133 last edited by

          http://i65.tinypic.com/1atl0.jpg

          please refer this requirement image

          vinay

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by

            My first idea would be to have a custom widget for each day of a month. Such widget could inherit from QLabel. A tooltip could be used to display event data. Next create a custom widget to display a single month. This could be a QWidget with 7x6 gridlayout that holds the labels for "s m t w t f s" and the custom widgets for each day. Then make another custom widget that contains a gridlayout with the custom widgets for each month and a label for the year on top.

            1 Reply Last reply Reply Quote 1
            • vinay133
              vinay133 last edited by

              Thank you for your support.:-)

              vinay

              1 Reply Last reply Reply Quote 0
              • First post
                Last post