Move QML Python stuff to its own subfolder

This commit is contained in:
miruka 2019-12-18 05:00:27 -04:00
parent f4d7636df6
commit 717c5078c7
4 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,7 @@ def _process_lines(content: str) -> Generator[str, None, None]:
def convert_to_qml(theme_content: str) -> str:
lines = [
"import QtQuick 2.12",
'import "Base"',
'import "../Base"',
"QtObject {",
" function hsluv(h, s, l, a) { return utils.hsluv(h, s, l, a) }",
" function hsl(h, s, l) { return utils.hsl(h, s, l) }",

View File

@ -9,7 +9,7 @@ Python {
property bool startupAnyAccountsSaved: false
property var pendingCoroutines: ({})
property PythonEventHandlers eventHandlers: PythonEventHandlers {}
property EventHandlers eventHandlers: EventHandlers {}
function newQmlFuture() {

View File

@ -1,6 +1,7 @@
import QtQuick 2.12
import QtQuick.Controls 2.12
import "Base"
import "PythonBridge"
ApplicationWindow {
id: window