retype.ui.modeline

Classes

Modeline([parent])

Separator(colour[, padding, facing_right])

Spacer([width, parent])

Either a fixed-width spacer with width `width', or a spacer that will fill the width of the parent minus `width'. For the latter pass parent with a repainted signal for when it should be updated (for example, emit it on paintEvent).

WidgetsGroup(*widgets[, css_, tooltip, ...])

class retype.ui.modeline.Modeline(parent=None)[source]

Bases: QWidget

paintEvent(self, a0: QPaintEvent)[source]
repainted
update_(title=None, cursor_pos=None, line_pos=None, chap_pos=None, viewed_chap_pos=None, chap_total=None, path=None, progress=None)[source]
class retype.ui.modeline.Separator(colour, padding=0, facing_right=True)[source]

Bases: QWidget

paintEvent(self, a0: QPaintEvent)[source]
pixmap()[source]
class retype.ui.modeline.Spacer(width=30, parent=None)[source]

Bases: QWidget

Either a fixed-width spacer with width `width’, or a spacer that will fill the width of the parent minus `width’. For the latter pass parent with a repainted signal for when it should be updated (for example, emit it on paintEvent).

update_()[source]
class retype.ui.modeline.WidgetsGroup(*widgets, css_=None, tooltip=None, cursor=None, height=16)[source]

Bases: QFrame

addWidget(widget)[source]
enterEvent(self, a0: QEvent)[source]
leaveEvent(self, a0: QEvent)[source]
setHoverStyle(css)[source]