┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphindetailsview.cpp
AgeCommit message (Collapse)Author
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-01-15Move the call "setUniformRowHeights(true)" from DolphinDetailsView'sFrank Reininghaus
constructor to the one of its base class DolphinTreeView. The reason is that DolphinTreeView::updateElasticBandSelection() contains "Q_ASSERT(uniformRowHeights())", so it makes sense to ensure that every DolphinTreeView has uniform row heights. This might be important for unit tests which use DolphinTreeView directly. svn path=/trunk/KDE/kdebase/apps/; revision=1214695
2011-01-09Internal simplification: It is not necessary to keep the ViewModeController ↵Peter Penz
as member for the view-modes, as the URL is alredy known by the DolphinViewController. svn path=/trunk/KDE/kdebase/apps/; revision=1213172
2011-01-01Forward port: Don't grab the focus if the view did not have the focus already.Peter Penz
CCBUG: 261147 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1210659
2010-11-26DragAndDropHelper::isMimeTypeSupported() returns always true in the meantime ↵Peter Penz
- remove it svn path=/trunk/KDE/kdebase/apps/; revision=1201101
2010-11-21In the item view constructors, call setFocus() only afterFrank Reininghaus
m_extensionsFactory is initialised. This fixes a possible crash in Konqueror when changing the settings or manipulating tabs. CCBUG: 240374 svn path=/trunk/KDE/kdebase/apps/; revision=1199276
2010-11-20Make sure that an item's visualRect in the Details View is not widerFrank Reininghaus
than the "Name" column. Fixes keyboard navigation problems if files with very wide names are present in the current folder. Unit test included. CCBUG: 257401 svn path=/trunk/KDE/kdebase/apps/; revision=1199123
2010-11-17Verify that the pointer m_extensionsFactory is not 0 beforeFrank Reininghaus
dereferencing it. Fixes a possible crash when initialising the Details View in Konqueror, caused by an indirect resizing the of columns before the DolphinDetailsView constructor is finished. CCBUG: 257035 svn path=/trunk/KDE/kdebase/apps/; revision=1198138
2010-11-12Fix issue that the folders in the details-view are not automatically opened ↵Peter Penz
when dragging items and "expandable folders" is disabled. CCBUG: 237731 svn path=/trunk/KDE/kdebase/apps/; revision=1196240
2010-10-09Move the generic hover- and selection-adjustments from DolphinsDetailsView ↵Peter Penz
into the new base class DolphinTreeView. Background info: QTreeView does not respect the width of a cell for the hover-feedback and the selections. This has been adjusted in DolphinDetailsView already, but the required code for this is quite large. This made it tricky to maintain the really Dolphin-specific parts in DolphinDetailsView. svn path=/trunk/KDE/kdebase/apps/; revision=1184152
2010-10-05Prevent that icons overlap in Details View when zooming.Frank Reininghaus
The problem was that a maximum size was assigned to KFileItemDelegate for displaying items without considering that icon zooming may change the item height. CCBUG: 234600 svn path=/trunk/KDE/kdebase/apps/; revision=1182797
2010-09-04Further optimizations for calculating the width of columnsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1171607
2010-09-04The row-count cannot be 0 at this part of the code.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1171602
2010-09-04Use the size-hint provided by the item-delegate to calculate the required ↵Peter Penz
width of the columns. This assures that columns like "Path" are not clipped. svn path=/trunk/KDE/kdebase/apps/; revision=1171601
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