#### PyKDE - Python Bindings for KDE

# class KFileIconView

Table of contents
Modules
kfile Classes
All Classes

Module | kfile
Class | KFileIconView
Inherits | KIconView, KFileView

### methods

- KFileIconView (parent, name)

  returns a KFileIconView instance

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |
  name | char |

- acceptDrag (e)

  returns (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  e | QDropEvent |

- arrangeItemsInGrid (updated = 1)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  updated | bool | 1

- clearSelection ()

  returns nothing

- clearView ()

  returns nothing

- contentsDragEnterEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  e | QDragEnterEvent |

- contentsDragLeaveEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  e | QDragLeaveEvent |

- contentsDragMoveEvent (e)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  e | QDragMoveEvent |

- contentsDropEvent (ev)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  ev | QDropEvent |

- currentFileItem ()

  returns (KFileItem)

- determineIcon (item)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  item | KFileIconViewItem |

- dragObject ()

  returns (QDragObject)
  In versions KDE 3.2.0 and above only

- dropped (event, fileItem)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  event | QDropEvent |
  fileItem | KFileItem |

- dropped (event, urls, url)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  event | QDropEvent |
  urls | KURL.List |
  url | KURL |

- ensureItemVisible (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- eventFilter (o, e)

  returns (bool)
  In versions KDE 3.0.1 and above only

  Argument | Type | Default
  --- | --- | ---
  o | QObject |
  e | QEvent |

- firstFileItem ()

  returns (KFileItem)

- hideEvent (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QHideEvent |

- iconSize ()

  returns (int)

- insertItem (i)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  i | KFileItem |

- invertSelection ()

  returns nothing

- isSelected (i)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  i | KFileItem |

- keyPressEvent (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QKeyEvent |

- listingCompleted ()

  returns nothing

- mimeTypeDeterminationFinished ()

  returns nothing

- nextItem (a0)

  returns (KFileItem)

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- prevItem (a0)

  returns (KFileItem)

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- readConfig (a0, group = QString .null)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KConfig |
  group | QString | QString .null

- removeItem (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- scrollWidget ()

  returns (QScrollView)

- selectAll ()

  returns nothing

- setAcceptDrops (b)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  b | bool |

- setAutoUpdate (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- setCurrentItem (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- setIconSize (size)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  size | int |

- setIgnoreMaximumSize (ignoreSize = 1)

  returns nothing
  In versions KDE 3.4.0 and above only

  Argument | Type | Default
  --- | --- | ---
  ignoreSize | bool | 1

- setPreviewSize (size)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  size | int |

- setSelected (a0, a1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |
  a1 | bool |

- setSelectionMode (sm)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  sm | KFile.SelectionMode |

- setSorting (sort)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  sort | QDir.SortSpec |

- showEvent (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QShowEvent |

- showPreviews ()

  returns nothing

- updateView (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- updateView (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- widget ()

  returns (QWidget)

- writeConfig (a0, group = QString .null)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KConfig |
  group | QString | QString .null

- zoomIn ()

  returns nothing
  In versions KDE 3.2.0 and above only

- zoomOut ()

  returns nothing
  In versions KDE 3.2.0 and above only