GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
g
i
k
l
p
r
s
t
u
w
Functions
a
b
c
d
g
i
l
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Files
File List
▼
GpgFrontend Project
GpgFrontend Develop Document Main Page
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
►
core
►
module
►
pinentry
►
test
▼
ui
►
dialog
►
function
▼
main_window
GeneralMainWindow.h
KeyMgmt.h
MainWindow.h
►
struct
►
thread
►
widgets
GpgFrontendApplication.h
GpgFrontendUI.h
GpgFrontendUIInit.h
UISignalStation.h
UserInterfaceUtils.h
app.h
cmd.h
GpgFrontendContext.h
init.h
main.h
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Pages
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
61
void
setPosCenterOfScreen();
62
67
void
movePosition2CenterOfParent();
68
69
QSize icon_size_{};
70
int
font_size_{};
71
Qt::ToolButtonStyle icon_style_;
72
73
private
slots:
77
void
slot_restore_settings() noexcept;
78
82
void
slot_save_settings() noexcept;
83
88
void
update_rect_cache();
89
90
private
:
91
QString name_;
92
QPoint pos_;
93
QSize size_;
94
QRect rect_;
95
QRect screen_rect_;
96
QRect parent_rect_;
97
};
98
}
// 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