<commit_before>#include <QApplication>
#include <QLabel>
#include <QLayout>
#include <QWidget>
#include <QTextBrowser>
#include <QLineEdit>
#include <QComboBox>
#include <QPushButton>
#include <QMainWindow>
#include <string>

#include "include/display.h"
#include "include/monitorbox.h"
#include "include/windowcontrol.h"


int main(int argc, char *argv[ ])
{
    QApplication app(argc, argv);
    QMainWindow win(nullptr);
    Display* displayWidget = new Display();
    win.setCentralWidget(displayWidget);
    win.setWindowTitle("Test Qt14");
    win.show();
    app.exec();

    delete displayWidget;
}<commit_msg>Temporary code for detecting monitor resolution(s)<commit_after>#include <QApplication>
#include <QLabel>
#include <QLayout>
#include <QLineEdit>
#include <QMainWindow>
#include <QComboBox>
#include <QPushButton>
#include <QScreen>
#include <QTextBrowser>
#include <QWidget>
#include <string>

#include "include/display.h"
#include "include/monitorbox.h"
#include "include/windowcontrol.h"


int main(int argc, char *argv[ ])
{
    QApplication app(argc, argv);

    //Temporary code for monitor detection
    QList<QScreen*> screenList = app.screens();
    for (QScreen* s : screenList) {
        std::cout << "Monitor ";
        std::cout << s->size().width() << "x" << s->size().height();
        std::cout << std::endl;
    }
    QScreen* screen = app.primaryScreen();
    QRect screenGeometry = screen->geometry();
    //End code for monitor detection

    QMainWindow win(nullptr);
    Display* displayWidget = new Display();
    win.setCentralWidget(displayWidget);
    win.setWindowTitle("Test Qt14");
    win.show();
    app.exec();

    delete displayWidget;
}
{'fraction_non_alphanumeric': 0.14691943127962084, 'fraction_numerical': 0.002369668246445498, 'mean_word_length': 4.483766233766234, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 28, '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': '3514452', 'n_tokens_mistral': 546, 'n_tokens_neox': 536, 'n_words': 132}