Exemplo n.º 1
0
 def __init__(self, parent):
     VboxDialog.__init__(self, parent, 'NewMTScriptDialog')
     self.scriptnameBox = MTScriptCombo(self.page)
     self.scriptdataBox = KTextEdit(self.page)
     self.vbox.addWidget(self.scriptnameBox)
     self.vbox.addWidget(self.scriptdataBox)
     self.show()
Exemplo n.º 2
0
 def __init__(self, parent, name='NewAptKeyDialog'):
     VBoxDialog.__init__(self, parent, name=name)
     self.name_label = QLabel('name', self.vbox)
     self.name_entry = KLineEdit(self.vbox)
     self.data_lable = QLabel('data', self.vbox)
     self.data_entry = KTextEdit(self.vbox)
     self.resize(300, 500)
     self.setCaption('Enter new key')
Exemplo n.º 3
0
 def __init__(self, parent, handler):
     VboxDialog.__init__(self, parent)
     self.diskconfig = handler
     self.diskconfigLbl = QLabel(self.frame)
     self.diskconfigLbl.setText('DiskConfig Name')
     self.diskconfigEntry = KLineEdit(self.frame)
     self.contentLbl = QLabel(self.frame)
     self.contentLbl.setText('DiskConfig Content')
     self.contentEntry = KTextEdit(self.frame)
     self.vbox.addWidget(self.diskconfigLbl)
     self.vbox.addWidget(self.diskconfigEntry)
     self.vbox.addWidget(self.contentLbl)
     self.vbox.addWidget(self.contentEntry)
     self.connect(self, SIGNAL('okClicked()'), self.slotOkClicked)
Exemplo n.º 4
0
 def __init__(self, parent):
     VboxDialog.__init__(self, parent, 'NewMachineScriptDialog')
     self.scriptnameBox = MachineScriptComboBox(self.frame)
     self.scriptdataBox = KTextEdit(self.frame)
     self.vbox.addWidget(self.scriptnameBox)
     self.vbox.addWidget(self.scriptdataBox)