baseconvert 2.0.1__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {baseconvert-2.0.1/baseconvert.egg-info → baseconvert-2.0.2}/PKG-INFO +1 -1
- baseconvert-2.0.2/VERSION.txt +1 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert/ButtonRow.qml +13 -12
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert/app.qml +16 -12
- {baseconvert-2.0.1 → baseconvert-2.0.2/baseconvert.egg-info}/PKG-INFO +1 -1
- baseconvert-2.0.1/VERSION.txt +0 -1
- {baseconvert-2.0.1 → baseconvert-2.0.2}/LICENSE.txt +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/MANIFEST.in +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/README.md +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/README.rst +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert/__init__.py +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert/__main__.py +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert/baseconvert.py +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert/gui.py +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert.egg-info/SOURCES.txt +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert.egg-info/dependency_links.txt +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert.egg-info/entry_points.txt +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert.egg-info/requires.txt +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/baseconvert.egg-info/top_level.txt +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/setup.cfg +0 -0
- {baseconvert-2.0.1 → baseconvert-2.0.2}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.2
|
|
@@ -17,18 +17,19 @@ Item {
|
|
|
17
17
|
property bool enable5: true
|
|
18
18
|
property bool enable6: true
|
|
19
19
|
signal buttonPressed(text: string)
|
|
20
|
-
property
|
|
21
|
-
property color
|
|
22
|
-
property color
|
|
23
|
-
property color
|
|
24
|
-
property color
|
|
25
|
-
property color
|
|
26
|
-
property color
|
|
27
|
-
property color
|
|
28
|
-
property color
|
|
29
|
-
property color
|
|
30
|
-
property color
|
|
31
|
-
property color
|
|
20
|
+
property bool darkMode: Application.styleHints.colorScheme === Qt.ColorScheme.Dark
|
|
21
|
+
property color color1: darkMode ? "#333333" : "#ffffff"
|
|
22
|
+
property color colorText1: darkMode ? "#ffffff" : "#000000"
|
|
23
|
+
property color color2: darkMode ? "#333333" : "#ffffff"
|
|
24
|
+
property color colorText2: darkMode ? "#ffffff" : "#000000"
|
|
25
|
+
property color color3: darkMode ? "#333333" : "#ffffff"
|
|
26
|
+
property color colorText3: darkMode ? "#ffffff" : "#000000"
|
|
27
|
+
property color color4: darkMode ? "#333333" : "#ffffff"
|
|
28
|
+
property color colorText4: darkMode ? "#ffffff" : "#000000"
|
|
29
|
+
property color color5: darkMode ? "#333333" : "#ffffff"
|
|
30
|
+
property color colorText5: darkMode ? "#ffffff" : "#000000"
|
|
31
|
+
property color color6: darkMode ? "#333333" : "#ffffff"
|
|
32
|
+
property color colorText6: darkMode ? "#ffffff" : "#000000"
|
|
32
33
|
RowLayout {
|
|
33
34
|
anchors.fill: parent
|
|
34
35
|
Button {
|
|
@@ -11,6 +11,7 @@ ApplicationWindow {
|
|
|
11
11
|
property string result: ""
|
|
12
12
|
|
|
13
13
|
font.family: "monospace"
|
|
14
|
+
property bool darkMode: Application.styleHints.colorScheme === Qt.ColorScheme.Dark
|
|
14
15
|
|
|
15
16
|
ColumnLayout {
|
|
16
17
|
anchors.fill: parent
|
|
@@ -31,34 +32,37 @@ ApplicationWindow {
|
|
|
31
32
|
}
|
|
32
33
|
RowLayout {
|
|
33
34
|
Label {
|
|
34
|
-
|
|
35
|
+
id: from_text
|
|
36
|
+
text: "```base from : 10```"
|
|
35
37
|
textFormat: Text.MarkdownText
|
|
36
38
|
Layout.fillWidth: false
|
|
37
39
|
Layout.preferredWidth: parent.width / 3
|
|
38
40
|
horizontalAlignment: Qt.AlignRight
|
|
39
41
|
}
|
|
40
|
-
|
|
42
|
+
Slider {
|
|
41
43
|
id: from
|
|
42
44
|
Layout.fillWidth: true
|
|
45
|
+
Layout.columnSpan: 2
|
|
43
46
|
from: 2
|
|
44
47
|
value: 10
|
|
45
48
|
to: 36
|
|
46
49
|
stepSize: 1
|
|
47
|
-
editable: true
|
|
48
50
|
onValueChanged: {
|
|
49
51
|
backend.input_changed(input.text, from.value, to.value);
|
|
52
|
+
from_text.text = "```From base : " + from.value.toString() + "```";
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
56
|
RowLayout {
|
|
54
57
|
Label {
|
|
55
|
-
|
|
58
|
+
id: to_text
|
|
59
|
+
text: "```to base: 36```"
|
|
56
60
|
textFormat: Text.MarkdownText
|
|
57
61
|
Layout.fillWidth: false
|
|
58
62
|
Layout.preferredWidth: parent.width / 3
|
|
59
63
|
horizontalAlignment: Qt.AlignRight
|
|
60
64
|
}
|
|
61
|
-
|
|
65
|
+
Slider {
|
|
62
66
|
id: to
|
|
63
67
|
Layout.fillWidth: true
|
|
64
68
|
Layout.columnSpan: 2
|
|
@@ -66,9 +70,9 @@ ApplicationWindow {
|
|
|
66
70
|
value: 36
|
|
67
71
|
to: 36
|
|
68
72
|
stepSize: 1
|
|
69
|
-
editable: true
|
|
70
73
|
onValueChanged: {
|
|
71
74
|
backend.input_changed(input.text, from.value, to.value);
|
|
75
|
+
to_text.text = "```To base : " + to.value.toString() + "```"
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
}
|
|
@@ -93,10 +97,10 @@ ApplicationWindow {
|
|
|
93
97
|
text4: "< DELETE"
|
|
94
98
|
enable5: false
|
|
95
99
|
enable6: false
|
|
96
|
-
color1: "#0D47A1"
|
|
97
|
-
color2: "#C8090B"
|
|
98
|
-
color3: "#C8090B"
|
|
99
|
-
color4: "#C63100"
|
|
100
|
+
color1: darkMode ? "#0D47A1" : "#ffffff"
|
|
101
|
+
color2: darkMode ? "#C8090B" : "#ffffff"
|
|
102
|
+
color3: darkMode ? "#C8090B" : "#ffffff"
|
|
103
|
+
color4: darkMode ? "#C63100" : "#ffffff"
|
|
100
104
|
onButtonPressed: (text) => {
|
|
101
105
|
if( text == "FLIP"){
|
|
102
106
|
var base_from = from.value;
|
|
@@ -140,7 +144,7 @@ ApplicationWindow {
|
|
|
140
144
|
enable5: (from.value >= 36) ? true : false
|
|
141
145
|
enable6: true
|
|
142
146
|
text6: "."
|
|
143
|
-
color6: "#
|
|
147
|
+
color6: darkMode ? "#0D47A1" : "#ffffff"
|
|
144
148
|
onButtonPressed: (text) => {
|
|
145
149
|
input.text += text
|
|
146
150
|
}
|
|
@@ -234,7 +238,7 @@ ApplicationWindow {
|
|
|
234
238
|
Layout.fillWidth: true
|
|
235
239
|
Layout.fillHeight: true
|
|
236
240
|
text1: "0"
|
|
237
|
-
color1: "#0D47A1"
|
|
241
|
+
color1: darkMode ? "#0D47A1" : "#ffffff"
|
|
238
242
|
onButtonPressed: (text) => {input.text += text}
|
|
239
243
|
enable2: false
|
|
240
244
|
enable3: false
|
baseconvert-2.0.1/VERSION.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|