GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
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;
282 #endif // __TEXTEDIT_H__
void SetFilePath(const QString &filePath)
Definition: PlainTextEditorPage.cpp:101
Definition: VerifyDetailsDialog.cpp:33
void SlotCopy() const
Definition: TextEdit.cpp:539
const QString & GetFilePath() const
Definition: PlainTextEditorPage.cpp:75
FilePage * CurFilePage() const
Definition: TextEdit.cpp:383
void slotNewHelpTab(const QString &title, const QString &path) const
Definition: TextEdit.cpp:66
void SignalPathChanged(const QString &path)
void LoadFile(const QString &fileName)
Definition: TextEdit.cpp:435
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:324
void SlotOpenFile(QString &path)
Definition: TextEdit.cpp:82
void SlotOpen()
Definition: TextEdit.cpp:110
int count_page_
int containing the number of added tabs
Definition: TextEdit.h:211
void SlotCut() const
Definition: TextEdit.cpp:531
PlainTextEditorPage * SlotCurPageTextEdit() const
Definition: TextEdit.cpp:394
void SlotRedo() const
redo last change in current text page
Definition: TextEdit.cpp:565
FilePage * SlotCurPageFileTreeView() const
Definition: TextEdit.cpp:400
TextEdit class.
Definition: TextEdit.h:41
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:45
void SlotNewFileTab() const
Definition: TextEdit.cpp:72
void SlotSelectAll() const
select all in current text page
Definition: TextEdit.cpp:593
bool IsDiscarded() const
Definition: QuitDialog.cpp:133
void SlotFillTextEditWithText(const QString &text) const
Definition: TextEdit.cpp:427
void SlotQuote() const
Definition: TextEdit.cpp:405
void SlotPaste() const
Definition: TextEdit.cpp:549
Definition: HelpPage.h:40
QHash< int, QString > UnsavedDocuments() const
Definition: TextEdit.cpp:512
bool SlotSaveAs()
Definition: TextEdit.cpp:219
void SlotShowModified() const
Definition: TextEdit.cpp:482
void SlotSwitchTabUp() const
Definition: TextEdit.cpp:494
void SlotPrint()
Definition: TextEdit.cpp:460
void slot_remove_tab(int index)
Definition: TextEdit.cpp:243
void SlotUndo() const
Definition: TextEdit.cpp:557
Definition: FilePage.h:45
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:79
void SlotSave()
Definition: TextEdit.cpp:148
bool WillCharsetChange() const
detect if the charset of the file will change
Definition: PlainTextEditorPage.cpp:81
static QString stripped_name(const QString &full_file_name)
Definition: TextEdit.cpp:456
bool save_file(const QString &fileName)
Saves the content of currentTab to the file filename.
Definition: TextEdit.cpp:164
int TabCount() const
Definition: TextEdit.cpp:392
void SlotCloseTab()
Definition: TextEdit.cpp:236
bool ReadDone() const
Definition: PlainTextEditorPage.h:101
void SlotNewTab()
Definition: TextEdit.cpp:54
bool maybe_save_current_tab(bool askToSave)
Definition: TextEdit.cpp:276
Definition: QuitDialog.h:40
QList< int > GetTabIdsToSave()
Get the Tab Ids To Save object.
Definition: QuitDialog.cpp:135
void SlotSwitchTabDown() const
Definition: TextEdit.cpp:501
void NotifyFileSaved()
notify the user that the file has been saved.
Definition: PlainTextEditorPage.cpp:92
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:379