Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/widgets/qdatetimeedit.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    249249/*!
    250250  \property QDateTimeEdit::date
    251   \brief the QDate that is set in the QDateTimeEdit
     251  \brief the QDate that is set in the widget
    252252
    253253  By default, this property contains a date that refers to January 1, 2000.
     
    280280/*!
    281281  \property QDateTimeEdit::time
    282   \brief the QTime that is set in the QDateTimeEdit
     282  \brief the QTime that is set in the widget
    283283
    284284  By default, this property contains a time of 00:00:00 and 0 milliseconds.
     
    755755  pop-up. The editor does not automatically take ownership of the calendar widget.
    756756
     757  \note calendarPopup must be set to true before setting the calendar widget.
    757758  \sa calendarPopup
    758759*/
     
    832833  and QDateTime::fromString()
    833834
    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):
    835836
    836837  \table
    837838  \header \i Format \i Result
    838   \row \i dd.MM.yyyy    \i 02.07.1969
     839  \row \i dd.MM.yyyy \i 02.07.1969
    839840  \row \i MMM d yy \i Jul 2 69
    840841  \row \i MMMM d yy \i July 2 69
     
    902903/*!
    903904    \property QDateTimeEdit::calendarPopup
    904     \brief the current calender pop-up showing mode.
     905    \brief the current calendar pop-up showing mode.
    905906    \since 4.2
    906907
     
    11761177    }
    11771178    QAbstractSpinBox::keyPressEvent(event);
    1178     if (select && !(event->modifiers() & Qt::ShiftModifier) && !d->edit->hasSelectedText()) {
     1179    if (select && !d->edit->hasSelectedText()) {
    11791180        if (inserted && d->sectionAt(d->edit->cursorPosition()) == QDateTimeParser::NoSectionIndex) {
    11801181            QString str = d->displayText();
     
    15551556}
    15561557
    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 
    15641558
    15651559/*!
     
    16151609{
    16161610}
    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 */
    16241611
    16251612
Note: See TracChangeset for help on using the changeset viewer.