D29254: [RenameDialog] Add an arrow indicating direction from src to dest

Nathaniel Graham noreply at phabricator.kde.org
Tue Apr 28 16:11:16 BST 2020


ngraham added a comment.


  Maybe this helps for RTL?
  
  https://doc.qt.io/qt-5.9/qtwidgets-tools-i18n-mainwindow-cpp.html

INLINE COMMENTS

> renamedialog.cpp:302
> +        const int size = d->m_srcPreview->height();
> +        const QPixmap pix = QIcon::fromTheme(QStringLiteral("go-next")).pixmap(size);
> +        d->m_srcToDestArrow->setPixmap(pix);

If you figure out how to make it RTL aware, you could toggle between the `go-next-symbolic` and `go-next-rtl-symbolic` icons

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D29254

To: ahmadsamir, #frameworks, dfaure, meven
Cc: ngraham, kde-frameworks-devel, LeGast00n, cblack, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200428/2073609c/attachment.html>


More information about the Kde-frameworks-devel mailing list