QTimeEdit has a read-only property, which I can set from Designer (it is in the QAbstractSpinBox properties category).
But there is no setReadOnly member in QTimeEdit.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can call setReadOnly. It is a member of QAbstractSpinBox, which QTimeEdit inherits from.
When looking up documentation for a particular class, don’t forget to click the link “List of all members, including inherited members”, which will display all of the methods you can call for a given object.