finish of close fiche button and add of start menu

This commit is contained in:
2025-07-14 23:31:12 +02:00
parent 24c4685cb2
commit 22e56df104
38 changed files with 421 additions and 138 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef TEXTFORMATUTILS_H
#define TEXTFORMATUTILS_H
#include <QWidget>
#include <QPlainTextEdit>
#include <QFontDialog>
#include <QColorDialog>
#include <QInputDialog>
class TextFormatUtils
{
public:
static void changeFontSize(QWidget* parent);
static void changeFontColor(QWidget* parent);
static void changeFont(QWidget* parent);
static void toggleBold();
static void toggleItalic();
static void toggleUnderline();
static void toggleOverline();
private:
static QPlainTextEdit* getFocusedPlainTextEdit();
};
#endif // TEXTFORMATUTILS_H