(self)
Copy current table selection to the clipboard.
Copy current table selection to the clipboard.
Copy current table selection to the clipboard .
def copy(self):
        """
        Copy current table selection to the clipboard.
        """
        view = self.tabs.currentWidget()
        if view is not None:
            mime = table_selection_to_mime_data(view)
            QApplication.clipboard().setMimeData(
                mime, QClipboard.Clipboard
            )
def copy ( self ) : view = self . tabs . currentWidget ( ) if view is not None : mime = table_selection_to_mime_data ( view ) QApplication . clipboard ( ) . setMimeData ( mime , QClipboard . Clipboard )