Changeset 651 for trunk/src/gui/dialogs/qmessagebox.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/dialogs/qmessagebox.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 59 59 #include <QtGui/qapplication.h> 60 60 #include <QtGui/qtextedit.h> 61 61 62 #include <QtGui/qmenu.h> 62 63 #include "qdialog_p.h" … … 189 190 QAbstractButton *detectedEscapeButton; 190 191 QLabel *informativeLabel; 191 #if def Q_OS_SYMBIAN192 QText Edit *textEdit;192 #if 193 QText; 193 194 #endif 194 195 QPointer<QObject> receiverToDisconnectOnClose; … … 1727 1728 "<p>Please see <a href=\"http://qt.nokia.com/products/licensing\">qt.nokia.com/products/licensing</a> " 1728 1729 "for an overview of Qt licensing.</p>" 1729 "<p>Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).</p>"1730 "<p>Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).</p>" 1730 1731 "<p>Qt is a Nokia product. See <a href=\"http://qt.nokia.com/\">qt.nokia.com</a> " 1731 1732 "for more information.</p>" … … 2463 2464 label->setWordWrap(true); 2464 2465 QGridLayout *grid = static_cast<QGridLayout *>(layout()); 2465 #if def Q_OS_SYMBIAN2466 #if 2466 2467 label->hide(); 2467 QText Edit *textEdit = new QTextEdit(this);2468 text Edit->setReadOnly(true);2469 grid->addWidget(text Edit, 1, 1, 1, 1);2470 d->text Edit = textEdit;2468 QText(this); 2469 text(true); 2470 grid->addWidget(text, 1, 1, 1, 1); 2471 d->text; 2471 2472 #else 2472 2473 grid->addWidget(label, 1, 1, 1, 1); … … 2476 2477 d->informativeLabel->setText(text); 2477 2478 2478 #if def Q_OS_SYMBIAN2479 //We need to put the informative label inside text Editto enable scrolling of long texts.2480 d->text Edit->setText(d->informativeLabel->text());2479 #if 2480 //We need to put the informative label inside text to enable scrolling of long texts. 2481 d->text->setText(d->informativeLabel->text()); 2481 2482 #endif 2482 2483
Note:
See TracChangeset
for help on using the changeset viewer.