CCIMXDesktop
 
Loading...
Searching...
No Matches
CCNoterWindow Class Reference

CCNoterWindow provides a simple notepad window with basic text formatting. More...

#include <CCNoterWindow.h>

Inheritance diagram for CCNoterWindow:

Public Member Functions

 CCNoterWindow (QWidget *parent=nullptr)
 Constructor for CCNoterWindow.
 
void load_file ()
 Load a text file into the editor.
 
void chooseFont ()
 Open a font selection dialog.
 
void save_file ()
 Save the current text to a file.
 
void set_font_size (int size)
 Set the font size of the current text.
 
 ~CCNoterWindow ()
 Destructor for CCNoterWindow.
 

Detailed Description

CCNoterWindow provides a simple notepad window with basic text formatting.

This class represents the main window of the CCNoter application, offering functionality for editing rich text, adjusting font size, and toggling bold/italic styles.

Constructor & Destructor Documentation

◆ CCNoterWindow()

CCNoterWindow::CCNoterWindow ( QWidget *  parent = nullptr)

Constructor for CCNoterWindow.

Parameters
parentThe parent widget.

Member Function Documentation

◆ set_font_size()

void CCNoterWindow::set_font_size ( int  size)

Set the font size of the current text.

Parameters
sizeThe desired font size.

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