Exemple #1
0
def setLastPathByEvent(_keyPath, _path):
    from Core import Settings

    sets = Settings.settingForPaths()
    sets.setValue(_keyPath, trQVariant(_path))
def setLastPathByEvent(_keyPath, _path):
    from Core import Settings

    sets = Settings.settingForPaths()
    sets.setValue(_keyPath, trQVariant(_path))
Exemple #3
0
def getLastPathByEvent(_keyPath, _defaultPath):
    from Core import Settings

    sets = Settings.settingForPaths()
    return str(trStr(sets.value(_keyPath, trQVariant(_defaultPath))))
def getLastPathByEvent(_keyPath, _defaultPath):
    from Core import Settings

    sets = Settings.settingForPaths()
    return str(trStr(sets.value(_keyPath, trQVariant(_defaultPath))))