<commit_before>#include"AboutWidget.hpp"
#include"version.hpp"

#include<QTextStream>
#include<QVBoxLayout>

AboutWidget::AboutWidget(QWidget* parent):
    QWidget(parent){
    appNameLabel = new QLabel(QString("<h1>")+app_name+QString("</h1>"));
    versionLabel = new QLabel(app_ver);
    urlLabel = new QLabel(QString("https://github.com/opamp/MCSwitch"));
    licenseViewer = new QTextEdit();
    QFile  licenseFile(":/texts/resources/text/LICENSE.txt");
    if(!licenseFile.open(QFile::Text | QFile::ReadOnly)){
        licenseViewer->setPlainText("Fail to read license text.Please see LICENSE.txt");
    }else{
        QTextStream op(&licenseFile);
        licenseViewer->setPlainText(op.readAll());
        licenseFile.close();
    }
    licenseViewer->setReadOnly(true);

    OKButton = new QPushButton("OK");
    connect(OKButton,SIGNAL(clicked()),this,SLOT(clickedOKButton()));

    QVBoxLayout *mainlayout = new QVBoxLayout();
    mainlayout->addWidget(appNameLabel);<commit_msg>AboutWidgetを少し調整<commit_after>#include"AboutWidget.hpp"
#include"version.hpp"

#include<QTextStream>
#include<QVBoxLayout>

AboutWidget::AboutWidget(QWidget* parent):
    QWidget(parent){
    appNameLabel = new QLabel(QString("<h1>")+app_name+QString(" -for Switching Minecraft version- </h1>"));
    versionLabel = new QLabel(app_ver);
    urlLabel = new QLabel(QString("https://github.com/opamp/MCSwitch"));
    licenseViewer = new QTextEdit();
    QFile  licenseFile(":/texts/resources/text/LICENSE.txt");
    if(!licenseFile.open(QFile::Text | QFile::ReadOnly)){
        licenseViewer->setPlainText("Fail to read license text.Please see LICENSE.txt");
    }else{
        QTextStream op(&licenseFile);
        licenseViewer->setPlainText(op.readAll());
        licenseFile.close();
    }
    licenseViewer->setReadOnly(true);

    OKButton = new QPushButton("OK");
    connect(OKButton,SIGNAL(clicked()),this,SLOT(clickedOKButton()));

    QVBoxLayout *mainlayout = new QVBoxLayout();
    mainlayout->addWidget(appNameLabel);
{'fraction_non_alphanumeric': 0.15262636273538158, 'fraction_numerical': 0.0019821605550049554, 'mean_word_length': 4.9035087719298245, 'pattern_counts': {'":': 2, '<': 11, '<?xml version=': 0, '>': 19, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6469213', 'n_tokens_mistral': 657, 'n_tokens_neox': 660, 'n_words': 94}