NNFS
Neural network library from scratch
Loading...
Searching...
No Matches
Paint Class Reference

The Paint class represents a painting application. More...

#include <paint.h>

Inheritance diagram for Paint:
[legend]

Public Member Functions

 Paint (QWidget *parent=nullptr)
 Constructs a new Paint object.
 
 ~Paint ()
 Destroys the Paint object.
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event) override
 Filters events for the Paint object.
 

Detailed Description

The Paint class represents a painting application.

The Paint class is a QMainWindow that provides a user interface for a painting application. It allows the user to draw on a canvas and provides functionality to restart the canvas and predict using a neural network model.

Constructor & Destructor Documentation

◆ Paint()

Paint::Paint ( QWidget *  parent = nullptr)
explicit

Constructs a new Paint object.

Parameters
parentThe parent QWidget.

◆ ~Paint()

Paint::~Paint ( )

Destroys the Paint object.

Member Function Documentation

◆ eventFilter()

bool Paint::eventFilter ( QObject *  obj,
QEvent *  event 
)
overrideprotected

Filters events for the Paint object.

Parameters
objThe object that sent the event.
eventThe event that occurred.
Returns
true if the event was handled, false otherwise.

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