GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Public Member Functions | |
QuitDialog (QWidget *parent, const QHash< int, QString > &unsavedDocs) | |
Construct a new Quit Dialog object. More... | |
auto | IsDiscarded () const -> bool |
auto | GetTabIdsToSave () -> QList< int > |
Get the Tab Ids To Save object. More... | |
Public Member Functions inherited from GpgFrontend::UI::GeneralDialog | |
GeneralDialog (QString name, QWidget *parent=nullptr) | |
Private Slots | |
void | slot_my_discard () |
Private Attributes | |
bool | discarded_ |
QTableWidget * | m_fileList_ |
Additional Inherited Members | |
Protected Member Functions inherited from GpgFrontend::UI::GeneralDialog | |
void | setPosCenterOfScreen () |
void | movePosition2CenterOfParent () |
bool | isRectRestored () |
void | showEvent (QShowEvent *event) override |
GpgFrontend::UI::QuitDialog::QuitDialog | ( | QWidget * | parent, |
const QHash< int, QString > & | unsavedDocs | ||
) |
Construct a new Quit Dialog object.
parent | |
unsavedDocs |
auto GpgFrontend::UI::QuitDialog::GetTabIdsToSave | ( | ) | -> QList<int> |
Get the Tab Ids To Save object.
Referenced by GpgFrontend::UI::TextEdit::MaybeSaveAnyTab().
auto GpgFrontend::UI::QuitDialog::IsDiscarded | ( | ) | const -> bool |
Referenced by GpgFrontend::UI::TextEdit::MaybeSaveAnyTab().