text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// Entropy encoding (Huffman) utilities.
#ifndef GUETZLI_ENTROPY_ENCODE_H_
#define GUETZLI_ENTROPY_ENCODE_H_
#include <stdde... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/entropy_encode.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 343 |
```objective-c
/*
LodePNG version 20160409
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applicat... | /content/code_sandbox/library/JQLibrary/include/JQZopfli/zopflipng/lodepng/lodepng.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 19,506 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef GUETZLI_DCT_DOUBLE_H_
#define GUETZLI_DCT_DOUBLE_H_
namespace guetzli {
// Performs in-place floating point 8x8 DCT ... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/dct_double.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 184 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef GUETZLI_FAST_LOG_H_
#define GUETZLI_FAST_LOG_H_
#include <math.h>
namespace guetzli {
inline int Log2FloorNonZero(u... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/fast_log.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 170 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// Library to decode jpeg coefficients into an RGB image.
#ifndef GUETZLI_JPEG_DATA_DECODER_H_
#define GUETZLI_JPEG_DATA_DECO... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/jpeg_data_decoder.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 239 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef GUETZLI_COLOR_TRANSFORM_H_
#define GUETZLI_COLOR_TRANSFORM_H_
namespace guetzli {
static const int kCrToRedTable[256... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/color_transform.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 8,526 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef GUETZLI_SCORE_H_
#define GUETZLI_SCORE_H_
#include <vector>
namespace guetzli {
double ScoreJPEG(double butteraugli... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/score.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 101 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// Utility function for building a Huffman lookup table for the jpeg decoder.
#ifndef GUETZLI_JPEG_HUFFMAN_DECODE_H_
#define ... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/jpeg_huffman_decode.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 374 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef GUETZLI_GAMMA_CORRECT_H_
#define GUETZLI_GAMMA_CORRECT_H_
namespace guetzli {
const double* Srgb8ToLinearTable();
}... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/gamma_correct.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 100 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// Preprocesses U and V channel for better results after downsampling.
#ifndef GUETZLI_PREPROCESS_DOWNSAMPLE_H_
#define GUETZ... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/preprocess_downsample.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 274 |
```sourcepawn
// Automatically generated by guetzli/order:update_c_code
static const float csf[192] = {
0.0,
1.71014,
0.298711,
0.233709,
0.223126,
0.207072,
0.192775,
0.161201,
2.05807,
0.222927,
0.203406,
0.188465,
0.184668,
0.169993,
0.159142,
0.130155,
0.430518,
0.204939,
0.20... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/order.inc | sourcepawn | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 2,647 |
```objective-c
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
#ifndef GUETZLI_QUANTIZE_H_
#define GUETZLI_QUANTIZE_H_
#include "guetzli/jpeg_data.h"
namespace guetzli {
inline coeff_t Q... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/guetzli/quantize.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 179 |
```objective-c
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the followin... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/gflags/gflags_completions.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,281 |
```objective-c
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the followin... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/gflags/gflags_gflags.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 860 |
```objective-c
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the followin... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/gflags/gflags_declare.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,164 |
```objective-c
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the followin... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/gflags/gflags.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 6,702 |
```objective-c
//
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// Disclaimer: This is not an official Google product.
//
// Author: Jyrki Alakuijala (jyrki.alakuijala@gmail.com)
#ifndef BUTT... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/butteraugli/butteraugli.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 5,174 |
```objective-c
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.6.29, March 16, 2017
*
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* and license in png.h
*
* Any machine specific code is near the front of this file, s... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/png/pngconf.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 5,585 |
```objective-c
/* pnglibconf.h - library build configuration */
/* libpng version 1.6.29, March 16, 2017 */
/* This code is released under the libpng license. */
/* For conditions of distribution and use, see the disclaimer */
/* and license in png.h */
/* pnglibconf.h */
/* Machine generated file: DO NOT EDIT */
/... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/png/pnglibconf.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,648 |
```unknown
<RCC>
<qresource prefix="/MaterialUI">
<file>Element/BaseListItem.qml</file>
<file>Element/BottomSheet.qml</file>
<file>Element/CircleMask.qml</file>
<file>Element/Divider.qml</file>
<file>Element/Dropdown.qml</file>
<file>Element/Ink.qml</file>
<fi... | /content/code_sandbox/library/MaterialUI/MaterialUI.qrc | unknown | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 574 |
```qml
import QtQuick 2.5
import "./Element"
import "./Interface"
Item {
id: materialUI
// Theme.qml
property color primaryColor: "#FAFAFA"
/*!
A darker version of the primary color used for the window titlebar (if client-side
decorations are not used), unless a \l Page specifies its o... | /content/code_sandbox/library/MaterialUI/MaterialUI.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 2,818 |
```qmake
RESOURCES *= \
$$PWD/MaterialUI.qrc
``` | /content/code_sandbox/library/MaterialUI/MaterialUI.pri | qmake | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 14 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialSnackbar.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 676 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialCheckBox.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,117 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialActionButton.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 712 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Window 2.2
import QtQuick.Dialogs 1.2
Rectangle {
id: swipeToRefresh
width: parent.width
height: 0
color: "#00000000"
property var base: parent.parent
property int targetHeight: 150
property real offsetY: 0
property ... | /content/code_sandbox/library/MaterialUI/Interface/MaterialSwipeToRefresh.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 814 |
```qml
import QtQuick 2.5
import QtQuick.Layouts 1.1
import "qrc:/MaterialUI/Element/"
Item {
id: materialTabbed
width: 40
height: 40
property int itemWidth: 100
property alias model: listView.model
property var iconDatas
property alias textColor: button.textColor
property alias back... | /content/code_sandbox/library/MaterialUI/Interface/MaterialTabbed.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 466 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtGraphicalEffects 1.0
Rectangle {
id: materialPage
width: parent.width
height: parent.height
color: "#efefef"
property alias titleText: labelForTitle.text
property alias tabbedModel: tabbed.model
property alias tabbedIconDatas:... | /content/code_sandbox/library/MaterialUI/Interface/MaterialPage.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 742 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtGraphicalEffects 1.0
import "../Element"
TreeView {
id: tableView
width: 400
height: 400
enabled: modelForTableView.count > -1
alternatingRowColors: false
backgroundVisible: false
headerVisibl... | /content/code_sandbox/library/MaterialUI/Interface/MaterialTreeView.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 871 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4 as Controls
import QtQuick.Controls.Styles 1.4 as ControlStyles
MaterialDialog {
id: dialog
negativeButtonText: ""
positiveButtonText: ("OK")
property var callbackOnOK: null
function show(title, message, callbackOnOK) {
dialog.title =... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDialogAlert.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 204 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDialog.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,246 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4 as Controls
import QtQuick.Controls.Styles 1.4 as ControlStyles
MaterialDialog {
id: dialog
negativeButtonText: ("Cancel")
positiveButtonText: ("OK")
property var callbackOnCancel: null
property var callbackOnOK: null
function show(title,... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDialogDatePicker.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 262 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialTextField.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,290 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialButton.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,064 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
MaterialDialog {
id: dialog
negativeButtonText: ("Cancel")
positiveButtonText: ("OK")
positiveButtonEnabled: currentItemIndex !== -1
property var callbackOnCancel: null
property var callbackOnOK: null
... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDialogScrolling.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,207 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4 as Controls
import QtGraphicalEffects 1.0
import "../Element"
Controls.TableView {
id: tableView
width: 400
height: 400
enabled: modelForTableView.count > -1
alternatingRowColors: false
backgroundVisible: false
headerVisible: true
s... | /content/code_sandbox/library/MaterialUI/Interface/MaterialTableView.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 787 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4 as Controls
import QtQuick.Controls.Styles 1.4 as ControlStyles
import QtGraphicalEffects 1.0
Item {
id: tabs
signal indexRefreshed();
property var tabSource
property var iconDatas
property int currentItemX
property int currentItemWidth
... | /content/code_sandbox/library/MaterialUI/Interface/MaterialTabs.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 892 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialBottomActionSheet.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 795 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4 as Controls
import QtQuick.Controls.Styles 1.4 as ControlStyles
MaterialDialog {
id: dialog
negativeButtonText: ("Cancel")
positiveButtonText: ("OK")
Component.onCompleted: {
dialog.open()
}
property var callbackOnCancel: null
... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDialogTextArea.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 399 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialRadioButton.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 759 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialLabel.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 517 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4 as Controls
import QtQuick.Controls.Styles 1.4 as ControlStyles
import "../Element"
Controls.Switch {
id: control
/*!
The switch color. By default this is the app's accent color
*/
property color color: "#2196f3"
/*!
Set to \c t... | /content/code_sandbox/library/MaterialUI/Interface/MaterialSwitch.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 402 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4 as Controls
import QtQuick.Controls.Styles 1.4 as ControlStyles
MaterialDialog {
id: dialog
negativeButtonText: ("Cancel")
positiveButtonText: ("OK")
property var callbackOnCancel: null
property var callbackOnOK: null
function show(title,... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDialogTimePicker.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 329 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialSlider.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,692 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDatePicker.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 3,812 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialProgressCircle.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,626 |
```objective-c
/* png.h - header file for PNG reference library
*
* libpng version 1.6.29, March 16, 2017
*
*
* This code is released under the libpng license (See LICENSE, below)
*
* Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* libpng versions 0.89... | /content/code_sandbox/library/JQLibrary/include/JQGuetzli/png/png.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 36,568 |
```qml
import QtQuick 2.5
import QtQuick.Layouts 1.1
import "../Element"
Item {
id: field
width: 100
height: 56
z: (dropdown.visible) ? (2) : (0)
implicitHeight: hasHelperText ? helperTextLabel.y + helperTextLabel.height + (4)
: underline.y + (8)
implicitWidth... | /content/code_sandbox/library/MaterialUI/Interface/MaterialMenuField.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,073 |
```qml
import QtQuick 2.7
SequentialAnimation {
id: animation
property var target: null
property string property
property int duration: 1500
property real from
property real to
property real fromToOffset: to - from
ParallelAnimation {
NumberAnimation {
target: an... | /content/code_sandbox/library/MaterialUI/Interface/MaterialAnimation.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 320 |
```qml
import QtQuick 2.5
import QtQuick.Controls 1.4 as Controls
import QtQuick.Controls.Styles 1.4 as ControlStyles
MaterialDialog {
id: dialog
negativeButtonText: ("Cancel")
positiveButtonText: ("OK")
property var callbackOnCancel: null
property var callbackOnOK: null
function show(title,... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDialogConfirm.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 196 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialProgressBar.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 520 |
```qml
import QtQuick 2.5
import QtQuick.Layouts 1.1
MaterialDialog {
id: dialog
negativeButtonText: ("Cancel")
positiveButtonText: ("OK")
property var callbackOnCancel: null
property var callbackOnOK: null
function show(title, message, placeholderText, currentText, callbackOnCancel, callbac... | /content/code_sandbox/library/MaterialUI/Interface/MaterialDialogPrompt.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 257 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Element/Subheader.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 319 |
```qml
/*
* QML Air - A lightweight and mostly flat UI widget collection for QML
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied ... | /content/code_sandbox/library/MaterialUI/Element/Standard.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 562 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Element/Scrollbar.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 724 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Interface/MaterialTimePicker.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 3,397 |
```qml
/*
* QML Material - An application framework implementing Material Design.
* 2015 Michael Spencer <sonrisesoftware@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is di... | /content/code_sandbox/library/MaterialUI/Element/BottomSheet.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 421 |
```qml
/*
* QML Extras - Extra types and utilities to make QML even more awesome
*
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY... | /content/code_sandbox/library/MaterialUI/Element/CircleMask.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 209 |
```qml
import QtQuick 2.5
View {
id: listItem
anchors {
left: parent.left
right: parent.right
}
property int margins: (16)
property bool selected
property bool interactive: true
property int dividerInset: 0
property bool showDivider: false
signal clicked()
si... | /content/code_sandbox/library/MaterialUI/Element/BaseListItem.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 209 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Element/ThinDivider.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 155 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Element/ThemePalette.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 470 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Element/Divider.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 190 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY W... | /content/code_sandbox/library/MaterialUI/Element/View.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,348 |
```qml
/*
* QML Material - An application framework implementing Material Design.
* 2014 Marcin Baszczewski
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope tha... | /content/code_sandbox/library/MaterialUI/Element/Ink.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,461 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY... | /content/code_sandbox/library/MaterialUI/Element/PopupBase.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 211 |
```qmake
#
# This file is part of JQTools
#
# Project introduce: path_to_url
#
#
# Contact email: Jason@JasonServer.com
#
# GitHub: path_to_url
#
INCLUDEPATH *= \
$$PWD/include/
HEADERS *= \
$$PWD/include/jqtoolslibrary.h
SOURCES *= \
$$PWD/src/jqtoolslibrary.cpp
``` | /content/code_sandbox/library/JQToolsLibrary/JQToolsLibrary.pri | qmake | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 83 |
```c++
/*
This file is part of JQTools
Project introduce: path_to_url
Contact email: Jason@JasonServer.com
GitHub: path_to_url
*/
#include "jqtoolslibrary.h"
// Qt lib import
#include <QApplication>
#include <QClipboard>
#include <QQmlApplicationEngine>
#include <QDebug>
QPointer< QQmlApplication... | /content/code_sandbox/library/JQToolsLibrary/src/jqtoolslibrary.cpp | c++ | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 204 |
```qml
/*
* QML Material - An application framework implementing Material Design.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 2.1 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY... | /content/code_sandbox/library/MaterialUI/Element/Dropdown.qml | qml | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 1,108 |
```unknown
/*
This file is part of JQTools
Project introduce: path_to_url
Contact email: Jason@JasonServer.com
GitHub: path_to_url
*/
#include "jqtoolslibrary.h"
``` | /content/code_sandbox/library/JQToolsLibrary/include/JQToolsLibrary | unknown | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 45 |
```objective-c
/*
This file is part of JQTools
Project introduce: path_to_url
Contact email: Jason@JasonServer.com
GitHub: path_to_url
*/
#ifndef JQTOOLSLIBRARY_H_
#define JQTOOLSLIBRARY_H_
// Qt lib import
#include <QObject>
#include <QPointer>
#define JQTOOLS_VERSIONSTRING "24.7.8"
class QQmlA... | /content/code_sandbox/library/JQToolsLibrary/include/jqtoolslibrary.h | objective-c | 2016-05-15T04:09:51 | 2024-08-15T07:23:05 | JQTools | 188080501/JQTools | 1,683 | 190 |
```python
import unittest
import unreal_engine as ue
class TestClipboard(unittest.TestCase):
def test_copy_and_paste(self):
ue.clipboard_copy('Hello from python unit test')
self.assertEqual(ue.clipboard_paste(), 'Hello from python unit test')
def test_copy_and_paste_red_light(self):
... | /content/code_sandbox/tests/test_clipboard.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 110 |
```python
import unittest
import unreal_engine as ue
from unreal_engine.structs import ColorMaterialInput, Key
from unreal_engine.structs import StaticMeshSourceModel, MeshBuildSettings
class TestStructs(unittest.TestCase):
def test_new_struct(self):
material_input = ColorMaterialInput()
self.ass... | /content/code_sandbox/tests/test_structs.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 513 |
```python
import unittest
import unreal_engine as ue
class TestPlugin(unittest.TestCase):
def test_find(self):
uep = ue.find_plugin('UnrealEnginePython')
self.assertEqual(uep.get_name(), 'UnrealEnginePython')
def test_enabled(self):
uep = ue.find_plugin('UnrealEnginePython')
self.assertTr... | /content/code_sandbox/tests/test_plugin.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 80 |
```python
import unittest
import unreal_engine as ue
from unreal_engine.classes import Actor, Character, CharacterMovementComponent, CapsuleComponent
from unreal_engine import FVector, FRotator
import time
import math
class TestActor(unittest.TestCase):
def setUp(self):
self.world = ue.get_editor_world()
... | /content/code_sandbox/tests/test_actor.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 547 |
```python
import unittest
import unreal_engine as ue
from unreal_engine import FVector, FRandomStream
class TestRandomStream(unittest.TestCase):
def test_frand(self):
r = FRandomStream()
self.assertTrue(type(r.frand()) is float)
def test_frand_range(self):
r = FRandomStream()
... | /content/code_sandbox/tests/test_randomstream.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 591 |
```unknown
Roberto De Ioris (maintainer and developer, 20Tab)
Ikrima Elhassan (developer and sponsor, Kite & Lightning)
Tony Barbieri
Huey Park
Eric Feng
``` | /content/code_sandbox/CONTRIBUTORS | unknown | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 45 |
```python
import unittest
import unreal_engine as ue
from unreal_engine import IConsoleManager
class TestConsoleManager(unittest.TestCase):
def setUp(self):
if IConsoleManager.is_name_registered('uep_test_001'):
IConsoleManager.unregister_object('uep_test_001')
def test_history(self):
... | /content/code_sandbox/tests/test_console_manager.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 437 |
```python
``` | /content/code_sandbox/tests/__init__.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1 |
```unknown
Roberto De Ioris (info@20tab.com)
``` | /content/code_sandbox/AUTHORS | unknown | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 13 |
```python
import unittest
import unreal_engine as ue
from unreal_engine import FVector, FRotator, FTransform
class TestVector(unittest.TestCase):
def test_add(self):
vector0 = FVector(1, 2, 3)
vector1 = FVector(4, 5, 6)
self.assertEqual( vector0 + vector1, FVector(5, 7, 9))
def test_a... | /content/code_sandbox/tests/test_transform.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 339 |
```unknown
{
"FileVersion": 3,
"Version": 1,
"VersionName": "1.0",
"FriendlyName": "UnrealEnginePython",
"Description": "Embed a Python VM in your project",
"Category": "Scripting Languages",
"CreatedBy": "Roberto De Ioris",
"CreatedByURL": "",
"DocsURL": "",
"MarketplaceURL": "",
"SupportURL": "",
"Enabled... | /content/code_sandbox/UnrealEnginePython.uplugin | unknown | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 272 |
```python
import unittest
import unreal_engine as ue
from unreal_engine.classes import LevelSequenceFactoryNew, Character, MovieSceneAudioTrack, CineCameraActor
class TestSequencer(unittest.TestCase):
def setUp(self):
factory = LevelSequenceFactoryNew()
self.asset = factory.factory_create_new('/Game/Seq... | /content/code_sandbox/tests/test_sequencer.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 585 |
```python
import sys
import unittest
import unreal_engine as ue
import os.path
# ue.sandbox_exec(ue.find_plugin('UnrealEnginePython').get_base_dir() + '/run_tests.py')
# setup classic stdout/stderr
class UnrealEngineOutput:
def __init__(self, logger):
self.logger = logger
def write(self, buf):
... | /content/code_sandbox/run_tests.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 162 |
```python
import unittest
import unreal_engine as ue
from unreal_engine.classes import Actor, Character
from unreal_engine import FVector
import time
import math
class TestBlueprint(unittest.TestCase):
def setUp(self):
self.world = ue.get_editor_world()
self.random_string = str(int(time.time()))
... | /content/code_sandbox/tests/test_blueprint.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 528 |
```python
import unittest
import unreal_engine as ue
from unreal_engine.classes import Material
import time
import math
class TestUObject(unittest.TestCase):
def test_new_object(self):
new_material = Material()
self.assertIsNotNone(new_material)
def test_set_name(self):
new_material =... | /content/code_sandbox/tests/test_uobject.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 210 |
```python
import unittest
import unreal_engine as ue
from unreal_engine import IHttpRequest
import json
class TestHttp(unittest.TestCase):
def test_user_agent(self):
request = IHttpRequest('GET', 'path_to_url
request.set_header('User-Agent', 'UnrealEnginePython_test')
request.process_reque... | /content/code_sandbox/tests/test_http.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 374 |
```python
import unreal_engine as ue
# EPixelFormat defines the various pixel formats for a texture/image, we will use RGBA with 8bit per channel
from unreal_engine.enums import EPixelFormat
import matplotlib
# set the Agg renderer as we do not need any toolkit
matplotlib.use('Agg')
import matplotlib.pyplot as plt
#... | /content/code_sandbox/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/graph_texture.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 270 |
```python
import unittest
import unreal_engine as ue
from unreal_engine.classes import Blueprint
class TestPlotterPlatform(unittest.TestCase):
def setUp(self):
ue.allow_actor_script_execution_in_editor(True)
ue.begin_transaction('test')
self.world = ue.get_editor_world()
self.bluep... | /content/code_sandbox/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/test_plotter_platforms.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 344 |
```python
import unreal_engine as ue
from unreal_engine.classes import SkeletalMesh, Skeleton, AnimSequence, AnimSequenceFactory
from unreal_engine import FTransform, FRawAnimSequenceTrack, FQuat
from unreal_engine import SWindow, SObjectPropertyEntryBox
class DialogException(Exception):
def __init__(self, message... | /content/code_sandbox/tutorials/FixingMixamoRootMotionWithPython_Assets/mixamo.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,578 |
```python
import unreal_engine as ue
from unreal_engine.enums import EPixelFormat
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
class PlotComponent:
def begin_play(self):
width = 1024
height = 1024
dpi = 72.0
self.texture = ue.create_transient_texture(... | /content/code_sandbox/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/plotter.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 263 |
```python
import json
import unreal_engine as ue
from unreal_engine.classes import Skeleton, AnimSequence, SkeletalMesh, Material, MorphTarget, AnimSequence, AnimSequenceFactory
from unreal_engine import FTransform, FVector, FRotator, FQuat, FSoftSkinVertex, FMorphTargetDelta, FRawAnimSequenceTrack
from unreal_engine.s... | /content/code_sandbox/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/threejs_importer.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 2,960 |
```python
import unreal_engine as ue
class FacesDetector:
def __init__(self):
self.texture_to_draw = None
def draw_hud(self):
# exit if we do not have enough data
if not self.texture_to_draw:
return
# draw what the player pawn is seeing
self... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/hud_first.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 91 |
```python
import unreal_engine as ue
from unreal_engine.classes import SceneCaptureComponent2D, PyHUD
from unreal_engine.enums import ESceneCaptureSource
import cv2
import numpy
class Sight:
def __init__(self):
self.what_i_am_seeing = ue.create_transient_texture_render_target2d(512, 512)
def pre_in... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/eyes_fifth.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 460 |
```python
import unreal_engine as ue
from unreal_engine.classes import Material
from unreal_engine.enums import EPixelFormat
import cv2
class WebCam:
def begin_play(self):
# open the first video capture device
self.capture = cv2.VideoCapture(0)
# get its size
width = int(self.cap... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/utils.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 265 |
```python
import unreal_engine as ue
from unreal_engine.classes import SceneCaptureComponent2D
from unreal_engine.enums import ESceneCaptureSource
class Sight:
def __init__(self):
self.what_i_am_seeing = ue.create_transient_texture_render_target2d(512, 512)
def pre_initialize_components(self):
... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/eyes_second.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 166 |
```python
import unreal_engine as ue
from unreal_engine.classes import SceneCaptureComponent2D
from unreal_engine.enums import ESceneCaptureSource
class Sight:
def __init__(self):
self.what_i_am_seeing = ue.create_transient_texture_render_target2d(512, 512)
def pre_initialize_components(self):
... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/eyes_third.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 233 |
```python
import unreal_engine as ue
class Sight:
def __init__(self):
ue.log_warning('Hello i am __init__')
self.timer = 1.0
def begin_play(self):
ue.log_warning('Hello i am begin_play')
def tick(self, delta_time):
self.timer -= delta_time
i... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/eyes_first.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 98 |
```python
import unreal_engine as ue
from unreal_engine import FColor, FLinearColor
from unreal_engine.enums import EBlendMode, EPixelFormat
import os
import cv2
class FacesDetector:
def __init__(self):
self.texture_to_draw = None
self.gray_data = None
self.texture = ue.create... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/hud.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 421 |
```python
import unreal_engine as ue
from unreal_engine.classes import SceneCaptureComponent2D, PyHUD
from unreal_engine.enums import ESceneCaptureSource
import os
import cv2
import numpy
class Sight:
def __init__(self):
self.what_i_am_seeing = ue.create_transient_texture_render_target2d(512, 512)
... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/eyes.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 455 |
```python
import unreal_engine as ue
from unreal_engine import FColor, FLinearColor
from unreal_engine.enums import EBlendMode, EPixelFormat
import os
import cv2
class FacesDetector:
def __init__(self):
self.texture_to_draw = None
self.gray_data = None
# create a transient tex... | /content/code_sandbox/tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/hud_second.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 281 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.