#include "aboutpage.h" #include #include AboutPage::AboutPage(QWidget *parent) : QWidget(parent) { initUI(); } AboutPage::~AboutPage() { } void AboutPage::initUI() { QVBoxLayout *layout = new QVBoxLayout(this); layout->setContentsMargins(30, 30, 30, 30); layout->setAlignment(Qt::AlignCenter); QLabel *logoLabel = new QLabel; logoLabel->setStyleSheet("font-size: 48px; text-align: center;"); logoLabel->setText("UFT30"); layout->addWidget(logoLabel, 0, Qt::AlignCenter); QLabel *title = new QLabel("

UFT30 Change Code

"); title->setAlignment(Qt::AlignCenter); layout->addWidget(title); QLabel *version = new QLabel("

版本: 1.0.0

"); version->setAlignment(Qt::AlignCenter); layout->addWidget(version); QLabel *description = new QLabel("

一款强大的编码转换工具,支持批量转码和非LS格式转换。

"); description->setAlignment(Qt::AlignCenter); layout->addWidget(description); QLabel *copyright = new QLabel("

Copyright © 2024 UFT30 Team. All rights reserved.

"); copyright->setAlignment(Qt::AlignCenter); layout->addWidget(copyright); }