-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAboutWindow.cpp
More file actions
45 lines (38 loc) · 1.57 KB
/
AboutWindow.cpp
File metadata and controls
45 lines (38 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
******************************************************************************
* @file AboutWindow.cpp
* @author Junxin Zheng
* @version V1.0.0
* @date 15-January-2019
* @brief ...
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include "AboutWindow.h"
#include "ui_AboutWindow.h"
/* Variables -----------------------------------------------------------------*/
/* Function ------------------------------------------------------------------*/
/*******************************************************************************
* @brief Construct function.
* @param QDialog *parent - Pointer of parent object
* @retval None.
*****************************************************************************/
AboutWindow::AboutWindow(QWidget *parent) : QDialog(parent), ui(new Ui::AboutWindow)
{
// UI Initialization
ui->setupUi(this);
// Remove the help buttons.
this->setWindowFlag(Qt::WindowContextHelpButtonHint, false);
// Signal-Slot Connection
connect(ui->ButtonClose, &QPushButton::clicked, this, &AboutWindow::close);
}
/*******************************************************************************
* @brief Destructor function.
* @param None.
* @retval None.
*****************************************************************************/
AboutWindow::~AboutWindow()
{
delete ui;
}
/**************** (C) COPYRIGHT 2019 Junxin Zheng ******** END OF FILE ********/