32 QWidget *parent= Q_NULLPTR ,
const bool &format=
false);
55 void loadFile(
const QString &fileName);
56 bool saveFile(
const QString &fileName);
Definition texteditor.h:27
QAction * exitAct
Definition texteditor.h:72
bool save()
Definition texteditor.cpp:76
bool saveAs()
Definition texteditor.cpp:85
bool maybeSave()
Definition texteditor.cpp:217
QAction * openAct
Definition texteditor.h:69
void open()
Definition texteditor.cpp:67
QAction * copyAct
Definition texteditor.h:74
QMenu * editMenu
Definition texteditor.h:64
void closeEvent(QCloseEvent *event)
Definition texteditor.cpp:49
void createToolBars()
Definition texteditor.cpp:183
void createActions()
Definition texteditor.cpp:101
void about()
Definition texteditor.cpp:323
void createStatusBar()
Definition texteditor.cpp:196
QAction * saveAct
Definition texteditor.h:70
QAction * cutAct
Definition texteditor.h:73
void readSettings()
Definition texteditor.cpp:201
QAction * newAct
Definition texteditor.h:68
QAction * aboutQtAct
Definition texteditor.h:77
QAction * pasteAct
Definition texteditor.h:75
void setCurrentFile(const QString &fileName)
Definition texteditor.cpp:284
QToolBar * editToolBar
Definition texteditor.h:67
QToolBar * fileToolBar
Definition texteditor.h:66
void newFile()
Definition texteditor.cpp:59
QMenu * helpMenu
Definition texteditor.h:65
bool formatHTML
Definition texteditor.h:62
void writeSettings()
Definition texteditor.cpp:210
QString curFile
Definition texteditor.h:61
QMenu * fileMenu
Definition texteditor.h:63
QAction * aboutAct
Definition texteditor.h:76
bool saveFile(const QString &fileName)
Definition texteditor.cpp:257
QAction * saveAsAct
Definition texteditor.h:71
QTextEdit * textEdit
Definition texteditor.h:60
QString strippedName(const QString &fullFileName)
Definition texteditor.cpp:299
void createMenus()
Definition texteditor.cpp:161
void loadFile(const QString &fileName)
Definition texteditor.cpp:233
void documentWasModified()
Definition texteditor.cpp:96