blob: 2c8dc56019a0008af5b41092161798cf94f507a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "tab_welcome.h"
TabWelcome::TabWelcome(QWidget* parent)
: QWidget(parent), ui(new Ui::TabWelcome)
{
ui->setupUi(this);
ui->horizontalLayout->setContentsMargins(0, 0, 0, 0);
ui->welcomeLabel->setText(ui->welcomeLabel->text()
.arg(tr("Welcome to ActorViewer!"))
.arg(tr("Start by opening a Fediverse data export, using a button below.")));
}
TabWelcome::~TabWelcome() {
delete ui;
}
void TabWelcome::on_openFileButton_clicked(bool checked) {
emit show_file_open_dialog();
}
void TabWelcome::on_openRecentButton_clicked(bool checked) {
emit show_recent_files();
}
|