Changeset 846 for trunk/src/gui/dialogs/qprogressdialog.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/qprogressdialog.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 47 47 #include "qpainter.h" 48 48 #include "qdrawutil.h" 49 #include "qdatetime.h"50 49 #include "qlabel.h" 51 50 #include "qprogressbar.h" … … 55 54 #include "qcursor.h" 56 55 #include "qtimer.h" 56 57 57 #include <private/qdialog_p.h> 58 58 #include <limits.h> … … 104 104 bool shown_once; 105 105 bool cancellation_flag; 106 Q Timestarttime;106 Q starttime; 107 107 #ifndef QT_NO_CURSOR 108 108 QCursor parentCursor; … … 154 154 bool(q->style()->styleHint(QStyle::SH_ProgressDialog_CenterCancelButton, 0, q)); 155 155 156 157 158 159 160 161 162 156 163 QSize cs = cancel ? cancel->sizeHint() : QSize(0,0); 157 164 QSize bh = bar->sizeHint(); … … 186 193 187 194 if (label) 188 label->setGeometry(mlr, 0, q->width()-mlr*2, lh);189 bar->setGeometry(mlr, lh +sp, q->width()-mlr*2, bh.height());195 label->setGeometry(mlr, 2, lh); 196 bar->setGeometry(mlr, lh2, bh.height()); 190 197 } 191 198
Note:
See TracChangeset
for help on using the changeset viewer.