Example #1
0
 def updateTimePositionFromTextBox(self, date):
     if not self.propagateGuiChanges:
         return
     if time_util.is_archaelogical():
         bcdate = bcdate_util.BCDate.from_str(date, strict_zeros=False)
         bcdate.setDigits(bcdate_util.getGlobalDigitSetting())
         self.getTimeLayerManager().setCurrentTimePosition(bcdate)
     else:
         self.getTimeLayerManager().setCurrentTimePosition(QDateTime_to_datetime(date))
 def updateTimePositionFromTextBox(self,date):
     if not self.propagateGuiChanges:
         return
     if time_util.is_archaelogical():
         bcdate = bcdate_util.BCDate.from_str(date, strict_zeros=False)
         bcdate.setDigits(bcdate_util.getGlobalDigitSetting())
         self.getTimeLayerManager().setCurrentTimePosition(bcdate)
     else:
         self.getTimeLayerManager().setCurrentTimePosition(QDateTime_to_datetime(date))
Example #3
0
def getArchDigits():
    return bcdate_util.getGlobalDigitSetting()
Example #4
0
def getArchDigits():
    return bcdate_util.getGlobalDigitSetting()