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.1.0.tar.gz (44.3 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.1.0-py3-none-any.whl (57.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: copick_shared_ui-0.1.0.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for copick_shared_ui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 38ce5113061f3cfd5f12d310b7bfb0eaa0d4cd03222ed0861721991796a4b71d
MD5 81fb66e7c73d48253ba86ba27bb9e900
BLAKE2b-256 c5f8a32ba5f9d88203622425f14a55d7361a15aef3613f2d896cf789c4496ae2

See more details on using hashes here.

Provenance

The following attestation bundles were made for copick_shared_ui-0.1.0.tar.gz:

Publisher: release-please.yml on copick/copick-shared-ui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for copick_shared_ui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e712556c803893650c6693cbabc9d2e930d433ba9e0ed38e93840f90b7aca635
MD5 486c6c498c4e0b986cb8adf0c0cd897c
BLAKE2b-256 e0e6fd781a7a46fa43f803a001dc871008f6d463430085f91db54ed6a2104a05

See more details on using hashes here.

Provenance

The following attestation bundles were made for copick_shared_ui-0.1.0-py3-none-any.whl:

Publisher: release-please.yml on copick/copick-shared-ui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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