Changeset 846 for trunk/src/gui/dialogs/qinputdialog.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/dialogs/qinputdialog.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) … … 232 232 233 233 mainLayout = new QVBoxLayout(q); 234 //we want to let the input dialog grow to available size on Symbian. 235 #ifndef Q_OS_SYMBIAN 234 236 mainLayout->setSizeConstraint(QLayout::SetMinAndMaxSize); 237 #else 238 label->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); 239 #endif 235 240 mainLayout->addWidget(label); 236 241 mainLayout->addWidget(inputWidget); … … 245 250 if (!lineEdit) { 246 251 lineEdit = new QLineEdit(q); 252 #ifndef QT_NO_IM 253 qt_widget_private(lineEdit)->inheritsInputMethodHints = 1; 254 #endif 247 255 lineEdit->hide(); 248 256 QObject::connect(lineEdit, SIGNAL(textChanged(QString)), … … 256 264 if (!comboBox) { 257 265 comboBox = new QComboBox(q); 266 #ifndef QT_NO_IM 267 qt_widget_private(comboBox)->inheritsInputMethodHints = 1; 268 #endif 258 269 comboBox->hide(); 259 270 QObject::connect(comboBox, SIGNAL(editTextChanged(QString)), … … 553 564 d->label->setText(text); 554 565 } 566 #ifdef Q_OS_SYMBIAN 567 d->label->setWordWrap(true); 568 #endif 555 569 } 556 570
Note:
See TracChangeset
for help on using the changeset viewer.