Added support for QFileInfo in tweak widget