Changeset 846 for trunk/tools/qvfb/qvfbratedlg.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/tools/qvfb/qvfbratedlg.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) … … 56 56 tl->setMargin(5); 57 57 58 QLabel *label = new QLabel( "Target frame rate:", this);58 QLabel *label = new QLabel(tr("Target frame rate:"), this); 59 59 tl->addWidget(label); 60 60 … … 68 68 hl->addWidget(rateSlider); 69 69 connect(rateSlider, SIGNAL(valueChanged(int)), this, SLOT(rateChanged(int))); 70 rateLabel = new QLabel( QString("%1fps").arg(rate), this);70 rateLabel = new QLabel(tr("%1fps").arg(rate), this); 71 71 hl->addWidget(rateLabel); 72 72 73 73 hl = new QHBoxLayout(); 74 74 tl->addItem(hl); 75 QPushButton *pb = new QPushButton( "OK", this);75 QPushButton *pb = new QPushButton(tr("OK"), this); 76 76 connect(pb, SIGNAL(clicked()), this, SLOT(ok())); 77 77 hl->addWidget(pb); 78 pb = new QPushButton( "Cancel", this);78 pb = new QPushButton(tr("Cancel"), this); 79 79 connect(pb, SIGNAL(clicked()), this, SLOT(cancel())); 80 80 hl->addWidget(pb); … … 85 85 if (rateSlider->value() != r) 86 86 rateSlider->setValue(r); 87 rateLabel->setText( QString("%1fps").arg(r));87 rateLabel->setText(tr("%1fps").arg(r)); 88 88 emit updateRate(r); 89 89 }
Note:
See TracChangeset
for help on using the changeset viewer.