tik_manager4.ui.widgets.settings_widgets

Convenince widgets for settings UI.

Classes

CategoryDefinitions

Widget for category definitions management.

MetadataDefinitions

Widget for metadata definitions management.

ReorderListModel

Custom QStringListModel that disables the overwrite

ReorderListView

Custom QListView that disables the overwrite

UsersDefinitions

Widget for users definitions management.

Module Contents

class CategoryDefinitions(settings_data, availability_dict, *args, title='', **kwargs)

Bases: tik_manager4.ui.Qt.QtWidgets.QWidget

Widget for category definitions management.

add_category()

Pop up a dialog to add a new category.

build_layouts()

Build the layouts.

build_static_widgets()

Build static widgets.

build_value_widgets()

Build the widgets.

delete_category()

Removes the selected category from the layout.

modified
class MetadataDefinitions(settings_data, *args, title='', **kwargs)

Bases: tik_manager4.ui.Qt.QtWidgets.QWidget

Widget for metadata definitions management.

add_metadata()

Pop up a dialog to add a new metadata.

build_layouts()

Build the layouts.

build_static_widgets()

Build static widgets.

build_value_widgets()

Build the widgets.

remove_metadata()

Removes the selected metadata from the layout.

modified
value_widgets
class ReorderListModel(strings=None, parent=None)

Bases: tik_manager4.ui.Qt.QtCore.QStringListModel

Custom QStringListModel that disables the overwrite when reordering items by drag and drop.

data(index, role)

Override the data method to show a custom hint.

flags(index)

Override the flags method to disable the overwrite.

class ReorderListView(list_data=None, dcc_availability=None, parent=None)

Bases: tik_manager4.ui.Qt.QtWidgets.QListView

Custom QListView that disables the overwrite when reordering items by drag and drop.

right_click_menu(position)
set_data(list_data)
class UsersDefinitions(user_object, *args, title='', **kwargs)

Bases: tik_manager4.ui.Qt.QtWidgets.QWidget

Widget for users definitions management.

add_user()

Launch the add user dialog.

build_layouts()

Build the layouts.

build_static_widgets()

Build static widgets.

build_value_widgets()

Build the widgets.

on_reset_password()

Reset the user’s password

reinit()

Reinitialize the widget.

remove_user()

Remove the user from the database.

modified
value_widgets