easycoder 250819.1__py2.py3-none-any.whl → 250819.2__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_pyside.py +12 -9
- {easycoder-250819.1.dist-info → easycoder-250819.2.dist-info}/METADATA +1 -1
- {easycoder-250819.1.dist-info → easycoder-250819.2.dist-info}/RECORD +7 -7
- {easycoder-250819.1.dist-info → easycoder-250819.2.dist-info}/WHEEL +0 -0
- {easycoder-250819.1.dist-info → easycoder-250819.2.dist-info}/entry_points.txt +0 -0
- {easycoder-250819.1.dist-info → easycoder-250819.2.dist-info}/licenses/LICENSE +0 -0
easycoder/__init__.py
CHANGED
easycoder/ec_pyside.py
CHANGED
|
@@ -348,7 +348,6 @@ class Graphics(Handler):
|
|
|
348
348
|
|
|
349
349
|
def k_createLabel(self, command):
|
|
350
350
|
text = self.compileConstant('')
|
|
351
|
-
size = self.compileConstant(20)
|
|
352
351
|
while True:
|
|
353
352
|
token = self.peek()
|
|
354
353
|
if token == 'text':
|
|
@@ -356,7 +355,10 @@ class Graphics(Handler):
|
|
|
356
355
|
text = self.nextValue()
|
|
357
356
|
elif token == 'size':
|
|
358
357
|
self.nextToken()
|
|
359
|
-
size = self.nextValue()
|
|
358
|
+
command['size'] = self.nextValue()
|
|
359
|
+
elif token == 'expand':
|
|
360
|
+
self.nextToken()
|
|
361
|
+
command['expand'] = True
|
|
360
362
|
elif token == 'align':
|
|
361
363
|
self.nextToken()
|
|
362
364
|
token = self.nextToken()
|
|
@@ -364,7 +366,6 @@ class Graphics(Handler):
|
|
|
364
366
|
command['align'] = token
|
|
365
367
|
else: break
|
|
366
368
|
command['text'] = text
|
|
367
|
-
command['size'] = size
|
|
368
369
|
self.add(command)
|
|
369
370
|
return True
|
|
370
371
|
|
|
@@ -555,6 +556,8 @@ class Graphics(Handler):
|
|
|
555
556
|
elif alignment == 'right': label.setAlignment(Qt.AlignRight)
|
|
556
557
|
elif alignment in ['center', 'centre']: label.setAlignment(Qt.AlignHCenter)
|
|
557
558
|
elif alignment == 'justify': label.setAlignment(Qt.AlignJustify)
|
|
559
|
+
if 'expand' in command:
|
|
560
|
+
label.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Preferred)
|
|
558
561
|
record['widget'] = label
|
|
559
562
|
return self.nextPC()
|
|
560
563
|
|
|
@@ -1011,12 +1014,12 @@ class Graphics(Handler):
|
|
|
1011
1014
|
self.skip('of')
|
|
1012
1015
|
if self.nextIsSymbol():
|
|
1013
1016
|
record = self.getSymbolRecord()
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1017
|
+
if record['keyword'] == 'label':
|
|
1018
|
+
command['name'] = record['name']
|
|
1019
|
+
self.skip('to')
|
|
1020
|
+
command['value'] = self.nextValue()
|
|
1021
|
+
self.add(command)
|
|
1022
|
+
return True
|
|
1020
1023
|
elif token == 'color':
|
|
1021
1024
|
self.skip('of')
|
|
1022
1025
|
if self.nextIsSymbol():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version: 250819.
|
|
3
|
+
Version: 250819.2
|
|
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,4 +1,4 @@
|
|
|
1
|
-
easycoder/__init__.py,sha256=
|
|
1
|
+
easycoder/__init__.py,sha256=Fu62n-XdHlHUG2ItHzWsij_XjbxB8lFX5sGBmHvIKw0,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
|
|
@@ -7,12 +7,12 @@ easycoder/ec_core.py,sha256=r0bFQV3LXCCh4CP6289h6UvK6gpq4L0BQDrEWkeVo_0,98040
|
|
|
7
7
|
easycoder/ec_handler.py,sha256=ohf3xUuWw_Qb5SZnulGtDhvCb11kvWtYfgbQTiOXpIY,2261
|
|
8
8
|
easycoder/ec_keyboard.py,sha256=rXddjgx7N1wQrBMypZ4o0B79atdR-jHZq0_c5ZaMZcU,20765
|
|
9
9
|
easycoder/ec_program.py,sha256=7h2QKGunsiu5l2OKn-sw-Dd70kZJrb4b2idHubeSXDs,9989
|
|
10
|
-
easycoder/ec_pyside.py,sha256=
|
|
10
|
+
easycoder/ec_pyside.py,sha256=HmROnTqGesPT-MhxZjVQ9SPlpYbQ6fQzpeU9N1707PQ,50606
|
|
11
11
|
easycoder/ec_timestamp.py,sha256=myQnnF-mT31_1dpQKv2VEAu4BCcbypvMdzq7_DUi1xc,277
|
|
12
12
|
easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
|
|
13
13
|
easycoder/tick.png,sha256=OedASXJJTYvnza4J6Kv5m5lz6DrBfy667zX_WGgtbmM,9127
|
|
14
|
-
easycoder-250819.
|
|
15
|
-
easycoder-250819.
|
|
16
|
-
easycoder-250819.
|
|
17
|
-
easycoder-250819.
|
|
18
|
-
easycoder-250819.
|
|
14
|
+
easycoder-250819.2.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
|
|
15
|
+
easycoder-250819.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
16
|
+
easycoder-250819.2.dist-info/WHEEL,sha256=Dyt6SBfaasWElUrURkknVFAZDHSTwxg3PaTza7RSbkY,100
|
|
17
|
+
easycoder-250819.2.dist-info/METADATA,sha256=htWMS3uYCmLbhxQL_4WPk77AjaHiw_sHwvMhT7PPuos,6897
|
|
18
|
+
easycoder-250819.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|