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/dialogs/qprogressdialog.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    4747#include "qpainter.h"
    4848#include "qdrawutil.h"
    49 #include "qdatetime.h"
    5049#include "qlabel.h"
    5150#include "qprogressbar.h"
     
    5554#include "qcursor.h"
    5655#include "qtimer.h"
     56
    5757#include <private/qdialog_p.h>
    5858#include <limits.h>
     
    104104    bool shown_once;
    105105    bool cancellation_flag;
    106     QTime starttime;
     106    Q starttime;
    107107#ifndef QT_NO_CURSOR
    108108    QCursor parentCursor;
     
    154154        bool(q->style()->styleHint(QStyle::SH_ProgressDialog_CenterCancelButton, 0, q));
    155155
     156
     157
     158
     159
     160
     161
     162
    156163    QSize cs = cancel ? cancel->sizeHint() : QSize(0,0);
    157164    QSize bh = bar->sizeHint();
     
    186193
    187194    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());
    190197}
    191198
Note: See TracChangeset for help on using the changeset viewer.