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

The window: a field to add chores, the list, and what acts on it. More...

Inheritance diagram for ChoresWindow:

Public Member Functions

 ChoresWindow (ChoreStore *store)
 Builds the window around store.

Private Member Functions

void addChore ()
 Adds the chore typed in the field.
void removeSelected ()
 Removes the chore selected in the list.
void changed ()
 Rows were added or removed: count and save.
void save ()
 Saves the store.
void updateCount ()
 Shows how many chores are still open.

Private Attributes

ChoreStore * m_store = nullptr
 The chores.
OpenChoresFilter * m_filter = nullptr
 What the list shows of them.
QLineEdit * m_newChore = nullptr
 Where a new chore is typed.
QListView * m_list = nullptr
 The list of chores.
QLabel * m_openCount = nullptr
 "N open".

Detailed Description

The window: a field to add chores, the list, and what acts on it.


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