Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
anonymous_namespace{main.cpp}::MainWindow Class Reference

The notebook's window. More...

Inheritance diagram for anonymous_namespace{main.cpp}::MainWindow:

Public Member Functions

 MainWindow (NotesStore *store, Automation *automation)
 The window over store and automation.

Private Member Functions

void setAutomation (bool on)
 Turns the interface on or off, and remembers the choice.
void showStatus ()
 Says in the status bar whether it is on, and who is connected.
void refresh ()
 Lists the notes again.
void showNote (int row)
 Shows note row.

Private Attributes

NotesStore * m_store
 The notes.
Automation * m_automation
 The automation interface.
QListWidget * m_titles = new QListWidget(this)
 The notes' titles.
QPlainTextEdit * m_text = new QPlainTextEdit(this)
 The current note.
QLineEdit * m_newTitle = new QLineEdit(this)
 A new note's title.
QLabel * m_status = new QLabel(this)
 Whether automation is on.
QAction * m_enable = nullptr
 The setting.

Detailed Description

The notebook's window.


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