equal
deleted
inserted
replaced
246 } |
246 } |
247 } |
247 } |
248 |
248 |
249 /*! |
249 /*! |
250 \property QDateTimeEdit::date |
250 \property QDateTimeEdit::date |
251 \brief the QDate that is set in the QDateTimeEdit |
251 \brief the QDate that is set in the widget |
252 |
252 |
253 By default, this property contains a date that refers to January 1, 2000. |
253 By default, this property contains a date that refers to January 1, 2000. |
254 |
254 |
255 \sa time, dateTime |
255 \sa time, dateTime |
256 */ |
256 */ |
277 } |
277 } |
278 } |
278 } |
279 |
279 |
280 /*! |
280 /*! |
281 \property QDateTimeEdit::time |
281 \property QDateTimeEdit::time |
282 \brief the QTime that is set in the QDateTimeEdit |
282 \brief the QTime that is set in the widget |
283 |
283 |
284 By default, this property contains a time of 00:00:00 and 0 milliseconds. |
284 By default, this property contains a time of 00:00:00 and 0 milliseconds. |
285 |
285 |
286 \sa date, dateTime |
286 \sa date, dateTime |
287 */ |
287 */ |
752 \since 4.4 |
752 \since 4.4 |
753 |
753 |
754 Sets the given \a calendarWidget as the widget to be used for the calendar |
754 Sets the given \a calendarWidget as the widget to be used for the calendar |
755 pop-up. The editor does not automatically take ownership of the calendar widget. |
755 pop-up. The editor does not automatically take ownership of the calendar widget. |
756 |
756 |
|
757 \note calendarPopup must be set to true before setting the calendar widget. |
757 \sa calendarPopup |
758 \sa calendarPopup |
758 */ |
759 */ |
759 void QDateTimeEdit::setCalendarWidget(QCalendarWidget *calendarWidget) |
760 void QDateTimeEdit::setCalendarWidget(QCalendarWidget *calendarWidget) |
760 { |
761 { |
761 Q_D(QDateTimeEdit); |
762 Q_D(QDateTimeEdit); |
1552 QTimeEdit::QTimeEdit(const QTime &time, QWidget *parent) |
1553 QTimeEdit::QTimeEdit(const QTime &time, QWidget *parent) |
1553 : QDateTimeEdit(time, QVariant::Time, parent) |
1554 : QDateTimeEdit(time, QVariant::Time, parent) |
1554 { |
1555 { |
1555 } |
1556 } |
1556 |
1557 |
1557 /*! |
|
1558 \property QTimeEdit::time |
|
1559 \brief the QTime that is shown in the widget |
|
1560 |
|
1561 By default, this property contains a time of 00:00:00 and 0 milliseconds. |
|
1562 */ |
|
1563 |
|
1564 |
1558 |
1565 /*! |
1559 /*! |
1566 \class QDateEdit |
1560 \class QDateEdit |
1567 \brief The QDateEdit class provides a widget for editing dates based on |
1561 \brief The QDateEdit class provides a widget for editing dates based on |
1568 the QDateTimeEdit widget. |
1562 the QDateTimeEdit widget. |
1612 |
1606 |
1613 QDateEdit::QDateEdit(const QDate &date, QWidget *parent) |
1607 QDateEdit::QDateEdit(const QDate &date, QWidget *parent) |
1614 : QDateTimeEdit(date, QVariant::Date, parent) |
1608 : QDateTimeEdit(date, QVariant::Date, parent) |
1615 { |
1609 { |
1616 } |
1610 } |
1617 |
|
1618 /*! |
|
1619 \property QDateEdit::date |
|
1620 \brief the QDate that is shown in the widget |
|
1621 |
|
1622 By default, this property contains a date referring to January 1, 2000. |
|
1623 */ |
|
1624 |
1611 |
1625 |
1612 |
1626 // --- QDateTimeEditPrivate --- |
1613 // --- QDateTimeEditPrivate --- |
1627 |
1614 |
1628 /*! |
1615 /*! |