GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GeneralMainWindow.h
1
29
#pragma once
30
31
#include "ui/GpgFrontendUI.h"
32
33
namespace
GpgFrontend::UI
{
34
38
class
GeneralMainWindow
:
public
QMainWindow {
39
public
:
44
explicit
GeneralMainWindow
(QString name, QWidget* parent =
nullptr
);
45
49
~
GeneralMainWindow
()
override
;
50
51
protected
:
56
void
closeEvent
(QCloseEvent* event)
override
;
57
58
QSize icon_size_{};
59
int
font_size_{};
60
Qt::ToolButtonStyle icon_style_;
61
62
private
slots:
66
void
slot_restore_settings() noexcept;
67
71
void
slot_save_settings() noexcept;
72
73
private
:
74
QString name_;
75
QPoint pos_;
76
QSize size_;
77
};
78
}
// namespace GpgFrontend::UI
GpgFrontend::UI::GeneralMainWindow
Definition:
GeneralMainWindow.h:38
GpgFrontend::UI::GeneralMainWindow::GeneralMainWindow
GeneralMainWindow(QString name, QWidget *parent=nullptr)
Definition:
GeneralMainWindow.cpp:39
GpgFrontend::UI::GeneralMainWindow::closeEvent
void closeEvent(QCloseEvent *event) override
Definition:
GeneralMainWindow.cpp:47
GpgFrontend::UI
Definition:
FileReadTask.cpp:31
src
ui
main_window
GeneralMainWindow.h
Generated by
1.9.1