Module pandas_profiling.report.presentation.flavours.qt.toggle_button

Expand source code
from PyQt5.QtWidgets import QPushButton

from pandas_profiling.report.presentation.core import ToggleButton


class QtToggleButton(ToggleButton):
    def render(self):
        return QPushButton("PyQt5 button")

Classes

class QtToggleButton (text, **kwargs)

Helper class that provides a standard way to create an ABC using inheritance.

Expand source code
class QtToggleButton(ToggleButton):
    def render(self):
        return QPushButton("PyQt5 button")

Ancestors

Methods

def render(self)
Expand source code
def render(self):
    return QPushButton("PyQt5 button")