コード例 #1
0
 def sendAnimationOptions(self):
     path = self.animationDialog.lineEdit.text()
     if path == "":
         self.showAnimationOptions()
     TimeManagerProjectHandler.set_plugin_setting(conf.LAST_ANIMATION_PATH_TAG, path)
     delay_millis = self.animationDialog.spinBoxDelay.value()
     export_gif = self.animationDialog.radioAnimatedGif.isChecked()
     export_video = False  # self.animationDialog.radioVideo.isChecked()
     do_clear = self.animationDialog.clearCheckBox.isChecked()
     self.signalExportVideo.emit(path, delay_millis, export_gif, export_video, do_clear)
コード例 #2
0
 def sendAnimationOptions(self):
     path = self.animationDialog.lineEdit.text()
     if path == "":
         self.showAnimationOptions()
     TimeManagerProjectHandler.set_plugin_setting(conf.LAST_ANIMATION_PATH_TAG, path)
     delay_millis = self.animationDialog.spinBoxDelay.value()
     export_gif = self.animationDialog.radioAnimatedGif.isChecked()
     export_video = self.animationDialog.radioVideo.isChecked()
     do_clear = self.animationDialog.clearCheckBox.isChecked()
     self.signalExportVideo.emit(path, delay_millis, export_gif, export_video, do_clear)
コード例 #3
0
def setArchDigits(digits):
    TimeManagerProjectHandler.set_plugin_setting('arch_digits', digits)
コード例 #4
0
def setCurrentMode(new_mode):
    TimeManagerProjectHandler.set_plugin_setting('mode', new_mode)
コード例 #5
0
ファイル: time_util.py プロジェクト: anitagraser/TimeManager
def setArchDigits(digits):
    TimeManagerProjectHandler.set_plugin_setting('arch_digits', digits)
コード例 #6
0
ファイル: time_util.py プロジェクト: anitagraser/TimeManager
def setCurrentMode(new_mode):
    TimeManagerProjectHandler.set_plugin_setting('mode', new_mode)