Skip to content

Commit

Permalink
move prop widget
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jul 12, 2024
1 parent 426baf2 commit 4106ea0
Show file tree
Hide file tree
Showing 12 changed files with 207 additions and 200 deletions.
2 changes: 1 addition & 1 deletion src/pymmcore_widgets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
from ._presets_widget import PresetsWidget
from ._properties_widget import PropertiesWidget
from ._property_browser import PropertyBrowser
from ._property_widget import PropertyWidget
from ._shutter_widget import ShuttersWidget
from ._snap_button_widget import SnapButton
from ._stage_widget import StageWidget
from .device_properties._property_widget import PropertyWidget
from .hcwizard import ConfigWizard
from .mda import MDAWidget
from .useq_widgets import (
Expand Down
2 changes: 1 addition & 1 deletion src/pymmcore_widgets/_device_property_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from qtpy.QtWidgets import QAbstractScrollArea, QTableWidget, QTableWidgetItem, QWidget
from superqt.fonticon import icon

from pymmcore_widgets._property_widget import PropertyWidget
from pymmcore_widgets.device_properties._property_widget import PropertyWidget

ICONS: dict[DeviceType, str] = {
DeviceType.Any: MDI6.devices,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
QWidget,
)

from pymmcore_widgets._property_widget import PropertyWidget
from pymmcore_widgets._util import block_core
from pymmcore_widgets.device_properties._property_widget import PropertyWidget


class AddFirstPresetWidget(QDialog):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
QWidget,
)

from pymmcore_widgets._property_widget import PropertyWidget
from pymmcore_widgets._util import block_core
from pymmcore_widgets.device_properties._property_widget import PropertyWidget


class AddPresetWidget(QDialog):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
)
from superqt.utils import signals_blocked

from pymmcore_widgets._property_widget import PropertyWidget
from pymmcore_widgets._util import block_core
from pymmcore_widgets.device_properties._property_widget import PropertyWidget


class EditPresetWidget(QDialog):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

from pymmcore_widgets._core import load_system_config
from pymmcore_widgets._presets_widget import PresetsWidget
from pymmcore_widgets._property_widget import PropertyWidget
from pymmcore_widgets._util import block_core
from pymmcore_widgets.device_properties._property_widget import PropertyWidget

from ._add_group_widget import AddGroupWidget
from ._add_preset_widget import AddPresetWidget
Expand Down
2 changes: 1 addition & 1 deletion src/pymmcore_widgets/_pixel_configuration_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

from pymmcore_widgets._device_property_table import DevicePropertyTable
from pymmcore_widgets._device_type_filter import DeviceTypeFilters
from pymmcore_widgets._property_widget import PropertyWidget
from pymmcore_widgets.device_properties._property_widget import PropertyWidget
from pymmcore_widgets.useq_widgets import DataTable, DataTableWidget
from pymmcore_widgets.useq_widgets._column_info import FloatColumn, TextColumn

Expand Down
2 changes: 1 addition & 1 deletion src/pymmcore_widgets/_properties_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pymmcore_plus import CMMCorePlus
from qtpy.QtWidgets import QGridLayout, QLabel, QWidget

from ._property_widget import PropertyWidget
from .device_properties._property_widget import PropertyWidget

if TYPE_CHECKING:
import re
Expand Down
1 change: 1 addition & 0 deletions src/pymmcore_widgets/config_presets/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Widgets related to configuration groups and presets."""
1 change: 1 addition & 0 deletions src/pymmcore_widgets/device_properties/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Widgets related to device properties."""
Loading

0 comments on commit 4106ea0

Please sign in to comment.