GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::UI::GeneralMainWindow Class Reference
Inheritance diagram for GpgFrontend::UI::GeneralMainWindow:
Inheritance graph
Collaboration diagram for GpgFrontend::UI::GeneralMainWindow:
Collaboration graph

Public Member Functions

 GeneralMainWindow (QString name, QWidget *parent=nullptr)
 

Protected Member Functions

void closeEvent (QCloseEvent *event) override
 
void setPosCenterOfScreen ()
 
void movePosition2CenterOfParent ()
 

Protected Attributes

QSize icon_size_ {}
 
int font_size_ {}
 
Qt::ToolButtonStyle icon_style_
 

Private Slots

void slot_restore_settings () noexcept
 
void slot_save_settings () noexcept
 
void update_rect_cache ()
 

Private Attributes

QString name_
 
QPoint pos_
 
QSize size_
 
QRect rect_
 
QRect screen_rect_
 
QRect parent_rect_
 

Constructor & Destructor Documentation

◆ GeneralMainWindow()

GpgFrontend::UI::GeneralMainWindow::GeneralMainWindow ( QString  name,
QWidget *  parent = nullptr 
)
explicit
Parameters
name

Member Function Documentation

◆ closeEvent()

void GpgFrontend::UI::GeneralMainWindow::closeEvent ( QCloseEvent *  event)
overrideprotected
Parameters
event

The documentation for this class was generated from the following files: