text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```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 |
```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 |
```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 |
```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 |
```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 |
```python
import unreal_engine as ue
from unreal_engine.classes import SceneCaptureComponent2D, PyHUD
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_fourth.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 348 |
```javascript
{
"metadata" :
{
"formatVersion" : 3,
"generatedBy" : "Blender 2.63 Exporter",
"vertices" : 16980,
"faces" : 16468,
"normals" : 16420,
"colors" : 0,
"uvs" : 1524,
"materials" : 1,
"mo... | /content/code_sandbox/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/knight.js | javascript | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 2,368,528 |
```python
from unreal_engine.classes import PyFactory, StaticMesh, Object, Class
import unreal_engine as ue
from collada import Collada
from unreal_engine.structs import StaticMeshSourceModel, MeshBuildSettings
from unreal_engine import FRawMesh
import numpy
from unreal_engine import FVector, FRotator
from unreal_e... | /content/code_sandbox/tutorials/WritingAColladaFactoryWithPython_Assets/collada_factory.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,215 |
```python
import os.path
from unreal_engine.classes import PyFbxFactory
# instantiate a new factory
fbx_factory = PyFbxFactory()
# build the path for the fbx file
kaiju_assets_dir = os.path.join(os.path.expanduser('~/Desktop'), 'Kaiju_Assets/Slicer')
slicer_fbx = os.path.join(kaiju_assets_dir, 'slicer.fbx')
# confi... | /content/code_sandbox/tutorials/YourFirstAutomatedPipeline_Assets/kaiju_slicer_pipeline.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 5,744 |
```python
import os
import subprocess
import sys
import time
import shutil
import zipfile
UE_VERSIONS = ['4.20', '4.21', '4.22']
PYTHON_VERSIONS = ["C:/Program Files/Python37", "C:/Program Files/Python36", "C:/Python27"]
MSBUILD = 'C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.... | /content/code_sandbox/tools/release_win64.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,150 |
```shell
UEP_ENABLE_UNITY_BUILD=1 mono "/Users/Shared/Epic Games/UE_4.19/Engine/Binaries/DotNET/UnrealBuildTool.exe" PyTest418 Development Mac -project="/Users/roberto/Documents/Unreal Projects/PyTest418/PyTest418.uproject" -editorrecompile
``` | /content/code_sandbox/tools/build_mac.sh | shell | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 73 |
```python
import os
import subprocess
import sys
import time
def msbuild(project, python_version):
base_environ = os.environ
base_environ.update({'PYTHONHOME': python_version})
vs = '"C:/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe"'
process = subprocess.Popen('{0} {1} /t:Rebuild /p:Configuration=... | /content/code_sandbox/tools/build_win64.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 222 |
```python
import unreal_engine as ue
import json
import os
data = {
'scope': 'source.python',
'completions': []
}
for item in ('unreal_engine', 'unreal_engine.classes', 'unreal_engine.structs', 'unreal_engine.enums'):
data['completions'].append({'trigger': item, 'contents': item})
for item in dir(ue):
... | /content/code_sandbox/tools/generate_sublime_text_autocomplete.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 321 |
```python
import unreal_engine as ue
import sys
ue.log_warning('UnrealEnginePython build check: {0}/UE{1}.{2}'.format(sys.version, ue.ENGINE_MAJOR_VERSION, ue.ENGINE_MINOR_VERSION))
``` | /content/code_sandbox/tools/release_check.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 46 |
```python
import re
import os
import sys
import unreal_engine as ue
# TODO: there are invalid names like 'IsInAir?' and 'EUserInterfaceActionType.None'
VALID_NAME_PATTERN = re.compile('^[_a-zA-Z][_a-zA-Z0-9]*$')
FILTERED_NAMES = {
'__new__', '__doc__',
'__str__', '__repr__', '__name__',
'__loader__', '__s... | /content/code_sandbox/tools/generate_pyi_stubs.py | python | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,026 |
```smalltalk
namespace UnrealBuildTool.Rules
{
public class PythonEditor : ModuleRules
{
#if WITH_FORWARDED_MODULE_RULES_CTOR
public PythonEditor(ReadOnlyTargetRules Target) : base(Target)
#else
public PythonEditor(TargetInfo Target)
#endif
{
PCHUsage = ModuleRules.PCHUsage... | /content/code_sandbox/Source/PythonEditor/PythonEditor.Build.cs | smalltalk | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 236 |
```c++
#include "SPythonEditableText.h"
#include "PythonEditorStyle.h"
#include "Runtime/Slate/Public/Framework/Application/SlateApplication.h"
void SPythonEditableText::Construct(const FArguments& InArgs)
{
SMultiLineEditableText::Construct(
SMultiLineEditableText::FArguments()
.Font(FPythonEditorStyle::Get().... | /content/code_sandbox/Source/PythonEditor/Private/SPythonEditableText.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 857 |
```objective-c
#pragma once
#include "Runtime/Slate/Public/Framework/Text/SlateTextRun.h"
class FWhiteSpaceTextRun : public FSlateTextRun
{
public:
static TSharedRef< FWhiteSpaceTextRun > Create( const FRunInfo& InRunInfo, const TSharedRef< const FString >& InText, const FTextBlockStyle& Style, const FTextRange& In... | /content/code_sandbox/Source/PythonEditor/Private/WhiteSpaceTextRun.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 193 |
```c++
#include "PythonProjectEditorCommands.h"
#include "PythonEditorStyle.h"
#define LOCTEXT_NAMESPACE "PythonProjectEditorCommands"
FPythonProjectEditorCommands::FPythonProjectEditorCommands()
: TCommands<FPythonProjectEditorCommands>("PythonEditor", LOCTEXT("General", "General"), NAME_None, FPythonEditorStyle:... | /content/code_sandbox/Source/PythonEditor/Private/PythonProjectEditorCommands.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 449 |
```objective-c
#pragma once
#include "PythonProjectEditor.h"
#include "Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h"
class FPythonProjectEditorToolbar : public TSharedFromThis<FPythonProjectEditorToolbar>
{
public:
FPythonProjectEditorToolbar(TSharedPtr<class FPythonProjectEditor> InPythonProjectEditor... | /content/code_sandbox/Source/PythonEditor/Private/PythonProjectEditorToolbar.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 136 |
```c++
#include "Runtime/Core/Public/Modules/ModuleManager.h"
#include "AssetToolsModule.h"
#include "Editor/UnrealEd/Public/Toolkits/AssetEditorToolkit.h"
#include "LevelEditor.h"
#include "PythonEditorStyle.h"
#include "PythonProjectEditor.h"
#include "PythonProject.h"
#include "Runtime/Slate/Public/Framework/MultiB... | /content/code_sandbox/Source/PythonEditor/Private/PythonEditor.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 800 |
```objective-c
#pragma once
#include "Editor/Kismet/Public/WorkflowOrientedApp/WorkflowCentricApplication.h"
#include "Editor/Kismet/Public/WorkflowOrientedApp/WorkflowTabManager.h"
#include "Runtime/Launch/Resources/Version.h"
class FPythonProjectEditor : public FWorkflowCentricApplication, public FGCObject
{
publi... | /content/code_sandbox/Source/PythonEditor/Private/PythonProjectEditor.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 662 |
```objective-c
#pragma once
#include "Runtime/Slate/Public/Framework/Commands/Commands.h"
class FPythonProjectEditorCommands : public TCommands<FPythonProjectEditorCommands>
{
public:
FPythonProjectEditorCommands();
TSharedPtr<FUICommandInfo> New;
TSharedPtr<FUICommandInfo> NewDirectory;
TSharedPtr<FUICommandIn... | /content/code_sandbox/Source/PythonEditor/Private/PythonProjectEditorCommands.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 143 |
```objective-c
#pragma once
#include "Runtime/Slate/Public/Framework/Text/SyntaxTokenizer.h"
/**
* Tokenize the text based upon the given rule set
*/
class FPythonSyntaxTokenizer
{
public:
/** Denotes the type of token */
enum class ETokenType : uint8
{
/** Syntax token matching the tokenizing rules provided ... | /content/code_sandbox/Source/PythonEditor/Private/PythonSyntaxTokenizer.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 496 |
```c++
#include "PythonEditorStyle.h"
#include "EditorStyleSet.h"
#include "SlateCore.h"
#include "Runtime/SlateCore/Public/Styling/SlateStyle.h"
#include "Runtime/Projects/Public/Interfaces/IPluginManager.h"
TSharedPtr< FSlateStyleSet > FPythonEditorStyle::StyleSet = nullptr;
#define IMAGE_BRUSH( RelativePath, ...... | /content/code_sandbox/Source/PythonEditor/Private/PythonEditorStyle.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 2,146 |
```objective-c
#pragma once
#include "SlateCore.h"
#include "Runtime/Slate/Public/Widgets/Views/STreeView.h"
#include "PythonProjectItem.h"
class SPythonProjectEditor : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SPythonProjectEditor) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, class UPyth... | /content/code_sandbox/Source/PythonEditor/Private/SPythonProjectEditor.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 314 |
```objective-c
#pragma once
#include "Runtime/SlateCore/Public/Styling/SlateStyle.h"
class FPythonEditorStyle
{
public:
static void Initialize();
static void Shutdown();
static const ISlateStyle& Get();
static const FName& GetStyleSetName();
private:
/** Singleton instances of this style. */
static TShare... | /content/code_sandbox/Source/PythonEditor/Private/PythonEditorStyle.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 78 |
```c++
#include "SPythonEditor.h"
#include "Runtime/Slate/Public/Widgets/Text/SMultiLineEditableText.h"
#include "PYRichTextSyntaxHighlighterTextLayoutMarshaller.h"
#include "SPythonEditableText.h"
#include "Runtime/Core/Public/Misc/FileHelper.h"
#include "PythonProjectItem.h"
#include "Runtime/Slate/Public/Widgets/La... | /content/code_sandbox/Source/PythonEditor/Private/SPythonEditor.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,167 |
```c++
#include "WhiteSpaceTextRun.h"
#include "Runtime/Slate/Public/Framework/Application/SlateApplication.h"
#include "Runtime/SlateCore/Public/Fonts/FontMeasure.h"
TSharedRef< FWhiteSpaceTextRun > FWhiteSpaceTextRun::Create( const FRunInfo& InRunInfo, const TSharedRef< const FString >& InText, const FTextBlockStyl... | /content/code_sandbox/Source/PythonEditor/Private/WhiteSpaceTextRun.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 586 |
```c++
#include "PythonProjectItem.h"
#include "DirectoryScanner.h"
#include "Developer/DirectoryWatcher/Public/IDirectoryWatcher.h"
UPythonProjectItem::UPythonProjectItem(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
void UPythonProjectItem::RescanChildren()
{
if (Path.Len() > 0)
{
... | /content/code_sandbox/Source/PythonEditor/Private/PythonProjectItem.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 811 |
```objective-c
#pragma once
#include "PythonProjectItem.h"
#include "PythonProject.generated.h"
UCLASS()
class UPythonProject : public UPythonProjectItem
{
GENERATED_UCLASS_BODY()
// @TODO: This class should probably be mostly config/settings stuff, with a details panel allowing editing somewhere
};
``` | /content/code_sandbox/Source/PythonEditor/Private/PythonProject.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 65 |
```c++
#include "PythonSyntaxTokenizer.h"
#include "Runtime/Core/Public/Internationalization/BreakIterator.h"
TSharedRef< FPythonSyntaxTokenizer > FPythonSyntaxTokenizer::Create(TArray<FRule> InRules)
{
return MakeShareable(new FPythonSyntaxTokenizer(MoveTemp(InRules)));
}
FPythonSyntaxTokenizer::~FPythonSyntaxToke... | /content/code_sandbox/Source/PythonEditor/Private/PythonSyntaxTokenizer.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 715 |
```objective-c
#pragma once
#include "SlateCore.h"
#include "PythonProjectItem.h"
class SProjectViewItem : public SCompoundWidget
{
public:
DECLARE_DELEGATE_OneParam(FOnNameChanged, UPythonProjectItem*);
SLATE_BEGIN_ARGS(SProjectViewItem) {}
SLATE_ARGUMENT(UPythonProjectItem*, TreeItem)
SLATE_ARGUMENT(FName, ... | /content/code_sandbox/Source/PythonEditor/Private/SProjectViewItem.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 179 |
```c++
#include "PYRichTextSyntaxHighlighterTextLayoutMarshaller.h"
#include "WhiteSpaceTextRun.h"
#include "Runtime/Launch/Resources/Version.h"
FPYRichTextSyntaxHighlighterTextLayoutMarshaller::FPYRichTextSyntaxHighlighterTextLayoutMarshaller(TSharedPtr< FPythonSyntaxTokenizer > InTokenizer, const FSyntaxTextStyle& ... | /content/code_sandbox/Source/PythonEditor/Private/PYRichTextSyntaxHighlighterTextLayoutMarshaller.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 3,299 |
```c++
#include "PythonProject.h"
#include "UnrealEnginePython.h"
UPythonProject::UPythonProject(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
FUnrealEnginePythonModule &PythonModule = FModuleManager::GetModuleChecked<FUnrealEnginePythonModule>("UnrealEnginePython");
Path = PythonModul... | /content/code_sandbox/Source/PythonEditor/Private/PythonProject.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 78 |
```objective-c
#pragma once
#include "Runtime/Slate/Public/Widgets/Text/SMultiLineEditableText.h"
class SPythonEditableText : public SMultiLineEditableText
{
DECLARE_DELEGATE(FOnExecuted);
SLATE_BEGIN_ARGS( SPythonEditableText )
{}
/** The initial text that will appear in the widget. */
SLATE_ATTRIBUTE(FText,... | /content/code_sandbox/Source/PythonEditor/Private/SPythonEditableText.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 366 |
```c++
#include "PythonEditorCustomization.h"
UPythonEditorCustomization::UPythonEditorCustomization(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
const FControlCustomization& UPythonEditorCustomization::GetControl(const FName& ControlCustomizationName)
{
static FControlCustomization ... | /content/code_sandbox/Source/PythonEditor/Private/PythonEditorCustomization.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 105 |
```objective-c
#pragma once
#include "UnrealEd.h"
#include "PythonEditorCustomization.generated.h"
USTRUCT()
struct FTextCustomization
{
GENERATED_USTRUCT_BODY()
FTextCustomization()
: Font("")
, Color(0.0f, 0.0f, 0.0f, 1.0f)
{
}
UPROPERTY(EditAnywhere, Category=Text)
FString Font;
UPROPERTY(EditAnywhe... | /content/code_sandbox/Source/PythonEditor/Private/PythonEditorCustomization.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 273 |
```c++
#include "SProjectViewItem.h"
#include "Runtime/Slate/Public/Widgets/Text/SInlineEditableTextBlock.h"
#include "Runtime/Core/Public/Internationalization/BreakIterator.h"
#include "PythonEditorStyle.h"
#define LOCTEXT_NAMESPACE "ProjectViewItem"
void SProjectViewItem::Construct(const FArguments& InArgs)
{
Tr... | /content/code_sandbox/Source/PythonEditor/Private/SProjectViewItem.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 477 |
```objective-c
#pragma once
#include "PythonProjectItem.h"
DECLARE_DELEGATE_TwoParams(FOnDirectoryScanned, const FString& /*InPathName*/, EPythonProjectItemType::Type /*InType*/);
class FDirectoryScanner
{
public:
static bool Tick();
static void AddDirectory(const FString& PathName, const FOnDirectoryScanned& On... | /content/code_sandbox/Source/PythonEditor/Private/DirectoryScanner.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 105 |
```c++
#include "SPythonProjectEditor.h"
#include "SProjectViewItem.h"
#include "DirectoryScanner.h"
#include "Runtime/Slate/Public/Widgets/Images/SThrobber.h"
#include "PythonEditorStyle.h"
#include "PythonProjectEditor.h"
#include "PythonProject.h"
#define LOCTEXT_NAMESPACE "PythonProjectEditor"
void SPythonProje... | /content/code_sandbox/Source/PythonEditor/Private/SPythonProjectEditor.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 1,012 |
```c++
#include "DirectoryScanner.h"
#include "Runtime/Core/Public/Misc/IQueuedWork.h"
#include "Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h"
#include "PythonProjectItem.h"
TArray<FDirectoryScannerCommand*> FDirectoryScanner::CommandQueue;
struct FDirectoryResult
{
FDirectoryResult(const FString& InPa... | /content/code_sandbox/Source/PythonEditor/Private/DirectoryScanner.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 784 |
```objective-c
#pragma once
#include "SlateCore.h"
#include "Runtime/Slate/Public/Widgets/Layout/SScrollBar.h"
class SPythonEditor : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SPythonEditor) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, class UPythonProjectItem* InPythonProjectItem);
bool... | /content/code_sandbox/Source/PythonEditor/Private/SPythonEditor.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 201 |
```objective-c
#pragma once
#include "Runtime/SlateCore/Public/Styling/SlateTypes.h"
#include "PythonSyntaxTokenizer.h"
#include "Runtime/Slate/Public/Framework/Text/PlainTextLayoutMarshaller.h"
#include "Runtime/Slate/Public/Framework/Text/ITextDecorator.h"
#include "PythonEditorStyle.h"
class FPYRichTextSyntaxHig... | /content/code_sandbox/Source/PythonEditor/Private/PYRichTextSyntaxHighlighterTextLayoutMarshaller.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 794 |
```c++
#include "PythonProjectEditor.h"
#include "SPythonEditor.h"
#include "SPythonProjectEditor.h"
#include "Runtime/Slate/Public/Widgets/Docking/SDockTab.h"
#include "PythonProjectEditorToolbar.h"
#include "Editor/Kismet/Public/WorkflowOrientedApp/WorkflowUObjectDocuments.h"
#include "Editor/Kismet/Public/WorkflowO... | /content/code_sandbox/Source/PythonEditor/Private/PythonProjectEditor.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 4,277 |
```objective-c
#pragma once
#include "UnrealEd.h"
#include "PythonProjectItem.generated.h"
/** Types of project items. Note that the enum ordering determines the tree sorting */
UENUM()
namespace EPythonProjectItemType
{
enum Type
{
Project,
Folder,
File
};
}
UCLASS()
class UPythonProjectItem : public UObj... | /content/code_sandbox/Source/PythonEditor/Private/PythonProjectItem.h | objective-c | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 223 |
```c++
#include "PythonProjectEditorToolbar.h"
#include "LevelEditorActions.h"
#include "SourceCodeNavigation.h"
#include "EditorStyleSet.h"
#include "Runtime/Slate/Public/Framework/MultiBox/MultiBoxExtender.h"
#include "PythonProjectEditor.h"
#include "PythonProjectEditorCommands.h"
void FPythonProjectEditorToolbar... | /content/code_sandbox/Source/PythonEditor/Private/PythonProjectEditorToolbar.cpp | c++ | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 389 |
```smalltalk
using UnrealBuildTool;
using System.IO;
public class PythonConsole : ModuleRules
{
#if WITH_FORWARDED_MODULE_RULES_CTOR
public PythonConsole(ReadOnlyTargetRules Target) : base(Target)
#else
public PythonConsole(TargetInfo Target)
#endif
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplici... | /content/code_sandbox/Source/PythonConsole/PythonConsole.Build.cs | smalltalk | 2016-08-07T05:00:51 | 2024-08-14T06:32:20 | UnrealEnginePython | 20tab/UnrealEnginePython | 2,715 | 234 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.