Review Request 110340: Factored out the tabbing code from DolphinMainWindow into different classes + Implemented tab-bar drag and drop (with drop indicator)

Emmanuel Pescosta emmanuelpescosta099 at gmail.com
Tue May 7 07:21:24 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110340/#review32176
-----------------------------------------------------------



dolphin/src/dolphintabbar.cpp
<http://git.reviewboard.kde.org/r/110340/#comment23957>

    Check if the url is a folder. Open file urls doesn't make sense here.
    
    I will fix it, when I am in front of my dev machine ;)


- Emmanuel Pescosta


On May 7, 2013, 6:18 a.m., Emmanuel Pescosta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/110340/
> -----------------------------------------------------------
> 
> (Updated May 7, 2013, 6:18 a.m.)
> 
> 
> Review request for Dolphin.
> 
> 
> Description
> -------
> 
> * Implemented tab-bar drag and drop (with drop indicator) - When you drag folders to the empty tab-bar area, a drop indicator appears, 
>   when you drop the folders there, all folders will be opened in new tabs.
> 
> * Factored out the tabbing code from DolphinMainWindow into different classes (This is smth. Peter had already in mind some time ago). 
>   It reduces the LOC in DolphinMainWindow and should make the maintenance easier in the future.
> 
> * Use the the power of QTabWidget + tab pages instead of just hiding/showing the DolphinViews in the layout (No flickering on tab change anymore)
> 
> New classes:
> * DolphinTabPage - handles the two views + splitter stuff + layout stuff -> no need of hiding/showing view widgets anymore ;)
> * DolphinTabBar - handles drag and drop events + context menu requests on the tab bar. (QTabBar based instead of KTabBar)
> * DolphinTabWidget - based on QTabWidget, does the view handling (connector between all tab pages + tab bar)
> 
> The DolphinTabWidget is the new central widget for DolphinMainWindow.
> 
> To all Dolphin/KDE devs out there, please help me to find all the regressions/bugs caused by this patch and please review this code. Thanks! :)
> 
> 
> This addresses bug 216433.
>     http://bugs.kde.org/show_bug.cgi?id=216433
> 
> 
> Diffs
> -----
> 
>   dolphin/src/CMakeLists.txt ffb232c 
>   dolphin/src/dolphinmainwindow.h 7da5801 
>   dolphin/src/dolphinmainwindow.cpp 8ed31de 
>   dolphin/src/dolphintabbar.h PRE-CREATION 
>   dolphin/src/dolphintabbar.cpp PRE-CREATION 
>   dolphin/src/dolphintabpage.h PRE-CREATION 
>   dolphin/src/dolphintabpage.cpp PRE-CREATION 
>   dolphin/src/dolphintabwidget.h PRE-CREATION 
>   dolphin/src/dolphintabwidget.cpp PRE-CREATION 
>   dolphin/src/dolphinviewcontainer.cpp de1ae4b 
> 
> Diff: http://git.reviewboard.kde.org/r/110340/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Emmanuel Pescosta
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20130507/f0843758/attachment.htm>


More information about the kfm-devel mailing list