Ejemplo n.º 1
0
 def slotBrowseConflict(self):
     lvi = self.lvConflicts.selectedItem()
     if not lvi:
         return
     dia = DependencyDialog(
         (str(lvi.text(0)), str(lvi.text(1))), parent=self, title="Conflicts", secondLabel="Package:"
     )
     if dia.exec_loop() == QDialog.Accepted:
         cond, dep = dia.getResult()
         lvi.setText(0, cond)
         lvi.setText(1, dep)
Ejemplo n.º 2
0
        def slotBrowseRuntimeDep(self):
            lvi = self.lvRuntimeDep.selectedItem()
            if not lvi:
                return
            dia = DependencyDialog((str(lvi.text(0)), str(lvi.text(1))), parent=self, title="Runtime Dependencies")
            if dia.exec_loop() == QDialog.Accepted:
                cond, dep = dia.getResult()
                lvi.setText(0, cond)
                lvi.setText(1, dep)

            self.syncRuntimeDep()
Ejemplo n.º 3
0
 def slotAddConflict(self):
     dia = DependencyDialog(parent=self, title="Conflicts", secondLabel="Package:")
     if dia.exec_loop() == QDialog.Accepted:
         cond, dep = dia.getResult()
         KListViewItem(self.lvConflicts, cond, dep)
Ejemplo n.º 4
0
 def slotAddRuntimeDep(self):
     dia = DependencyDialog(parent=self, title="Runtime Dependencies")
     if dia.exec_loop() == QDialog.Accepted:
         cond, dep = dia.getResult()
         KListViewItem(self.lvRuntimeDep, cond, dep)
     self.syncRuntimeDep()