q2rad 0.1.149__tar.gz → 0.1.150__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.149 → q2rad-0.1.150}/PKG-INFO +1 -1
- {q2rad-0.1.149 → q2rad-0.1.150}/pyproject.toml +1 -1
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2rad.py +0 -2
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2stylesettings.py +8 -5
- q2rad-0.1.150/q2rad/version.py +1 -0
- q2rad-0.1.149/q2rad/version.py +0 -1
- {q2rad-0.1.149 → q2rad-0.1.150}/LICENSE +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/README.md +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/__init__.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/__main__.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2actions.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2appmanager.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2appselector.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2constants.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2forms.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2lines.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2market.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2modules.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2packages.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2queries.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2raddb.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2reports.py +0 -0
- {q2rad-0.1.149 → q2rad-0.1.150}/q2rad/q2utils.py +0 -0
|
@@ -633,8 +633,6 @@ class Q2RadApp(Q2App):
|
|
|
633
633
|
self.process_events()
|
|
634
634
|
|
|
635
635
|
def get_package_versions(self, package):
|
|
636
|
-
import time
|
|
637
|
-
time.sleep(1)
|
|
638
636
|
response = open_url(f"https://pypi.python.org/pypi/{package}/json") # noqa F405
|
|
639
637
|
if response:
|
|
640
638
|
latest_version = json.load(response)["info"]["version"]
|
|
@@ -32,6 +32,7 @@ class AppStyleSettings(Q2Form):
|
|
|
32
32
|
super().__init__("Style Settings")
|
|
33
33
|
|
|
34
34
|
def on_init(self):
|
|
35
|
+
self.color_modes = {"dark": "Dark", "light": "Light", "clean": "Clean"}
|
|
35
36
|
self.last_font_size = self.q2_app.q2style.font_size
|
|
36
37
|
# print("==", self.last_font_size)
|
|
37
38
|
self.last_color_mode = self.q2_app.q2style.color_mode
|
|
@@ -43,7 +44,9 @@ class AppStyleSettings(Q2Form):
|
|
|
43
44
|
control="radio",
|
|
44
45
|
datalen=10,
|
|
45
46
|
valid=self.style_valid,
|
|
46
|
-
data=
|
|
47
|
+
data=self.color_modes.get(
|
|
48
|
+
self.q2_app.q2style.color_mode, self.q2_app.q2style.get_system_color_mode()
|
|
49
|
+
),
|
|
47
50
|
)
|
|
48
51
|
|
|
49
52
|
self.add_control("/h")
|
|
@@ -68,10 +71,10 @@ class AppStyleSettings(Q2Form):
|
|
|
68
71
|
self.ok_button = 1
|
|
69
72
|
self.cancel_button = 1
|
|
70
73
|
|
|
71
|
-
def after_form_show(self):
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
# def after_form_show(self):
|
|
75
|
+
# self.s.color_mode = self.color_modes.get(
|
|
76
|
+
# self.q2_app.q2style.color_mode, self.q2_app.q2style.get_system_color_mode()
|
|
77
|
+
# )
|
|
75
78
|
|
|
76
79
|
def get_color_mode(self):
|
|
77
80
|
color_mode = self.s.color_mode.lower()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.150"
|
q2rad-0.1.149/q2rad/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.149"
|
|
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
|