D19311: Add navigation history to forward/back buttons

David Hallas noreply at phabricator.kde.org
Wed Mar 6 17:44:34 GMT 2019


hallas added a comment.


  I am now working on a prototype that consists of three pieces:
  
  1. A new class in `KWidgetAddons` called `BrowserToolBarAction` (naming suggestions are welcome :) ) - This will be a subclass of `KToolBarPopupAction` but it will not add any functionality, it is only used so that Breeze has a way to differentiate the way it is drawn.
  2. Special handling in `BreezeStyle` so that the `BrowserToolBarAction` is drawn without a drop down arrow, this is done by checking if the widget derives from `BrowserToolBarAction`
  3. Use the `BrowserToolBarAction` in Dolphin
  
  Do you guys think this is a viable way? Is there a better way to get special handling in Breeze? I was also looking at using `QObject::setProperty`/`QObject::property` but it doesn't appear to be a common way of doing this. Any suggestions would be greatly appreciated :)

REPOSITORY
  R318 Dolphin

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

To: hallas, #dolphin, ngraham, elvisangelaccio, #vdg
Cc: abetts, kfm-devel, alexde, feverfew, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190306/0d2d4c9d/attachment.htm>


More information about the kfm-devel mailing list