Exemplo n.º 1
0
    def traits_view(self):
        tbl_grp = VGroup(listeditor('results_tables', height=0.2),
                         scrollable=True,
                         visible_when='results_tables')

        ttest_grp = VGroup(listeditor('ttest_tables', height=0.2),
                           visible_when='ttest_tables')

        g = self.get_component_view()
        g.height = 0.8

        v = View(VSplit(
            g, HGroup(tbl_grp, ttest_grp, visible_when='additional_visible')),
                 resizable=True)
        return v
Exemplo n.º 2
0
 def traits_view(self):
     v = View(listeditor('readouts'),
              HGroup(Item('compare_to_config_enabled',label='Comp. Config',
                          tooltip='If checked, compare the current values to the values in the configuration file.'
                                  'Warn user if there is a mismatch'),
                     spring, Item('refresh', show_label=False)))
     return v
Exemplo n.º 3
0
 def traits_view(self):
     tbl_grp = VGroup(listeditor('results_tables',
                                 height=100,
                                 visible_when='plotter_options.show_results_table'),
                      scrollable=True)
     v = View(VSplit(VGroup(self.get_component_view()),
                     tbl_grp),
              resizable=True)
     return v
Exemplo n.º 4
0
 def traits_view(self):
     v = View(
         listeditor('readouts'),
         HGroup(
             Item(
                 'compare_to_config_enabled',
                 label='Comp. Config',
                 tooltip=
                 'If checked, compare the current values to the values in the configuration file.'
                 'Warn user if there is a mismatch'), spring,
             Item('refresh', show_label=False)))
     return v
Exemplo n.º 5
0
 def traits_view(self):
     v = View(
         listeditor("readouts"),
         HGroup(
             Item(
                 "compare_to_config_enabled",
                 label="Comp. Config",
                 tooltip="If checked, compare the current values to the values in the configuration file."
                 "Warn user if there is a mismatch",
             ),
             spring,
             Item("refresh", show_label=False),
         ),
     )
     return v
Exemplo n.º 6
0
 def traits_view(self):
     v = View(listeditor('readouts'),
              HGroup(spring, Item('refresh', show_label=False)))
     return v
Exemplo n.º 7
0
 def traits_view(self):
     v = View(
              listeditor('readouts'),
              HGroup(spring, Item('refresh', show_label=False))
              )
     return v