Esempio n. 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
Esempio n. 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
Esempio n. 3
0
 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)
Esempio n. 4
0
 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)