PyQt5 QDateTimeEdit – Getting Wrapping Property
In this article we will see how we can get wrapping property of the QDateTimeEdit widget. QDateTime is basically a combination of QDate and QTime i.e it has both date and time. And QDateTimeEdit widget is used to show or receive the QDateTime. Wrapping property makes stepping up from maximum date time will take user to the minimum date time and vice versa. Wrapping only make sense if we have minimum and maximum date time set, it can be set with the help of
In order to do this we will use
wrapping method with the QDateTimeEdit object.
Syntax : datetimeedit.wrapping()
Argument : It takes no argument
Return : It returns bool
Below is the implementation