-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaboutdialog.cpp
More file actions
49 lines (46 loc) · 1.56 KB
/
aboutdialog.cpp
File metadata and controls
49 lines (46 loc) · 1.56 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
46
47
48
49
/*
MIT License
Copyright (c) 2021 Ramesh Choudhary
*/
#include "aboutdialog.h"
#include "ui_aboutdialog.h"
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
setFixedSize(520,280);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
ui->iconLabel->setPixmap(QPixmap(":/Icon/AppIcon.png").scaled(140,140));
setWindowTitle("About FDG Layout");
ui->textLabel->setText("<!DOCTYPE html>\
<style>\
.styles {color: white;}</style>\
<h2 class=\"styles\">\
Force Directed Graph Layout ( Open-Source)\
</h2>\
</p>\
<p class=\"styles\">\
Developed By : Ramesh Choudhary\
</p>\
<p class=\"styles\">\
Developer contact :qbytecore@gmail.com\
<p class=\"styles\">\
SourceCode : <a href=\"https://github.com/ChoudharyRamesh/Force-Directed-Graph-Layout\">Github</a>\
</p>\
</p>\
<p class=\"styles\">\
Version : 1.0\
</p>\
<p class=\"styles\">\
<a href=\"https://choudharyramesh.github.io/PrivacyPolicy/FDG-Layout-Privacy-Policy.html\">Privacy-Policy</a>\
</p>\
<p class=\"styles\">\
This software use Qt under GNU LGPLV3. For more information about Qt see <a href=\"https://www.qt.io/\">here</a>.\
</p>\
</html>");
}
AboutDialog::~AboutDialog()
{
delete ui;
}