PyQtUtils#

Module providing helper functions to design your own task widget. It uses the PyQt5 framework.

Import

from ikomia.utils import pyqtutils

Functions

add_edit(grid_layout, row, label[, value])

Add an edit box and its label in the layout at the given row.

append_edit(grid_layout, label[, value])

Append an edit box and its label in the layout.

add_browse_file(grid_layout[, row, label, ...])

Add a composite widget (label + edit box + browse button) in the layout at the given row - file or folder.

append_browse_file(grid_layout[, label, ...])

Append a composite widget (label + edit box + browse button) in the layout - file or folder.

add_check(grid_layout, row, label, checked)

Add a check box and its label in the layout at the given row.

append_check(grid_layout, label, checked)

Append a check box and its label in the layout.

add_combo(grid_layout, row, label)

Add a combo box and its label in the layout at the given row.

append_combo(grid_layout, label)

Append a combo box and its label in the layout.

add_spin(grid_layout, row, label, value[, ...])

Add a composite widget (label + edit box + spin box) in the layout at the given row - integer values.

append_spin(grid_layout, label, value[, ...])

Append a composite widget (label + edit box + spin box) in the layout - integer values.

add_double_spin(grid_layout, row, label, value)

Add a composite widget (label + edit box + spin box) in the layout at the given row - float values.

append_double_spin(grid_layout, label, value)

Append a composite widget (label + edit box + spin box) in the layout - float values.

add_radio(grid_layout, row, label, checked)

Add a radio button and its label in the layout at the given row.

append_radio(grid_layout, label, checked)

Append a radio button and its label in the layout.

add_slider(grid_layout, row, label, value[, ...])

Add a slider and its label in the layout at the given row.

append_slider(grid_layout, label, value[, ...])

Append a slider and its label in the layout.

add_browse_file(grid_layout[, row, label, ...])

Add a composite widget (label + edit box + browse button) in the layout at the given row - file or folder.

append_browse_file(grid_layout[, label, ...])

Append a composite widget (label + edit box + browse button) in the layout - file or folder.

Classes

BrowseFileWidget(path[, filter, tooltip, ...])

Composite widget to handle file or folder selection.