Add accession number and fix a problem with create recon record automaticly.
This commit is contained in:
@@ -29,11 +29,11 @@ void ReconStateDelegate::paint(QPainter *painter, const QStyleOptionViewItem &op
|
||||
displayText = tr("Transfering");
|
||||
int progress = DeviceManager::Default()->getTransferProgress();
|
||||
QRect textRect = option.rect;
|
||||
textRect.setRight(option.rect.right() - 300);
|
||||
textRect.setRight(option.rect.right() - 180);
|
||||
painter->drawText(textRect, Qt::AlignCenter, displayText);
|
||||
|
||||
QRect progressBarRect = option.rect;
|
||||
progressBarRect.setLeft(textRect.right() + 20);
|
||||
progressBarRect.setLeft(textRect.right() + 10);
|
||||
progressBarRect.setRight(option.rect.right() - 5);
|
||||
progressBarRect.setTop(option.rect.top() + 5);
|
||||
progressBarRect.setBottom(option.rect.bottom() - 5);
|
||||
|
||||
Reference in New Issue
Block a user