'Setup view'

def setup_view(self):

    self.install_model()
    if (not is_pyqt46):
        self.fsmodel.directoryLoaded.connect((lambda : self.resizeColumnToContents(0)))
    self.setAnimated(False)
    self.setSortingEnabled(True)
    self.sortByColumn(0, Qt.AscendingOrder)
    self.fsmodel.modelReset.connect(self.reset_icon_provider)
    self.reset_icon_provider()
    self.filter_directories()
