feat: new action for fit long image

This commit is contained in:
2025-08-25 12:48:35 +08:00
parent 8b0c8ec194
commit e52a6d8eed
5 changed files with 15 additions and 12 deletions

View File

@ -737,6 +737,12 @@ void MainWindow::on_actionFitByWidth_triggered()
m_graphicsView->fitByOrientation();
}
void MainWindow::on_actionFitLongImage_triggered()
{
m_graphicsView->setLongImageMode(true);
m_graphicsView->fitLongImage();
}
void MainWindow::on_actionCopyPixmap_triggered()
{
QClipboard *cb = QApplication::clipboard();