┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/folders/folderspanel.cpp
AgeCommit message (Collapse)Author
2012-04-11KItemViews: Internal directory restructurationPeter Penz
- Move all private headers from the kitemviews-directory into the 'private' subdirectory. - Get rid of DolphinDirLister and just use a directory-lister internally in KFileItemModel. - Minor interface-cleanups for signals
2012-03-09Folders Panel: Turn on items-expandingPeter Penz
Since the fix of bug 289090 the items-expanding is not automatically turned on anymore when using the DetailsMode. CCBUG: 289090
2012-02-15Folders Panel: Use the whole width as selection regionPeter Penz
As no rubberband-selection is enabled for the Folders Panel it does not make sense to keep the selection region as small as possible. BUG: 294111 FIXED-IN: 4.8.1
2012-02-08Layout optimizationsPeter Penz
- Differ internally between margins and paddings - Add a small padding in the icons-view and the compact-views - Optimize the width of the icons-view if previews are shown
2012-02-08Drag and drop: Adjust destination if the item is no directory or desktop-filePeter Penz
The URL of the view should be used as destination target if a dropping is not done above a directory or desktop-file. BUG: 293511 FIXED-IN: 4.8.1
2012-02-05Replace setExpanded(const QSet<KUrl>&) by expandParentItems(const KUrl&)Frank Reininghaus
The use case of this function (Folders Panel) requires the expansion of the parent items of a single URL, so it's not needed to handle a full set of URLs in this function. Moreover, the issue that not only the parents, but also the URLs themselves were expanded is fixed by this commit. (cherry picked from commit 89082ca391807abdc26d8985efe6b4c27183a9b1)
2012-02-03FoldersPanel: Rename setHiddenFilesShown() to setShowHiddenFiles()Peter Penz
This is consistent with the naming scheme in KFileItemModel and KDirLister.
2012-02-03Simplify FoldersPanel::setHiddenFilesShown()Peter Penz
Thanks to Frank Reininghaus for the hint.
2012-01-30Fix drag & drop issues with non-local URLsPeter Penz
BUG: 292821 BUG: 292355 FIXED-IN: 4.8.1
2012-01-15Don't show a expanding-toggle in the Folders Panel if there are no ↵Peter Penz
subdirectories BUG: 290745 FIXED-IN: 4.8.0
2012-01-05Folders Panel: Activate folders on single-clickPeter Penz
Even if double-click is used as default setting, the folders panel should open folders with a single-click. BUG: 289971 FIXED-IN: 4.8.0
2011-12-20Show an error when dragging above a folder without write accessPeter Penz
Got OK from the translator team to add this new string.
2011-12-08Fix "show hidden files" issuesPeter Penz
Use KFileItemModel instead of KDirLister for toggling the whether hidden files should be shown. This assures that the signal KFileItemModel::loadingCompleted() will be emitted. In the longterm Dolphin should only use the KFileItemModel, so that the KDirLister instance is used only internally as implementation detail in KFileItemModel. Although there are only a few cases left where KDirLister is used instead of KFileItemModel this cleanup will be postponed to after the 4.8 release... BUG: 287314 BUG: 288213 FIXED-IN: 4.8.0
2011-12-06Folders Panel cleanupsPeter Penz
- Reactivate dropping of URLs - Remove unused/obsolete code - Simplify DragAndDropHelper interface
2011-11-29Reactivate the "Open folders during drag operations" featurePeter Penz
The feature got temporary lost due to the port to the new view engine.
2011-11-26Folders Panel fixesPeter Penz
The following functionality from Dolphin 1.x has been ported to the new view-engine: - Allow expanding/collapsing of items - Automatically select the current item - Context menu for items Related improvements to the view-engine: - Make the expanding/collapsing interface already accessible in the base classes KItemModelBase and KItemListView. If no expanding/collapsing is supported at all by derived models (which is usually the default case) simply not reimplementing those 3 methods is sufficient and it does not introduce an additional complexity like in QAbstractItemModel/QModelIndex. - Automatically handle the expanding/collapsing in KItemListController. This also includes the key-handling, which is quite special for expandable items. - Don't let KItemListView automatically scroll to the current item if the current item got changed. The automatic scrolling should only be done if the current item has been changed by the user. Hence this functionality has been moved to the KItemListController which currently only triggers the automatic scrolling if the current item has been changed by the keyboard (we might extend the usecases later if required).
2011-11-20Don't crash when closing Dolphin if the Folders Panel is hiddenFrank Reininghaus
2011-11-20Initial draft for bringing back the "Folders" panelPeter Penz
The folders panel has been adjusted to use the new view-engine. A lot of things don't work yet, but are mostly minor issues that should be fixable during the next 10 days.
2011-11-06Delete obsolete class DolphinSettingsPeter Penz
2011-07-31normalize signals/slotsMontel Laurent
2011-07-30Merged very early alpha-version of Dolphin 2.0Peter Penz
Dolphin 2.0 will get a new view-engine with the following improvements: - Better performance - Animated transitions - No clipped filenames due to dynamic item-sizes - Grouping support for all view-modes - Non-rectangular selection areas - Simplified code for better maintenance More details will be provided in a blog-entry during the next days. Please note that the code is in a very early alpha-stage and although the most tricky parts have been implemented already very basic things like drag and drop or selections have not been pushed yet. Those things are rather trivial to implement but this still will take some time.
2011-02-09Coding style update for pointer comparisonPeter Penz
Most developers seem to prefer if (ptr) ... if (!ptr) ... in comparison to if (ptr != 0) ... if (ptr == 0) ... Adjusted the Dolphin-code to use the "most-prefered style" to make contributors happy.
2011-02-04Use capitalized KDE includesPeter Penz
2011-02-02Provide a default size-hint for all panelsPeter Penz
This fixes the issue that the initial size of the Filter Panel is too small.
2011-01-17Don't assure the visibility of the leaf, if another directory has been ↵Peter Penz
opened by the [+]-toggle. CCBUG: 263344 svn path=/trunk/KDE/kdebase/apps/; revision=1214979
2010-10-29If the signal sliderMoved() is emitted, always valueChanged() is emitted too ↵Peter Penz
-> no need to connect to sliderMoved() svn path=/trunk/KDE/kdebase/apps/; revision=1191107
2010-10-29If the vertical scrollbar got triggered by the wheel, the autoscrolling ↵Peter Penz
should be reactivated too. svn path=/trunk/KDE/kdebase/apps/; revision=1191100
2010-10-29Don't do an automatic horizontal scrolling, if the user has adjusted the ↵Peter Penz
horizontal scrollbar. The autoscrolling gets reactivated again if the vertical scrollbar has been moved by the user. svn path=/trunk/KDE/kdebase/apps/; revision=1191098
2010-10-27- Allow to disable the automatic horizontal scrolling of the Folders PanelPeter Penz
- Remember the 'Show Hidden Files' setting - Improve the autoscroll behavior - Fix issue that expanding folders might not increase the horizontal width - Fix issue that the selected item might get hidden by the horizontal scrollbar BUG: 191787 FIXED-IN: 4.6.0 CCMAIL: [email protected]> svn path=/trunk/KDE/kdebase/apps/; revision=1190479
2010-10-07Internal cleanup for panels: Let the panel-implementations decide whether ↵Peter Penz
they accept an URL or not. svn path=/trunk/KDE/kdebase/apps/; revision=1183480
2010-10-07Ignore search-results in the treeview, as showing equal directory names ↵Peter Penz
without path makes no sense. svn path=/trunk/KDE/kdebase/apps/; revision=1183472
2010-10-05- Integrate the patch from Matthias Fuchs from ↵Peter Penz
http://reviewboard.kde.org/r/5496 to allow having leading zeros when renaming files: E.g. Using the name "A ###.jpg" results in the filenames "A 001.jpg", "A 002.jpg"... The patch could be simplified a little bit by guaranting only one connective sequence of #'s. - Move the renaming code into the RenameDialog CCMAIL: [email protected] BUG: 226761 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1182776
2010-07-24Sourcecode hierarchy cleanup: Move further files from src to src/viewsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1154150
2010-07-24Sourcecode hierarchy cleanup: Create folder "views" and move view related ↵Peter Penz
sources to it svn path=/trunk/KDE/kdebase/apps/; revision=1154146
2009-12-17* respect the --select startup optionPeter Penz
* minor cleanups related to selecting items in general svn path=/trunk/KDE/kdebase/apps/; revision=1063329
2009-05-26fixed krazy issues (see http://www.kdedevelopers.org/node/3919)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=973269
2009-02-01Replace patch for bug 181226 by a different approach, as the previous patch ↵Peter Penz
resulted in a changed behavior when using the double-click mode (-> a treeview item had to be pressed twice to show it in the main view). CCBUG: 172360 CCBUG: 181226 svn path=/trunk/KDE/kdebase/apps/; revision=919648
2009-01-16Pressing "Enter" in the folders panel should open the folder in the main ↵Peter Penz
view. Thanks to Darío Andrés for the patch! BUG: 172360 svn path=/trunk/KDE/kdebase/apps/; revision=911855
2009-01-14Cleanup panel related class names: The terms "sidebar"/"sidebarpage" are ↵Peter Penz
relicts from the KDE 3 version of Dolphin and are called "Panels" in the KDE 4 version of Dolphin. Yes, renaming classes may take more than 1 year ;-) svn path=/trunk/KDE/kdebase/apps/; revision=911089