1
0

pdf previews: set tooltip showing documents path

Este cometimento está contido em:
Albert S. 2019-04-30 12:30:29 +02:00
ascendente b319edea15
cometimento 88a6152b52

Ver ficheiro

@ -118,6 +118,7 @@ void MainWindow::pdfPreviewReceived(PdfPreview preview)
{
ClickLabel *label = new ClickLabel();
label->setPixmap(QPixmap::fromImage(preview.previewImage));
label->setToolTip(preview.documentPath);
ui->scrollAreaWidgetContents->layout()->addWidget(label);
connect(label, &ClickLabel::clicked,
[=]()