def __init__(self, parent, etype, name='NewExtraFieldDialog'):
     label = "Enter a new extra field for entity type %s" % etype
     SimpleEntryDialog.__init__(self, parent, label=label, name=name)
     self.combo = KComboBox(self.frame)
     types = ['name', 'bool', 'int', 'url', 'text']
     self.combo.insertStrList(types)
     self.etype = etype
     self.vbox.addWidget(self.combo)
 def __init__(self, parent, name='NewTagDialog'):
     label = 'Enter a new tag name'
     SimpleEntryDialog.__init__(self, parent, label=label, name=name)
 def __init__(self, parent, name='NewEntityTypeDialog'):
     label = "Enter a new entity type"
     SimpleEntryDialog.__init__(self, parent, label=label, name=name)