29 #ifndef __TEXTEDIT_H__
30 #define __TEXTEDIT_H__
32 #include "ui/dialog/QuitDialog.h"
33 #include "ui/widgets/FilePage.h"
34 #include "ui/widgets/HelpPage.h"
35 #include "ui/widgets/PlainTextEditorPage.h"
55 void LoadFile(
const QString& fileName);
93 QTabWidget* tab_widget_;
164 void slotNewHelpTab(
const QString& title,
const QString& path)
const;
215 void slot_file_page_path_changed(
const QString& path)
const;
257 void SlotZoomIn()
const;
263 void SlotZoomOut()
const;
Definition: FilePage.h:43
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:45
TextEdit class.
Definition: TextEdit.h:41
bool SlotSaveAs()
Definition: TextEdit.cpp:219
int TabCount() const
Definition: TextEdit.cpp:390
void slot_remove_tab(int index)
Definition: TextEdit.cpp:243
void SlotOpen()
Definition: TextEdit.cpp:110
void SlotCopy() const
Definition: TextEdit.cpp:537
void slotNewHelpTab(const QString &title, const QString &path) const
Definition: TextEdit.cpp:66
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:322
PlainTextEditorPage * SlotCurPageTextEdit() const
Definition: TextEdit.cpp:392
void SlotUndo() const
Definition: TextEdit.cpp:555
void SlotSwitchTabDown() const
Definition: TextEdit.cpp:499
void SlotNewTab()
Definition: TextEdit.cpp:54
bool save_file(const QString &fileName)
Saves the content of currentTab to the file filename.
Definition: TextEdit.cpp:164
void SlotQuote() const
Definition: TextEdit.cpp:403
void SlotSelectAll() const
select all in current text page
Definition: TextEdit.cpp:591
void SlotOpenFile(QString &path)
Definition: TextEdit.cpp:82
FilePage * SlotCurPageFileTreeView() const
Definition: TextEdit.cpp:398
void LoadFile(const QString &fileName)
Definition: TextEdit.cpp:433
int count_page_
int containing the number of added tabs
Definition: TextEdit.h:211
void SlotShowModified() const
Definition: TextEdit.cpp:480
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:377
QHash< int, QString > UnsavedDocuments() const
Definition: TextEdit.cpp:510
bool maybe_save_current_tab(bool askToSave)
Definition: TextEdit.cpp:276
void SlotCloseTab()
Definition: TextEdit.cpp:236
void SlotPaste() const
Definition: TextEdit.cpp:547
FilePage * CurFilePage() const
Definition: TextEdit.cpp:381
void SlotSave()
Definition: TextEdit.cpp:148
void SlotPrint()
Definition: TextEdit.cpp:458
void SlotCut() const
Definition: TextEdit.cpp:529
void SlotNewFileTab() const
Definition: TextEdit.cpp:72
void SlotRedo() const
redo last change in current text page
Definition: TextEdit.cpp:563
void SlotSwitchTabUp() const
Definition: TextEdit.cpp:492
void SlotFillTextEditWithText(const QString &text) const
Definition: TextEdit.cpp:425
static QString stripped_name(const QString &full_file_name)
Definition: TextEdit.cpp:454
Definition: FileReadTask.cpp:31