31 #include "ui/dialog/QuitDialog.h"
32 #include "ui/widgets/FilePage.h"
33 #include "ui/widgets/HelpPage.h"
34 #include "ui/widgets/PlainTextEditorPage.h"
54 void LoadFile(
const QString& fileName);
92 QTabWidget* tab_widget_;
156 void SlotNewTabWithContent(QString title,
const QString& content);
169 void slotNewHelpTab(
const QString& title,
const QString& path)
const;
201 uint text_page_data_modified_count_ = 0;
222 void slot_file_page_path_changed(
const QString& path)
const;
271 void SlotZoomIn()
const;
277 void SlotZoomOut()
const;
Definition: FilePage.h:43
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:39
TextEdit class.
Definition: TextEdit.h:40
int TabCount() const
Definition: TextEdit.cpp:375
void slot_remove_tab(int index)
Definition: TextEdit.cpp:231
void SlotOpen()
Definition: TextEdit.cpp:150
void SlotNewFileTab()
Definition: TextEdit.cpp:106
void slot_save_status_to_cache_for_revovery()
Definition: TextEdit.cpp:608
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:306
bool SlotSaveAs()
Definition: TextEdit.cpp:208
void SlotCopy() const
Definition: TextEdit.cpp:531
void slotNewHelpTab(const QString &title, const QString &path) const
Definition: TextEdit.cpp:100
bool maybe_save_current_tab(bool askToSave)
Definition: TextEdit.cpp:264
PlainTextEditorPage * SlotCurPageTextEdit() const
Definition: TextEdit.cpp:377
void SlotUndo() const
Definition: TextEdit.cpp:549
void SlotSwitchTabDown() const
Definition: TextEdit.cpp:493
void SlotNewTab()
Definition: TextEdit.cpp:61
void SlotOpenFile(const QString &path)
Definition: TextEdit.cpp:121
bool save_file(const QString &fileName)
Saves the content of currentTab to the file filename.
Definition: TextEdit.cpp:176
void SlotQuote() const
Definition: TextEdit.cpp:388
void SlotSelectAll() const
select all in current text page
Definition: TextEdit.cpp:585
FilePage * SlotCurPageFileTreeView() const
Definition: TextEdit.cpp:383
void LoadFile(const QString &fileName)
Definition: TextEdit.cpp:418
int count_page_
int containing the number of added tabs
Definition: TextEdit.h:218
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:358
QHash< int, QString > UnsavedDocuments() const
Definition: TextEdit.cpp:504
void SlotCloseTab()
Definition: TextEdit.cpp:224
void SlotPaste() const
Definition: TextEdit.cpp:541
FilePage * CurFilePage() const
Definition: TextEdit.cpp:367
void SlotShowModified(bool) const
Definition: TextEdit.cpp:466
void SlotSave()
Definition: TextEdit.cpp:160
void SlotPrint()
Definition: TextEdit.cpp:440
void SlotCut() const
Definition: TextEdit.cpp:523
void SlotRedo() const
redo last change in current text page
Definition: TextEdit.cpp:557
void SlotAppendText2CurTextPage(const QString &text)
Definition: TextEdit.cpp:362
void SlotSwitchTabUp() const
Definition: TextEdit.cpp:486
void SlotFillTextEditWithText(const QString &text) const
Definition: TextEdit.cpp:410
static QString stripped_name(const QString &full_file_name)
Definition: TextEdit.cpp:436
Definition: FileReadTask.cpp:31