AinuX / pymmcore-widgets

A set of Qt-based widgets onto the pymmcore-plus model

Home Page:https://pymmcore-plus.github.io/pymmcore-widgets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pymmcore-widgets

License PyPI Python Version CI codecov

A set of widgets for the pymmcore-plus package. This package can be used to build custom user interfaces for micromanager in a python/Qt environment.

Documentation

Usage

from pymmcore_plus import CMMCorePlus
from pymmcore_widgets import StageWidget  # as an example... see below
from qtpy.QtWidgets import QApplication

mmcore = CMMCorePlus.instance()
mmcore.loadSystemConfiguration()

if __name__ == '__main__':
    app = QApplication([])
    stage = StageWidget('XY')
    stage.show()
    app.exec_()

Screen Shot 2022-08-01 at 2 18 12 PM

See complete list of available widgets in the documentation

Installation

pip install pymmcore-widgets

# note that this package does NOT include a Qt backend
# you must install one yourself, for example:
pip install PyQt5

# package is tested against PyQt5, PyQt6, PySide2, and PySide6

About

A set of Qt-based widgets onto the pymmcore-plus model

https://pymmcore-plus.github.io/pymmcore-widgets

License:Other


Languages

Language:Python 100.0%