forked from bablosoft/BAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaboutbrowserstudio.cpp
More file actions
34 lines (28 loc) · 1.08 KB
/
aboutbrowserstudio.cpp
File metadata and controls
34 lines (28 loc) · 1.08 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
#include "aboutbrowserstudio.h"
#include "ui_aboutbrowserstudio.h"
#include "every_cpp.h"
AboutBrowserStudio::AboutBrowserStudio(const QString& Version,const QString& ServerName,QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutBrowserStudio)
{
ui->setupUi(this);
ui->LabelWebkit->setText(QString("<b>") + "49.0.2623.54" + QString("</b>"));
ui->LabelVersion->setText(QString("<b>") + Version + QString("</b>"));
ui->LabelDescription->setText(QString(tr("<html><head/><body><p><span style=\" font-size:10pt;\">Browser Automation Studio - a comprehensive solution for creating complex network software. </span>Visit <a href=\"%1\"><span style=\" text-decoration: underline; color:#0000ff;\">%1</span></a> to see more details</p></body></html>")).arg(ServerName));
this->setFixedSize(327,270);
}
void AboutBrowserStudio::changeEvent(QEvent *e)
{
QDialog::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
ui->retranslateUi(this);
break;
default:
break;
}
}
AboutBrowserStudio::~AboutBrowserStudio()
{
delete ui;
}