meshroom.ui.components.filepath.FilepathHelper

Inheritance diagram of meshroom.ui.components.filepath.FilepathHelper
class meshroom.ui.components.filepath.FilepathHelper

FilepathHelper gives access to file path methods not available from JS.

It should be non-instantiable and expose only static methods, but this is not yet possible in PySide.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

asStr(path)

Accepts strings and QUrls and always returns 'path' as a string.

basename(path)

Returns the final component of a pathname

blockSignals(self, b)

childEvent(self, event)

children(self)

connect(...)

connectNotify(self, signal)

customEvent(self, event)

deleteLater(self)

dirname(path)

Returns the directory component of a pathname

disconnect(...)

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

emit(self, arg__1, *args)

event(self, event)

eventFilter(self, watched, event)

exists(path)

Test whether a path exists

extension(path)

Returns the extension (.ext) of a pathname

fileSizeMB(path)

Returns the file size in MB.

findChild(self, arg__1[, arg__2])

findChildren(...)

globFirst(path)

Returns the first from a list of paths matching a pathname pattern.

inherits(self, classname)

installEventFilter(self, filterObj)

isFile(path)

Test whether a path is a regular file

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

normpath(path)

Returns native normalized path

objectName(self)

parent(self)

property(self, name)

receivers(self, signal)

registerUserData()

removeEventFilter(self, obj)

removeExtension(path)

Returns the pathname without its extension (.ext)

sender(self)

senderSignalIndex(self)

setObjectName(self, name)

setParent(self, parent)

setProperty(self, name, value)

signalsBlocked(self)

startTimer(self, interval[, timerType])

stringToUrl(path)

Convert a path (string) to a QUrl using 'QUrl.fromLocalFile' method

thread(self)

timerEvent(self, event)

tr(self, arg__1[, arg__2, arg__3])

urlToString(url)

Convert QUrl to a string using 'QUrl.toLocalFile' method

Attributes

destroyed

objectNameChanged

staticMetaObject