<commit_before>#include "RaceModeDashboardUI.h"
#include "ui_RaceModeDashboardUI.h"

#include <QDesktopWidget>
#include <QApplication>

RaceModeDashboardUI::RaceModeDashboardUI()
    : ui_(new Ui::RaceModeDashboardUI)
{
    ui_->setupUi(this);
    setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
    setGeometry(
        QStyle::alignedRect(
            Qt::LeftToRight,
            Qt::AlignLeft,
            size(),
            QApplication::desktop()->screenGeometry()
        )
    );
    show();
}

RaceModeDashboardUI::~RaceModeDashboardUI()
{
    delete ui_;
}

QLabel& RaceModeDashboardUI::actualSpeedLabel()
{
    return *ui_->actualSpeedLabel;
}

QLabel& RaceModeDashboardUI::auxVoltageLabel()
{
    return *ui_->auxVoltageLabel;
}<commit_msg>Made race mode open on right side of screen<commit_after>#include "RaceModeDashboardUI.h"
#include "ui_RaceModeDashboardUI.h"

#include <QDesktopWidget>
#include <QApplication>

RaceModeDashboardUI::RaceModeDashboardUI()
    : ui_(new Ui::RaceModeDashboardUI)
{
    ui_->setupUi(this);
    setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
    setGeometry(
        QStyle::alignedRect(
            Qt::LeftToRight,
            Qt::AlignRight,
            size(),
            QApplication::desktop()->screenGeometry()
        )
    );
    show();
}

RaceModeDashboardUI::~RaceModeDashboardUI()
{
    delete ui_;
}

QLabel& RaceModeDashboardUI::actualSpeedLabel()
{
    return *ui_->actualSpeedLabel;
}

QLabel& RaceModeDashboardUI::auxVoltageLabel()
{
    return *ui_->auxVoltageLabel;
}
{'fraction_non_alphanumeric': 0.1265332472562944, 'fraction_numerical': 0.0, 'mean_word_length': 3.889589905362776, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, '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': '1695690', 'n_tokens_mistral': 520, 'n_tokens_neox': 533, 'n_words': 72}