Skip to main content

Shared UI components for copick visualization plugins

Project description

copick-shared-ui

Shared UI components for copick visualization plugins.

This package provides reusable Qt-based UI components that can be used across different copick visualization plugins (napari-copick, chimerax-copick, etc.).

Installation

uv pip install copick-shared-ui

Usage

from copick_shared_ui import EditObjectTypesDialog, validate_copick_name

# Use the object types editor
dialog = EditObjectTypesDialog(parent=None, existing_objects=my_objects)
if dialog.exec_() == QDialog.Accepted:
    updated_objects = dialog.get_objects()

# Validate copick names
is_valid, sanitized, error_msg = validate_copick_name("my-object-name")

Components

EditObjectTypesDialog

A dialog for managing copick PickableObject types with features:

  • Add, edit, and delete object types
  • Real-time validation with visual feedback
  • Color selection and management
  • Support for all copick.PickableObject properties (EMDB/PDB IDs, thresholds, etc.)

Validation

Utilities for validating copick entity names according to copick naming conventions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

copick_shared_ui-0.0.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

copick_shared_ui-0.0.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file copick_shared_ui-0.0.1.tar.gz.

File metadata

  • Download URL: copick_shared_ui-0.0.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for copick_shared_ui-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2bad387f17db5dcbdf5ad9cf454ea2b9254ff66426ab22af1ea6ad0174cee5bf
MD5 074a0f92c507663c75b307c95e179e69
BLAKE2b-256 5e2214af65e800e38ce4876f24f433e1a3e07599f67861c6c7102cba5a472da7

See more details on using hashes here.

File details

Details for the file copick_shared_ui-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for copick_shared_ui-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef3601d802daca150c63a7c13f6fa869e2d5b8b405bb1cfb3c8a2a12f2667e5c
MD5 83483d1042b6f129ece330a8171b3baf
BLAKE2b-256 482a92e5742a9b983eeabf509c33c4940b8cf5f6d9c748f02d8277660676708e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page