Image Bar
image_bar
The image bar on the bottom of the application.
Classes:
-
ImageBar–A vertical scrollable image selector bar.
-
RoundedLabel–A label with rounded corners.
-
Thumbnail–A thumbnail frame for the image bar.
ImageBar
ImageBar()
Bases: QScrollArea
A vertical scrollable image selector bar.
Methods:
-
ensure_visible–Scrolls the view to make sure the selected image is visible
Attributes:
-
copy_settings–Settings are to be copied between images.
-
image_changed–The selected image has changed.
copy_settings
class-attribute
instance-attribute
copy_settings = pyqtSignal(str)
Settings are to be copied between images.
image_changed
class-attribute
instance-attribute
image_changed = pyqtSignal(str)
The selected image has changed.
ensure_visible
ensure_visible(label)
Scrolls the view to make sure the selected image is visible
RoundedLabel
RoundedLabel(radius=12, *args, **kwargs)
Bases: QLabel
A label with rounded corners.
Thumbnail
Thumbnail(image_path, parent=None)
Bases: QFrame
A thumbnail frame for the image bar.
Methods:
-
resizeEvent–Ensure the label is always a square and the image scales.
resizeEvent
resizeEvent(event)
Ensure the label is always a square and the image scales.