<commit_before>import QtQuick 2.3
import QtQuick.Controls 1.2
import QtQuick.Window 2.1
import QtGraphicalEffects 1.0
import QtQuick.Particles 2.0
//import Qt3D 2.0
//import Qt3D.Shapes 2.0

ApplicationWindow {
	id: app;
	visible: true;
	color: '#dd000000';
	width: 1024;
	height: 768;
//	visibility: Window.FullScreen;
	title: 'Hankathon';

	Item {
		focus: true;
		Keys.onPressed: {
			switch(event.key) {
			case Qt.Key_Left:
				timerPanel.setFocus();
				break;

			case Qt.Key_Right:
				timerPanel.anchors.centerIn = undefined;
				timerPanel.minimize();
				break;

			case Qt.Key_F:
				if (app.visibility != Window.FullScreen)
					app.visibility = Window.FullScreen;
				else
					app.visibility = Window.Windowed;
				break;

			case Qt.Key_G:
				logo.visible = true;
				break;
			}
		}
	}

	FontLoader {
		id: numberFont;
		source: 'fonts/aldrich.regular.ttf';
	}

	Rectangle {
		id: messageBox;
		width: parent.width * 0.7;
		height: parent.height * 0.7;
		anchors.centerIn: parent;
		color: '#1111ffff';
		radius: parent.width * 0.01;

		layer.enabled: true;
		layer.smooth: true;
		layer.effect: FastBlur {
			cached: true;
			source: messageBox;
			transparentBorder: true;
			radius: 64
		}<commit_msg>Add key 'Q' to exit the Application<commit_after>import QtQuick 2.3
import QtQuick.Controls 1.2
import QtQuick.Window 2.1
import QtGraphicalEffects 1.0
import QtQuick.Particles 2.0
//import Qt3D 2.0
//import Qt3D.Shapes 2.0

ApplicationWindow {
	id: app;
	visible: true;
	color: '#dd000000';
	width: 1024;
	height: 768;
//	visibility: Window.FullScreen;
	title: 'Hankathon';

	Item {
		focus: true;
		Keys.onPressed: {
			switch(event.key) {
			case Qt.Key_Left:
				timerPanel.setFocus();
				break;

			case Qt.Key_Right:
				timerPanel.anchors.centerIn = undefined;
				timerPanel.minimize();
				break;

			case Qt.Key_F:
				if (app.visibility != Window.FullScreen)
					app.visibility = Window.FullScreen;
				else
					app.visibility = Window.Windowed;
				break;

			case Qt.Key_G:
				logo.visible = true;
				break;

			case Qt.Key_Q:
				Qt.quit()
				break;
			}
		}
	}

	FontLoader {
		id: numberFont;
		source: 'fonts/aldrich.regular.ttf';
	}

	Rectangle {
		id: messageBox;
		width: parent.width * 0.7;
		height: parent.height * 0.7;
		anchors.centerIn: parent;
		color: '#1111ffff';
		radius: parent.width * 0.01;

		layer.enabled: true;
		layer.smooth: true;
		layer.effect: FastBlur {
			cached: true;
			source: messageBox;
			transparentBorder: true;
			radius: 64
		}
{'fraction_non_alphanumeric': 0.12191235059760956, 'fraction_numerical': 0.03346613545816733, 'mean_word_length': 3.030497592295345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4270760', 'n_tokens_mistral': 1156, 'n_tokens_neox': 914, 'n_words': 214}