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())
def is_archaelogical(): return TimeManagerProjectHandler.plugin_setting('mode') == ARCHAELOGY_MODE
def getArchDigits(): return int( TimeManagerProjectHandler.plugin_setting('arch_digits', DEFAULT_DIGITS))
def getGlobalDigitSetting(): return TimeManagerProjectHandler.plugin_setting('arch_digits', DEFAULT_DIGITS)
def is_archaelogical(): return TimeManagerProjectHandler.plugin_setting('mode') == ARCHAELOGY_MODE
def getArchDigits(): return int(TimeManagerProjectHandler.plugin_setting('arch_digits', DEFAULT_DIGITS))