easycoder 250723.3__py2.py3-none-any.whl → 250723.4__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 +3 -4
- {easycoder-250723.3.dist-info → easycoder-250723.4.dist-info}/METADATA +1 -1
- {easycoder-250723.3.dist-info → easycoder-250723.4.dist-info}/RECORD +7 -7
- {easycoder-250723.3.dist-info → easycoder-250723.4.dist-info}/LICENSE +0 -0
- {easycoder-250723.3.dist-info → easycoder-250723.4.dist-info}/WHEEL +0 -0
- {easycoder-250723.3.dist-info → easycoder-250723.4.dist-info}/entry_points.txt +0 -0
easycoder/__init__.py
CHANGED
easycoder/ec_keyboard.py
CHANGED
|
@@ -38,12 +38,12 @@ class Keyboard(Handler):
|
|
|
38
38
|
|
|
39
39
|
# Draw the drag bar in the center
|
|
40
40
|
bar_width = 100
|
|
41
|
-
bar_height =
|
|
41
|
+
bar_height = 20
|
|
42
42
|
bar_x = (self.width() - bar_width) // 2
|
|
43
43
|
bar_y = (self.height() - bar_height) // 2
|
|
44
44
|
painter.setBrush(QColor("#bbb"))
|
|
45
45
|
painter.setPen(Qt.NoPen)
|
|
46
|
-
painter.drawRoundedRect(bar_x, bar_y, bar_width, bar_height,
|
|
46
|
+
painter.drawRoundedRect(bar_x, bar_y, bar_width, bar_height, 10, 10)
|
|
47
47
|
|
|
48
48
|
def mousePressEvent(self, event):
|
|
49
49
|
x = self.width() - self.pixmap.width()
|
|
@@ -61,7 +61,6 @@ class Keyboard(Handler):
|
|
|
61
61
|
def mouseMoveEvent(self, event):
|
|
62
62
|
if self._drag_active:
|
|
63
63
|
delta = event.globalPosition().toPoint() - self._drag_start_pos
|
|
64
|
-
print(f'Drag to {delta}')
|
|
65
64
|
self.window().move(self._dialog_start_pos + delta)
|
|
66
65
|
else:
|
|
67
66
|
super().mouseMoveEvent(event)
|
|
@@ -72,7 +71,7 @@ class Keyboard(Handler):
|
|
|
72
71
|
|
|
73
72
|
def _bar_rect(self):
|
|
74
73
|
bar_width = 100
|
|
75
|
-
bar_height =
|
|
74
|
+
bar_height = 20
|
|
76
75
|
bar_x = (self.width() - bar_width) // 2
|
|
77
76
|
bar_y = (self.height() - bar_height) // 2
|
|
78
77
|
return QRect(bar_x, bar_y, bar_width, bar_height)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version: 250723.
|
|
3
|
+
Version: 250723.4
|
|
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=kuHZrjcpfrsKv9HmpPu7wGiC-7X8n58sed54Mp_iDpQ,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=9byLqJZgMHAyFFyD8eGhY77oTsY1GY1aVcVrU4JAbd4,5287
|
|
5
5
|
easycoder/ec_condition.py,sha256=YXvSBQKEzKGCcgUGo3Qp8iHolXmm2BpEm0NimSDszIM,785
|
|
6
6
|
easycoder/ec_core.py,sha256=U1iOw0FKqAAvSShiDyFmBc9LlPyDRxzvgXlioSEK-KI,99679
|
|
7
7
|
easycoder/ec_handler.py,sha256=ohf3xUuWw_Qb5SZnulGtDhvCb11kvWtYfgbQTiOXpIY,2261
|
|
8
|
-
easycoder/ec_keyboard.py,sha256=
|
|
8
|
+
easycoder/ec_keyboard.py,sha256=6BFH3JuWq5gtkZd6x1Xi6I7SY19648VWJig54zztre4,19493
|
|
9
9
|
easycoder/ec_program.py,sha256=SHg8NV9g-DclSWz8pQzgAiElreoYrI1FR1NrZS4_hIA,9968
|
|
10
10
|
easycoder/ec_pyside.py,sha256=15-brpZnAZTkR111KYllbo7k3qbbqr4Umww_ngzhsmk,42243
|
|
11
11
|
easycoder/ec_timestamp.py,sha256=myQnnF-mT31_1dpQKv2VEAu4BCcbypvMdzq7_DUi1xc,277
|
|
12
12
|
easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
|
|
13
|
-
easycoder-250723.
|
|
14
|
-
easycoder-250723.
|
|
15
|
-
easycoder-250723.
|
|
16
|
-
easycoder-250723.
|
|
17
|
-
easycoder-250723.
|
|
13
|
+
easycoder-250723.4.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
|
|
14
|
+
easycoder-250723.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
15
|
+
easycoder-250723.4.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
16
|
+
easycoder-250723.4.dist-info/METADATA,sha256=calLHfxDl3CH9DOgxzvct872pUb5tOKklO1MgLIy3fQ,6875
|
|
17
|
+
easycoder-250723.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|