def _createWidgets(self): r = 0 c = 0 self._nameLabel = Label(self, text=World.L("NAME")); self._nameLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._nameEntry = Entry(self, width=World.defaultEntryWidth()) self._nameEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._groupNrLabel = Label(self, text=World.L("ADDRESS")) self._groupNrLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._groupNrEntry = Entry(self, width=World.defaultEntryWidth()) self._groupNrEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._remarkLabel = Label(self, text=World.L("REMARK")) self._remarkLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._remarkEntry = Text(self, width=World.textEntryWidth(), height=10) self._remarkEntry.grid(row=r, column=c, sticky="WE", padx=World.smallPadSize(), pady=World.smallPadSize()) # Append operation buttons c = 0 r += 1 AbstractFrame._createWidgets(self, r , c, 2)
def _createWidgets(self): r = 0 c = 0 self._nameLabel = Label(self, text=World.L("NAME")) self._nameLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._nameEntry = Entry(self, width=World.defaultEntryWidth()) self._nameEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._groupNrLabel = Label(self, text=World.L("ADDRESS")) self._groupNrLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._groupNrEntry = Entry(self, width=World.defaultEntryWidth()) self._groupNrEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._remarkLabel = Label(self, text=World.L("REMARK")) self._remarkLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._remarkEntry = Text(self, width=World.textEntryWidth(), height=10) self._remarkEntry.grid(row=r, column=c, sticky="WE", padx=World.smallPadSize(), pady=World.smallPadSize()) # Append operation buttons c = 0 r += 1 AbstractFrame._createWidgets(self, r, c, 2)
def _createWidgets(self): r = 0 c = 0 self._nameLabel = Label(self, text=World.L("NAME")); self._nameLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._nameEntry = Entry(self, width=World.defaultEntryWidth()) self._nameEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) r += 1 c = 0 self._barcodeLabel = Label(self, text=World.L("BARCODE")); self._barcodeLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._barcodeEntry = Entry(self, width=World.defaultEntryWidth()) self._barcodeEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._isEndProductLabel = Label(self, text=World.L("IS_END/IS_SEMI")) self._isEndProductLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._isEndProductEntry = Entry(self, width=World.defaultEntryWidth()) self._isEndProductEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._contentLabel = Label(self, text=World.L("CONTENTS")) self._contentLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 hd = (World.L('ID'), World.L('NAME'), World.L('%'), World.L('REMARK')) self._contentTable = MinuxTable(self, columns=4, header=hd, type=self._rawMaterialContentType) # self._contentTable.setInvisibleColumns((1,3, 7)) self._contentTable.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._remarkLabel = Label(self, text=World.L("REMARK")) self._remarkLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._remarkEntry = Text(self, width=World.textEntryWidth(), height=10) self._remarkEntry.grid(row=r, column=c, sticky="WE", padx=World.smallPadSize(), pady=World.smallPadSize()) # Append operation buttons c = 0 r += 1 AbstractFrame._createWidgets(self, r , c, 2)
def _createWidgets(self): r = 0 c = 0 self._nameLabel = Label(self, text=World.L("NAME")); self._nameLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._nameEntry = Entry(self, width=World.defaultEntryWidth()) self._nameEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._additiveGroupLabel = Label(self, text=World.L("ADDITIVE_GROUP")) self._additiveGroupLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 hd = (World.L('ID'), World.L('NAME')) self._additiveGroupTable = ChooserTable(self, columns=3, header=hd, type=self._additiveGroupType) self._additiveGroupTable.setInvisibleColumns((1,3,4)) self._additiveGroupTable.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._eNumberLabel = Label(self, text=World.L("E_NUMBER")) self._eNumberLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._eNumberEntry = Entry(self, width=World.defaultEntryWidth()) self._eNumberEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._remarkLabel = Label(self, text=World.L("REMARK")) self._remarkLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._remarkEntry = Text(self, width=World.textEntryWidth(), height=10) self._remarkEntry.grid(row=r, column=c, sticky="WE", padx=World.smallPadSize(), pady=World.smallPadSize()) # Append operation buttons c = 0 r += 1 AbstractFrame._createWidgets(self, r , c, 2)
def _createWidgets(self): r = 0 c = 0 self._nameLabel = Label(self, text=World.L("NAME")) self._nameLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._nameEntry = Entry(self, width=World.defaultEntryWidth()) self._nameEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._isCompositeLabel = Label(self, text=World.L("IS_COMPOSITE")) self._isCompositeLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._isCompositeEntry = Entry(self, width=World.defaultEntryWidth()) self._isCompositeEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._contentLabel = Label(self, text=World.L("CONTENTS")) self._contentLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 hd = (World.L('ID'), World.L('NAME'), World.L('%'), World.L('REMARK')) self._contentTable = MinuxTable(self, columns=4, header=hd, type=self._rawMaterialContentType) # self._contentTable.setInvisibleColumns((1,3, 7)) self._contentTable.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._remarkLabel = Label(self, text=World.L("REMARK")) self._remarkLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._remarkEntry = Text(self, width=World.textEntryWidth(), height=10) self._remarkEntry.grid(row=r, column=c, sticky="WE", padx=World.smallPadSize(), pady=World.smallPadSize()) # Append operation buttons c = 0 r += 1 AbstractFrame._createWidgets(self, r, c, 2)
def _createWidgets(self): r = 0 c = 0 self._nameLabel = Label(self, text=World.L("NAME")) self._nameLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._nameEntry = Entry(self, width=World.defaultEntryWidth()) self._nameEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._regNumberLabel = Label(self, text=World.L("REG_NUMBER")) self._regNumberLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._regNumberEntry = Entry(self, width=World.defaultEntryWidth()) self._regNumberEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._bankAccountLabel = Label(self, text=World.L("BANK_ACCOUNT_NUMBER")) self._bankAccountLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._bankAccountEntry = Entry(self, width=World.defaultEntryWidth()) self._bankAccountEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._headCityLabel = Label(self, text=World.L("LOCATION")) self._headCityLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._headCityEntry = Entry(self, width=World.defaultEntryWidth()) self._headCityEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._headZipLabel = Label(self, text=World.L("ZIP")) self._headZipLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._headZipEntry = Entry(self, width=8) self._headZipEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._headAddressLabel = Label(self, text=World.L("ADDRESS")) self._headAddressLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._headAddressEntry = Entry(self, width=World.defaultEntryWidth()) self._headAddressEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._contactLabel = Label(self, text=World.L("CONTACTS")) self._contactLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 hd = (World.L('ID'), World.L('NAME'), World.L('ADDRESS'), World.L('PHONE'), World.L('EMAIL')) self._contactTable = MinuxTable(self, columns=6, header=hd, type=self._personType) self._contactTable.setInvisibleColumns((1, 3, 7)) self._contactTable.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._remarkLabel = Label(self, text=World.L("REMARK")) self._remarkLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._remarkEntry = Text(self, width=World.textEntryWidth(), height=10) self._remarkEntry.grid(row=r, column=c, sticky="WE", padx=World.smallPadSize(), pady=World.smallPadSize()) # Append operation buttons c = 0 r += 1 AbstractFrame._createWidgets(self, r, c, 2)
def _createWidgets(self): r = 0 c = 0 self._nameLabel = Label(self, text=World.L("NAME")); self._nameLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._nameEntry = Entry(self, width=World.defaultEntryWidth()) self._nameEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._regNumberLabel = Label(self, text=World.L("REG_NUMBER")) self._regNumberLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._regNumberEntry = Entry(self, width=World.defaultEntryWidth()) self._regNumberEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._bankAccountLabel = Label(self, text=World.L("BANK_ACCOUNT_NUMBER")) self._bankAccountLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._bankAccountEntry = Entry(self, width=World.defaultEntryWidth()) self._bankAccountEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._headCityLabel = Label(self, text=World.L("LOCATION")) self._headCityLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._headCityEntry = Entry(self, width=World.defaultEntryWidth()) self._headCityEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._headZipLabel = Label(self, text=World.L("ZIP")) self._headZipLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._headZipEntry = Entry(self, width=8) self._headZipEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._headAddressLabel = Label(self, text=World.L("ADDRESS")) self._headAddressLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._headAddressEntry = Entry(self, width=World.defaultEntryWidth()) self._headAddressEntry.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._contactLabel = Label(self, text=World.L("CONTACTS")) self._contactLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 hd = (World.L('ID'), World.L('NAME'), World.L('ADDRESS'), World.L('PHONE'), World.L('EMAIL')) self._contactTable = MinuxTable(self, columns=6, header=hd, type=self._personType) self._contactTable.setInvisibleColumns((1,3, 7)) self._contactTable.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c = 0 r += 1 self._remarkLabel = Label(self, text=World.L("REMARK")) self._remarkLabel.grid(row=r, column=c, sticky=W, padx=World.smallPadSize(), pady=World.smallPadSize()) c += 1 self._remarkEntry = Text(self, width=World.textEntryWidth(), height=10) self._remarkEntry.grid(row=r, column=c, sticky="WE", padx=World.smallPadSize(), pady=World.smallPadSize()) # Append operation buttons c = 0 r += 1 AbstractFrame._createWidgets(self, r , c, 2)