Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2971

QDateEdit and QDateTimeEdit usability improvement

    XMLWordPrintable

Details

    Description

      One cannot define and set an invalid date string. QDateEdit, for instance, refuses to accept a string like '-//-'. An example for when this might become necessary is when a database query returns a NULL value for a date. When one uses clear() on the widget, it resets itself to 1/1/00. Of course one could tell the user that 1/1/00 means actually that no date has been entered', but this is an extremely ugly solution.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes