Important: Please read the Qt Code of Conduct -

[SOLVED] QDateTimeEdit::DateSections_Mask et QDateTimeEdit::TimeSections_Mask

  • I see these QFlags in the spinboxes example code, but I can't find them in the documentation.
    What are those QDateTimeEdit::Section enum values and what are exactly their roles?

    Can I use them safely or must I replace them with other flags combination?

  • Lifetime Qt Champion


    When something is not documented it should be considered private API.

    These masks are used when checking if a QDateTimeEdit::Section is part of the date or part of the time.

    Hope it helps