class DolphinController;
class SelectionManager;
+class DolphinViewAutoScroller;
/**
* @brief Represents the details view which shows the name, size,
QRect elasticBandRect() const;
void setZoomLevel(int level);
-
+
void slotShowPreviewChanged();
/**
* with the mouse.
*/
void slotHeaderSectionResized(int logicalIndex, int oldSize, int newSize);
-
+
/**
* Changes the alternating row colors setting depending from
* the activation state \a active.
void updateFont();
/**
- * If the elastic band is currently shown, update the elastic band based on
- * the current mouse position and ensure that the selection is the set of items
+ * If the elastic band is currently shown, update the elastic band based on
+ * the current mouse position and ensure that the selection is the set of items
* intersecting it.
*/
void updateElasticBandSelection();
*/
void updateDecorationSize(bool showPreview);
- /** Return the upper left position in pixels of the viewport content. */
- QPoint contentsPos() const;
-
KFileItemDelegate::Information infoForColumn(int columnIndex) const;
/**
DolphinController* m_controller;
SelectionManager* m_selectionManager;
+ DolphinViewAutoScroller* m_autoScroller;
QFont m_font;
QSize m_decorationSize;
struct ElasticBand
{
ElasticBand();
-
+
// Elastic band origin and destination coordinates are relative to t
// he origin of the view, not the viewport.
bool show;
// on the last elastic band shape.
QPoint lastSelectionOrigin;
QPoint lastSelectionDestination;
-
+
// If true, compute the set of selected elements from scratch (slower)
bool ignoreOldInfo;
-
+
// Edges of the filenames that are closest to the edges of oldSelectionRect.
// Used to decide whether horizontal changes in the elastic band are likely
// to require us to re-check which items are selected.