Ejemplo n.º 1
0
 def accept(self):
     """Reimplement Qt method"""
     for index in range(self.pages_widget.count()):
         configpage = self.get_page(index)
         if not configpage.is_valid():
             return
         configpage.apply_changes()
     QDialog.accept(self)
Ejemplo n.º 2
0
 def accept(self):
     """Reimplement Qt method"""
     if not self.runconfigoptions.is_valid():
         return
     configurations = _get_run_configurations()
     configurations.insert(0, (self.filename, self.runconfigoptions.get()))
     _set_run_configurations(configurations)
     QDialog.accept(self)
Ejemplo n.º 3
0
 def accept(self):
     """Reimplement Qt method"""
     for index in range(self.pages_widget.count()):
         configpage = self.get_page(index)
         if not configpage.is_valid():
             return
         configpage.apply_changes()
     QDialog.accept(self)
Ejemplo n.º 4
0
 def accept(self):
     """Reimplement Qt method"""
     if not self.runconfigoptions.is_valid():
         return
     configurations = _get_run_configurations()
     configurations.insert(0, (self.filename, self.runconfigoptions.get()))
     _set_run_configurations(configurations)
     QDialog.accept(self)
Ejemplo n.º 5
0
 def accept(self):
     """Reimplement Qt method"""
     configurations = []
     for index in range(self.stack.count()):
         filename = unicode(self.combo.itemText(index))
         runconfigoptions = self.stack.widget(index)
         if not runconfigoptions.is_valid():
             return
         options = runconfigoptions.get()
         configurations.append((filename, options))
     _set_run_configurations(configurations)
     QDialog.accept(self)
Ejemplo n.º 6
0
 def accept(self):
     """Reimplement Qt method"""
     configurations = []
     for index in range(self.stack.count()):
         filename = to_text_string(self.combo.itemText(index))
         runconfigoptions = self.stack.widget(index)
         if index == self.stack.currentIndex() and\
            not runconfigoptions.is_valid():
             return
         options = runconfigoptions.get()
         configurations.append( (filename, options) )
     _set_run_configurations(configurations)
     QDialog.accept(self)
Ejemplo n.º 7
0
 def accept(self):
     """Reimplement Qt method"""
     for index in range(self.stack.count()):
         self.stack.widget(index).accept_changes()
     QDialog.accept(self)
Ejemplo n.º 8
0
 def accept(self):
     """Reimplement Qt method"""
     self.set_environ(listdict2envdict(self.get_value()))
     QDialog.accept(self)
Ejemplo n.º 9
0
 def accept(self):
     """Reimplement Qt method"""
     set_user_env( listdict2envdict(self.get_value()), parent=self )
     QDialog.accept(self)
Ejemplo n.º 10
0
 def accept(self):
     QDialog.accept(self)
     self.list.clear()
Ejemplo n.º 11
0
 def accept(self):
     """Reimplement Qt method"""
     self.set_environ(listdict2envdict(self.get_value()))
     QDialog.accept(self)
Ejemplo n.º 12
0
 def accept(self):
     """Reimplement Qt method"""
     set_user_env(listdict2envdict(self.get_value()), parent=self)
     QDialog.accept(self)
Ejemplo n.º 13
0
 def accept(self):
     self.data = self.formwidget.get()
     QDialog.accept(self)
Ejemplo n.º 14
0
 def accept(self):
     """Reimplement Qt method"""
     for index in range(self.stack.count()):
         self.stack.widget(index).accept_changes()
     QDialog.accept(self)
Ejemplo n.º 15
0
 def accept(self):
     QDialog.accept(self)
     self.list.clear()