28 #ifndef GPGFRONTEND_GENERALDIALOG_H
29 #define GPGFRONTEND_GENERALDIALOG_H
31 #include "ui/GpgFrontendUI.h"
41 explicit GeneralDialog(std::string name, QWidget* parent =
nullptr);
52 void setPosCenterOfScreen();
58 void movePosition2CenterOfParent();
64 [[nodiscard]]
bool isRectRestored();
70 void showEvent(QShowEvent* event)
override;
76 void slot_restore_settings() noexcept;
81 void slot_save_settings() noexcept;
87 void update_rect_cache();
92 bool rect_restored_ =
false;
Definition: GeneralDialog.h:35
GeneralDialog(std::string name, QWidget *parent=nullptr)
Definition: GeneralDialog.cpp:32
Definition: FileReadTask.cpp:29