Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
BinWindow Class Reference

The main window: the filterable table, buttons for the selected part, a form for a new one, and the totals. More...

Inheritance diagram for BinWindow:

Public Member Functions

 BinWindow (Inventory *inventory, QSortFilterProxyModel *filter)
 Shows inventory through filter.

Private Member Functions

template<typename Act>
QPushButton * button (const QString &name, const QString &text, Act act)
 A button that calls act with the selected part's SKU, enabled while a part is selected.
QGroupBox * addForm ()
 The "New part" form.
void updateSummary ()
 Shows the totals, and which parts are low on stock in the status bar.

Private Attributes

Inventory * m_inventory
 The data.
QTableView * m_table
 The parts.
QLabel * m_totals
 Count, pieces and value.

Detailed Description

The main window: the filterable table, buttons for the selected part, a form for a new one, and the totals.


The documentation for this class was generated from the following file: