easycoder 250809.2__py2.py3-none-any.whl → 250810.1__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of easycoder might be problematic. Click here for more details.
- easycoder/__init__.py +1 -1
- easycoder/ec_keyboard.py +10 -12
- easycoder/ec_program.py +1 -1
- {easycoder-250809.2.dist-info → easycoder-250810.1.dist-info}/METADATA +1 -1
- {easycoder-250809.2.dist-info → easycoder-250810.1.dist-info}/RECORD +8 -8
- {easycoder-250809.2.dist-info → easycoder-250810.1.dist-info}/LICENSE +0 -0
- {easycoder-250809.2.dist-info → easycoder-250810.1.dist-info}/WHEEL +0 -0
- {easycoder-250809.2.dist-info → easycoder-250810.1.dist-info}/entry_points.txt +0 -0
easycoder/__init__.py
CHANGED
easycoder/ec_keyboard.py
CHANGED
|
@@ -105,7 +105,6 @@ class Keyboard(Handler):
|
|
|
105
105
|
restore.append(receiver.getContent())
|
|
106
106
|
index += 1
|
|
107
107
|
self.restore = restore
|
|
108
|
-
self.selectedReceiver = receivers[0]
|
|
109
108
|
|
|
110
109
|
# Position at bottom of parent window
|
|
111
110
|
dialog.show() # Ensure geometry is calculated
|
|
@@ -119,22 +118,18 @@ class Keyboard(Handler):
|
|
|
119
118
|
|
|
120
119
|
def setClickSource(self, field):
|
|
121
120
|
receivers = self.receivers
|
|
122
|
-
index = 0
|
|
123
121
|
for receiver in receivers:
|
|
124
122
|
if receiver.field == field:
|
|
125
|
-
self.
|
|
126
|
-
|
|
127
|
-
index += 1
|
|
123
|
+
self.vk.setReceiver(receiver)
|
|
124
|
+
return
|
|
128
125
|
|
|
129
126
|
def reject(self):
|
|
130
|
-
selectedReceiver = self.
|
|
127
|
+
selectedReceiver = self.vk.getReceiver()
|
|
131
128
|
receivers = self.receivers
|
|
132
129
|
index = 0
|
|
133
130
|
for receiver in receivers:
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
index += 1
|
|
137
|
-
receiver.setContent(self.restore[index])
|
|
131
|
+
receiver.setContent(self.restore[index])
|
|
132
|
+
index += 1
|
|
138
133
|
self.dialog.reject()
|
|
139
134
|
|
|
140
135
|
class TextReceiver():
|
|
@@ -144,7 +139,7 @@ class TextReceiver():
|
|
|
144
139
|
def addCharacter(self, char):
|
|
145
140
|
char = char.replace('&&', '&')
|
|
146
141
|
if len(char) == 1:
|
|
147
|
-
self.
|
|
142
|
+
self.setContent(self.getContent() + char)
|
|
148
143
|
else:
|
|
149
144
|
raise ValueError("Only single characters are allowed.")
|
|
150
145
|
|
|
@@ -436,8 +431,11 @@ class VirtualKeyboard(QStackedWidget):
|
|
|
436
431
|
container.setLayout(keyboardView)
|
|
437
432
|
self.addWidget(container)
|
|
438
433
|
|
|
439
|
-
def
|
|
434
|
+
def setReceiver(self, receiver):
|
|
440
435
|
self.receiver = receiver
|
|
436
|
+
|
|
437
|
+
def getReceiver(self):
|
|
438
|
+
return self.receiver
|
|
441
439
|
|
|
442
440
|
# Callback functions
|
|
443
441
|
def onClickChar(self,keycode):
|
easycoder/ec_program.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version:
|
|
3
|
+
Version: 250810.1
|
|
4
4
|
Summary: Rapid scripting in English
|
|
5
5
|
Keywords: compiler,scripting,prototyping,programming,coding,python,low code,hypertalk,computer language,learn to code
|
|
6
6
|
Author-email: Graham Trott <gtanyware@gmail.com>
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
easycoder/__init__.py,sha256=
|
|
1
|
+
easycoder/__init__.py,sha256=O4prZn9Zw9PP1eKt91TjQ-WKBBnOfsfaZztkZr_gBxQ,314
|
|
2
2
|
easycoder/close.png,sha256=3B9ueRNtEu9E4QNmZhdyC4VL6uqKvGmdfeFxIV9aO_Y,9847
|
|
3
3
|
easycoder/ec_classes.py,sha256=PWPaJuTfaWD4-tgT-2WWOgeFV_jXxlxyKCxvXyylCUU,1824
|
|
4
4
|
easycoder/ec_compiler.py,sha256=-uuXDbfgFBGXSrr7EneDnnneFOFsU-UuCIpNHsCqY0s,5289
|
|
5
5
|
easycoder/ec_condition.py,sha256=YXvSBQKEzKGCcgUGo3Qp8iHolXmm2BpEm0NimSDszIM,785
|
|
6
6
|
easycoder/ec_core.py,sha256=r0bFQV3LXCCh4CP6289h6UvK6gpq4L0BQDrEWkeVo_0,98040
|
|
7
7
|
easycoder/ec_handler.py,sha256=ohf3xUuWw_Qb5SZnulGtDhvCb11kvWtYfgbQTiOXpIY,2261
|
|
8
|
-
easycoder/ec_keyboard.py,sha256=
|
|
9
|
-
easycoder/ec_program.py,sha256=
|
|
8
|
+
easycoder/ec_keyboard.py,sha256=jLFtBWS61OWI8S5WO_cZJPAWrclMpgHSnMoNVbJ_2sQ,20217
|
|
9
|
+
easycoder/ec_program.py,sha256=7h2QKGunsiu5l2OKn-sw-Dd70kZJrb4b2idHubeSXDs,9989
|
|
10
10
|
easycoder/ec_pyside.py,sha256=uTDoIQnwTBmsOyfc5_7g0dSDaFEvqAs1ksPj2bF16zg,46825
|
|
11
11
|
easycoder/ec_timestamp.py,sha256=myQnnF-mT31_1dpQKv2VEAu4BCcbypvMdzq7_DUi1xc,277
|
|
12
12
|
easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
|
|
13
|
-
easycoder-
|
|
14
|
-
easycoder-
|
|
15
|
-
easycoder-
|
|
16
|
-
easycoder-
|
|
17
|
-
easycoder-
|
|
13
|
+
easycoder-250810.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
|
|
14
|
+
easycoder-250810.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
15
|
+
easycoder-250810.1.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
16
|
+
easycoder-250810.1.dist-info/METADATA,sha256=QBS3f2dL6bzZ_5rM8MFA5OqVyTiTkHFlMpOCGXA5nRk,6875
|
|
17
|
+
easycoder-250810.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|