pdf previews: set tooltip showing documents path
This commit is contained in:
父節點
b319edea15
當前提交
88a6152b52
@ -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,
|
||||
[=]()
|
||||
|
載入中…
x
新增問題並參考
Block a user