def __init__()

in client/securedrop_client/gui/widgets.py [0:0]


    def __init__(self) -> None:
        super().__init__()
        self.setObjectName("BatchActionToolbar")
        self.setContentsMargins(0, 0, 0, 0)

        palette = QPalette()
        palette.setBrush(
            QPalette.Background, QBrush(Qt.NoBrush)
        )  # This makes the widget transparent
        self.setPalette(palette)

        # Style and attributes
        self.setMovable(False)
        self.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonTextBesideIcon)
        self.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)

        self.delete_sources_action = QAction(
            QIcon(load_image("delete_sources_toolbar_icon.svg")), _("DELETE SOURCES"), self
        )
        self.delete_sources_action.setObjectName("BatchActionButton")
        self.delete_sources_action.setToolTip(
            _(
                "Delete selected source accounts. "
                "Ctrl+click sources below to select multiple sources."
            )
        )
        self.delete_sources_action.triggered.connect(self.on_action_triggered)
        self.button = self.widgetForAction(self.delete_sources_action)

        # Add spacer. "select all" checkbox can replace the spacer in future
        spacer = QWidget()
        spacer.setFixedSize(14, 14)  # sourcewidget spacer size
        self.addWidget(spacer)
        self.addAction(self.delete_sources_action)