def selectAnimationFolder(self):
     prev_directory = TimeManagerProjectHandler.plugin_setting(
         conf.LAST_ANIMATION_PATH_TAG)
     if prev_directory:
         self.animationDialog.lineEdit.setText(
             QFileDialog.getExistingDirectory(directory=prev_directory))
     else:
         self.animationDialog.lineEdit.setText(
             QFileDialog.getExistingDirectory())
 def selectAnimationFolder(self):
     prev_directory = TimeManagerProjectHandler.plugin_setting(conf.LAST_ANIMATION_PATH_TAG)
     if prev_directory:
         self.animationDialog.lineEdit.setText(QFileDialog.getExistingDirectory(directory=prev_directory))
     else:
         self.animationDialog.lineEdit.setText(QFileDialog.getExistingDirectory())
示例#3
0
def is_archaelogical():
    return TimeManagerProjectHandler.plugin_setting('mode') == ARCHAELOGY_MODE
示例#4
0
def getArchDigits():
    return int(
        TimeManagerProjectHandler.plugin_setting('arch_digits',
                                                 DEFAULT_DIGITS))
示例#5
0
def getGlobalDigitSetting():
    return TimeManagerProjectHandler.plugin_setting('arch_digits', DEFAULT_DIGITS)
示例#6
0
def is_archaelogical():
    return TimeManagerProjectHandler.plugin_setting('mode') == ARCHAELOGY_MODE
示例#7
0
def getArchDigits():
    return int(TimeManagerProjectHandler.plugin_setting('arch_digits', DEFAULT_DIGITS))