Beispiel #1
0
    def _on_action_triggered(self, *args):
        control = self._control[self.sender()]

        from openalea.oalab.service.qt_control import qt_dialog
        value = qt_dialog(control, autoapply=False)
        if value is not None:
            control.value = value
Beispiel #2
0
    def _on_action_triggered(self, *args):
        control = self._control[self.sender()]

        from openalea.oalab.service.qt_control import qt_dialog
        value = qt_dialog(control, autoapply=False)
        if value is not None:
            control.value = value
 def _on_set_title_triggered(self):
     from openalea.oalab.service.qt_control import qt_dialog
     value = qt_dialog(name='Title', interface='IStr', value=self._e_title.text())
     if value is not None:
         self.set_title(value)
 def _on_set_title_triggered(self):
     from openalea.oalab.service.qt_control import qt_dialog
     value = qt_dialog(name='Title', interface='IStr', value=self._e_title.text())
     if value is not None:
         self.set_title(value)