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
| Component | Description |
|---|---|
BWidget | Base QWidget (properties + geometry persistence) |
BFrame | Base QFrame |
BMainWindow | Base main window (QMainWindow + title/geometry persistence) |
CustomCompleter | Completer supporting contains / begins matching |
SearchComboBox | Searchable combo box (with a built-in SearchLineEdit) |
SearchLineEdit | Custom 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.