Base Window Widgets

GUI base widgets: BWidget/BFrame/BMainWindow and searchable combo boxes, etc.

Overview

quatm/GUI/widgets/quatmQt.py provides the GUI base widget classes: BWidget / BFrame / BMainWindow are the base classes of the various windows/panels/main windows (with a property namespace _props, saving the geometry to QSettings on close and restoring it on start-up); SearchComboBox and others provide searchable combo boxes with autocompletion and filtering.

Components

ComponentDescription
BWidgetBase QWidget (properties + geometry persistence)
BFrameBase QFrame
BMainWindowBase main window (QMainWindow + title/geometry persistence)
CustomCompleterCompleter supporting contains / begins matching
SearchComboBoxSearchable combo box (with a built-in SearchLineEdit)
SearchLineEditCustom line edit of SearchComboBox (select all on focus, Esc restores)

Usage

from quatm.GUI.widgets.quatmQt import BMainWindow, BWidget, BFrame

win = BMainWindow(name="My window")   # geometry persisted automatically

For a fuller description see GUI base classes.