traitsui.tests.test_labels module

Test the creation and layout of labels.

class traitsui.tests.test_labels.EnableWhenDialog

Bases: traits.has_traits.HasTraits

Test labels for enable when.

class traitsui.tests.test_labels.HResizeTestDialog

Bases: traits.has_traits.HasTraits

Dialog with checkbox and text elements and labels on the right. We test the separation between element and label in HGroups.

class traitsui.tests.test_labels.NoLabelResizeTestDialog

Bases: traits.has_traits.HasTraits

Test the combination show_label=False, show_left=False.

class traitsui.tests.test_labels.ShowRightLabelsDialog

Bases: traits.has_traits.HasTraits

Dialog with labels on the left/right to test the label text.

class traitsui.tests.test_labels.VResizeTestDialog

Bases: traits.has_traits.HasTraits

Dialog with checkbox and text elements and labels on the right. We test the separation between element and label in VGroups.

traitsui.tests.test_labels.is_current_backend_null(*, backend_name='null')
traitsui.tests.test_labels.is_current_backend_qt4(*, backend_name='qt4')
traitsui.tests.test_labels.is_current_backend_wx(*, backend_name='wx')
traitsui.tests.test_labels.is_enabled(control)
traitsui.tests.test_labels.skip_if_not_null(item, *, backend_name='null')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_labels.skip_if_not_qt4(item, *, backend_name='qt4')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_labels.skip_if_not_wx(item, *, backend_name='wx')

Decorator that skip tests if the backend is not the desired one.

traitsui.tests.test_labels.test_labels_enabled_when()
traitsui.tests.test_labels.test_qt_labels_right_resizing_horizontal()
traitsui.tests.test_labels.test_qt_labels_right_resizing_vertical()
traitsui.tests.test_labels.test_qt_no_labels_on_the_right_bug()
traitsui.tests.test_labels.test_qt_show_labels_right_without_colon()

Previous topic

traitsui.tests.test_handler module

Next topic

traitsui.tests.test_layout module

This Page