1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

FileTransferWidget: visual tweaks

This commit is contained in:
krepa098 2015-01-27 10:49:18 +01:00
parent 57485368cb
commit ce486eb1b3
2 changed files with 7 additions and 7 deletions

View File

@ -60,7 +60,7 @@ FileTransferWidget::FileTransferWidget(QWidget *parent, ToxFile file)
if(fileInfo.direction == ToxFile::SENDING)
showPreview(fileInfo.filePath);
setFixedHeight(80);
setFixedHeight(60);
}
FileTransferWidget::~FileTransferWidget()
@ -134,7 +134,7 @@ void FileTransferWidget::paintEvent(QPaintEvent *)
painter.setPen(Qt::NoPen);
qreal s = static_cast<qreal>(geometry().height()) / static_cast<qreal>(geometry().width());
int r = 15;
int r = 20;
painter.drawRoundRect(geometry(), r * s, r);
}

View File

@ -10,16 +10,16 @@
QPushButton {
margin:0;
border: none;
}
QProgressBar {
border: 2px solid black;
border-radius: 0px;
color: white;
background-color:white;
border-radius: 4px;
background-color: @mediumGrey;
}
QProgressBar::chunk {
background-color: black;
width: 20px;
background-color: @lightGrey;
width: 1px;
}