Improve the custom widget docstring
This commit is contained in:
@@ -275,9 +275,9 @@ class NColourLabel(QLabel):
|
|||||||
class NWrappedWidgetBox(QHBoxLayout):
|
class NWrappedWidgetBox(QHBoxLayout):
|
||||||
"""Extension: A Text-Wrapped Widget Box
|
"""Extension: A Text-Wrapped Widget Box
|
||||||
|
|
||||||
A custom layout box where a widget is wrapped within the box. The
|
A custom layout box where a widget is wrapped in text labels on
|
||||||
widget is inserted at the {0} position so that it can be used for
|
either side within a layout box. The widget is inserted at the {0}
|
||||||
translation strings.
|
position so that it can be used for translation strings.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, text: str, widget: QWidget) -> None:
|
def __init__(self, text: str, widget: QWidget) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user