/
about.cpp
44 lines (35 loc) · 1.25 KB
/
about.cpp
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
#include "about.h"
#include "ui_about.h"
About::About(QWidget *parent) : QWidget(parent), ui(new Ui::About) {
ui->setupUi(this);
//img
ui->img->setBackgroundRole(QPalette::Base);
ui->img->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
ui->img->setScaledContents(true);
ui->img->setPixmap(QPixmap::fromImage(QImage(":/img/phone.png")));
//buttons
connect(ui->github, SIGNAL(clicked()), this, SLOT(github()));
connect(ui->github_orginal, SIGNAL(clicked()), this, SLOT(github_orginal()));
connect(ui->bternescom, SIGNAL(clicked()), this, SLOT(bternescom()));
connect(ui->droid_website, SIGNAL(clicked()), this, SLOT(droid_website()));
connect(ui->github_droid, SIGNAL(clicked()), this, SLOT(gitgub_droid()));
}
About::~About()
{
delete ui;
}
void About::github() {
system("firefox https://github.com/ternes3/TouchControl-for-Android");
}
void About::github_orginal() {
system("firefox https://github.com/kjanku1/WindowsApplication1");
}
void About::bternescom() {
system("firefox https://www.bternes.com");
}
void About::droid_website() {
system("firefox http://droid-at-screen.ribomation.com/");
}
void About::gitgub_droid() {
system("firefox https://github.com/ribomation/DroidAtScreen1");
}