コード例 #1
0
def writeArrbez(self, openetran):
    grid = self.Arrbez.layout()
    status = 0

    # Status = 1 when no widgets are left to delete
    while status == 0:
        status = Add_Delete_Widgets.deleteArrbez(self, grid)

    # Number of arrbez in the system
    num = len(openetran['arrbez'])

    if num > 1:
        for k in range(num - 1):
            Add_Delete_Widgets.addArrbez(self, grid)

    writeWidgets(openetran, grid, 'arrbez', 4, 4, 0)
コード例 #2
0
ファイル: GUI.py プロジェクト: lemauffcam/OpenETran
 def deleteArrbez():
     Add_Delete_Widgets.deleteArrbez(self, self.Arrbez.layout())