Exemple #1
0
 def __init__(self):
     super(afTestcaseFilter, self).__init__()
     self.version = []
     self.changedfrom = wx.DateTimeFromDMY(1, 1, 2000)
     self.changedto = wx.Now()
     self.changedby = None
     self.changedbylist = []
Exemple #2
0
 def __init__(self):
     super(afUsecaseFilter, self).__init__()
     self.priority = []
     self.usefrequency = []
     self.stakeholders = []
     self.actors = []
     self.changedfrom = wx.DateTimeFromDMY(1, 1, 2000)
     self.changedto = wx.Now()
     self.changedby = None
     self.changedbylist = []
Exemple #3
0
    def __init__(self):
        super(afFeatureFilter, self).__init__()

        self.priority = []
        self.status = []
        self.risk = []
        self.version = []
        self.tags = []
        self.changedfrom = wx.DateTimeFromDMY(1, 1, 2000)
        self.changedto = wx.Now()
        self.changedby = None
        self.changedbylist = []
Exemple #4
0
    def OnSerialSave( self, event ):
        portconf= self.comPortConf.GetSelection() 
        baudconf = self.baudRateConf.GetSelection()
        databitsconf = self.dataBitsConf.GetSelection()    
        parityconf= self.parityConf.GetSelection()     
        stopbitsconf= self.stopBitsConf.GetSelection()

        self.cfg.WriteInt("port", portconf)
        self.cfg.WriteInt("baudrate", baudconf)
        self.cfg.WriteInt("databits", databitsconf)
        self.cfg.WriteInt("parity", parityconf)
        self.cfg.WriteInt("stopbits", stopbitsconf)
        self.statusBar.SetStatusText('Configuration saved, %s ' % wx.Now())
Exemple #5
0
 def __init__(self):
     super(afRequirementFilter, self).__init__()
     self.priority = []
     self.status = []
     self.complexity = []
     self.effort = []
     self.category = []
     self.version = []
     self.assigned = []
     self.tags = []
     self.changedfrom = wx.DateTimeFromDMY(1, 1, 2000)
     self.changedto = wx.Now()
     self.changedby = None
     self.changedbylist = []
Exemple #6
0
    def OnSave(self, event):
        self.cfg.WriteInt("width", self.sc1.GetValue())
        self.cfg.WriteInt("height", self.sc2.GetValue())
        self.statusbar.SetStatusText('Configuration saved, %s ' % wx.Now())


# class MyApp(wx.App):
#     def OnInit(self):
#         frame = MyFrame(None, -1, 'myconfig.py')
#         frame.Show(True)
#         self.SetTopWindow(frame)
#         return True

# app = MyApp(0)
# app.MainLoop()
Exemple #7
0
def 程序_取本地英文时间():
    "返回时间示例:Sun Aug 16 15:57:41 2020"
    return wx.Now()
Exemple #8
0
 def OnSave(self, event):
     self.cfg.WriteInt("width", self.sc1.GetValue())
     self.cfg.WriteInt("height", self.sc2.GetValue())
     self.statusbar.SetStatusText('Configuration saved, %s ' % wx.Now())
Exemple #9
0
 def __init__(self):
     super(afSimpleSectionFilter, self).__init__()
     self.changedfrom = wx.DateTimeFromDMY(1, 1, 2000)
     self.changedto = wx.Now()
     self.changedby = None
     self.changedbylist = []