q2rad 0.1.228__tar.gz → 0.1.230__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.
Potentially problematic release.
This version of q2rad might be problematic. Click here for more details.
- {q2rad-0.1.228 → q2rad-0.1.230}/PKG-INFO +1 -1
- {q2rad-0.1.228 → q2rad-0.1.230}/pyproject.toml +1 -1
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2extensions.py +1 -1
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2rad.py +9 -1
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2raddb.py +7 -15
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2stylesettings.py +2 -2
- q2rad-0.1.230/q2rad/version.py +1 -0
- q2rad-0.1.228/q2rad/version.py +0 -1
- {q2rad-0.1.228 → q2rad-0.1.230}/LICENSE +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/README.md +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/__init__.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/__main__.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2actions.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2appmanager.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2appselector.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2constants.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2forms.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2lines.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2make.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2market.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2modules.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2packages.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2queries.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2reports.py +0 -0
- {q2rad-0.1.228 → q2rad-0.1.230}/q2rad/q2utils.py +0 -0
|
@@ -118,7 +118,7 @@ class Q2Extensions(Q2Form):
|
|
|
118
118
|
return
|
|
119
119
|
if (
|
|
120
120
|
q2AskYN(
|
|
121
|
-
f"<p>You are about to export Extension ({prefix}) "
|
|
121
|
+
f"<p>You are about to export Extension (<b>{prefix}</b>) "
|
|
122
122
|
f"<p>into folder {os.path.abspath(q2market_path)}"
|
|
123
123
|
f"<p>and upload into {os.path.abspath(q2market_url)}"
|
|
124
124
|
"<p>Are you sure?"
|
|
@@ -17,6 +17,8 @@ import os
|
|
|
17
17
|
import re
|
|
18
18
|
import threading
|
|
19
19
|
from packaging import version
|
|
20
|
+
import webbrowser
|
|
21
|
+
from functools import partial
|
|
20
22
|
|
|
21
23
|
if __name__ == "__main__":
|
|
22
24
|
sys.path.insert(0, ".")
|
|
@@ -575,6 +577,8 @@ class Q2RadApp(Q2App):
|
|
|
575
577
|
self.add_menu("Dev|Packages", self.run_packages)
|
|
576
578
|
self.add_menu("Dev|-")
|
|
577
579
|
self.add_menu("Dev|Finder", self.run_finder)
|
|
580
|
+
self.add_menu("Dev|-")
|
|
581
|
+
self.add_menu("Dev|Documentation", self.read_the_docs)
|
|
578
582
|
if not self.frozen:
|
|
579
583
|
self.add_menu("Dev|-")
|
|
580
584
|
self.add_menu("Dev|Make binary", self.make_binary)
|
|
@@ -1109,7 +1113,8 @@ class Q2RadApp(Q2App):
|
|
|
1109
1113
|
|
|
1110
1114
|
self.add_menu(
|
|
1111
1115
|
menu_path,
|
|
1112
|
-
worker=menu_worker(x["name"]),
|
|
1116
|
+
# worker=menu_worker(x["name"]),
|
|
1117
|
+
worker=partial(self.run_form, x["name"]),
|
|
1113
1118
|
toolbar=x["toolbar"],
|
|
1114
1119
|
before=x["menu_before"],
|
|
1115
1120
|
icon=x["menu_icon"],
|
|
@@ -1204,6 +1209,9 @@ class Q2RadApp(Q2App):
|
|
|
1204
1209
|
finder.cancel_button = 1
|
|
1205
1210
|
finder.run()
|
|
1206
1211
|
|
|
1212
|
+
def read_the_docs(self):
|
|
1213
|
+
webbrowser.open_new_tab("https://github.com/AndreiPuchko/q2rad/blob/main/docs/index.md")
|
|
1214
|
+
|
|
1207
1215
|
def make_binary(self):
|
|
1208
1216
|
make_binary(self)
|
|
1209
1217
|
|
|
@@ -212,20 +212,12 @@ def last_day_of_month(date):
|
|
|
212
212
|
|
|
213
213
|
def ffinder(module_name="module", function_name="fname"):
|
|
214
214
|
from q2rad.q2rad import run_module
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
if not is_callable:
|
|
222
|
-
|
|
215
|
+
glo = {}
|
|
216
|
+
glo.update(globals())
|
|
217
|
+
run_module(module_name, import_only=True, _globals = glo)
|
|
218
|
+
if function_name in glo:
|
|
219
|
+
return glo[function_name]
|
|
220
|
+
else:
|
|
223
221
|
def empty_function(*args, **kwargs):
|
|
224
222
|
pass
|
|
225
|
-
|
|
226
|
-
return empty_function
|
|
227
|
-
else:
|
|
228
|
-
try:
|
|
229
|
-
return locals()[function_name]
|
|
230
|
-
except:
|
|
231
|
-
return globals()[function_name]
|
|
223
|
+
return empty_function
|
|
@@ -114,8 +114,8 @@ class AppStyleSettings(Q2Form):
|
|
|
114
114
|
self.q2_app.set_color_mode(color_mode)
|
|
115
115
|
|
|
116
116
|
def font_size_valid(self):
|
|
117
|
-
if int_(self.s.font_size) <
|
|
118
|
-
self.s.font_size =
|
|
117
|
+
if int_(self.s.font_size) < 8:
|
|
118
|
+
self.s.font_size = 8
|
|
119
119
|
if self.s.apply:
|
|
120
120
|
self.q2_app.q2style.font_size = int_(self.s.font_size)
|
|
121
121
|
self.style_valid()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.230"
|
q2rad-0.1.228/q2rad/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.228"
|
|
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
|
|
File without changes
|
|
File without changes
|