Qt Forum

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

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

    General and Desktop
    qdatetimeedit qflags datesections
    2
    2
    593
    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.
    • O
      Olivier Ronat last edited by Olivier Ronat

      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?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        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

        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 Reply Quote 0
        • First post
          Last post