Changeset 846 for trunk/src/gui/widgets/qdatetimeedit.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/widgets/qdatetimeedit.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 249 249 /*! 250 250 \property QDateTimeEdit::date 251 \brief the QDate that is set in the QDateTimeEdit251 \brief the QDate that is set in the widget 252 252 253 253 By default, this property contains a date that refers to January 1, 2000. … … 280 280 /*! 281 281 \property QDateTimeEdit::time 282 \brief the QTime that is set in the QDateTimeEdit282 \brief the QTime that is set in the widget 283 283 284 284 By default, this property contains a time of 00:00:00 and 0 milliseconds. … … 755 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 758 \sa calendarPopup 758 759 */ … … 832 833 and QDateTime::fromString() 833 834 834 Example format strings (assuming that the date is 2nd of July 1969):835 Example format strings (assuming that the date is 2nd of July 1969): 835 836 836 837 \table 837 838 \header \i Format \i Result 838 \row \i dd.MM.yyyy 839 \row \i dd.MM.yyyy \i 02.07.1969 839 840 \row \i MMM d yy \i Jul 2 69 840 841 \row \i MMMM d yy \i July 2 69 … … 902 903 /*! 903 904 \property QDateTimeEdit::calendarPopup 904 \brief the current calend er pop-up showing mode.905 \brief the current calendar pop-up showing mode. 905 906 \since 4.2 906 907 … … 1176 1177 } 1177 1178 QAbstractSpinBox::keyPressEvent(event); 1178 if (select && ! (event->modifiers() & Qt::ShiftModifier) && !d->edit->hasSelectedText()) {1179 if (select && !d->edit->hasSelectedText()) { 1179 1180 if (inserted && d->sectionAt(d->edit->cursorPosition()) == QDateTimeParser::NoSectionIndex) { 1180 1181 QString str = d->displayText(); … … 1555 1556 } 1556 1557 1557 /*!1558 \property QTimeEdit::time1559 \brief the QTime that is shown in the widget1560 1561 By default, this property contains a time of 00:00:00 and 0 milliseconds.1562 */1563 1564 1558 1565 1559 /*! … … 1615 1609 { 1616 1610 } 1617 1618 /*!1619 \property QDateEdit::date1620 \brief the QDate that is shown in the widget1621 1622 By default, this property contains a date referring to January 1, 2000.1623 */1624 1611 1625 1612
Note:
See TracChangeset
for help on using the changeset viewer.