63 void on_actionitalic_triggered(
bool checked);
69 void on_actionbold_triggered(
bool checked);
72 Ui::CCNoterWindow* ui;
73 QLabel* fontsize_label;
74 QLabel* fontstyle_label;
79 void init_connections();
84 void setup_toolbars();
90 void mergeFormatOnWordOrSelection(
const QTextCharFormat& format);
CCNoterWindow provides a simple notepad window with basic text formatting.
Definition CCNoterWindow.h:22
~CCNoterWindow()
Destructor for CCNoterWindow.
Definition CCNoterWindow.cpp:54
void save_file()
Save the current text to a file.
Definition CCNoterWindow.cpp:28
void chooseFont()
Open a font selection dialog.
Definition CCNoterWindow.cpp:46
void set_font_size(int size)
Set the font size of the current text.
Definition CCNoterWindow.cpp:40
void load_file()
Load a text file into the editor.
Definition CCNoterWindow.cpp:16