q2rad 0.1.199__tar.gz → 0.1.200__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.199 → q2rad-0.1.200}/PKG-INFO +1 -1
- {q2rad-0.1.199 → q2rad-0.1.200}/pyproject.toml +1 -1
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2reports.py +12 -1
- q2rad-0.1.200/q2rad/version.py +1 -0
- q2rad-0.1.199/q2rad/version.py +0 -1
- {q2rad-0.1.199 → q2rad-0.1.200}/LICENSE +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/README.md +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/__init__.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/__main__.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2actions.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2appmanager.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2appselector.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2constants.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2forms.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2lines.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2make.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2market.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2modules.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2packages.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2queries.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2rad.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2raddb.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2stylesettings.py +0 -0
- {q2rad-0.1.199 → q2rad-0.1.200}/q2rad/q2utils.py +0 -0
|
@@ -90,6 +90,7 @@ class Q2RadReport(Q2Report):
|
|
|
90
90
|
def repo_valid(mode):
|
|
91
91
|
form.heap.mode = mode
|
|
92
92
|
form.close()
|
|
93
|
+
|
|
93
94
|
form.add_control("/s")
|
|
94
95
|
form.add_control("/h")
|
|
95
96
|
form.add_control("/s")
|
|
@@ -125,6 +126,8 @@ class Q2RadReport(Q2Report):
|
|
|
125
126
|
def repo_edit():
|
|
126
127
|
report_edit_form = Q2ReportEdit()
|
|
127
128
|
report_edit_form.after_form_show = lambda: report_edit_form.set_content(self.report_content)
|
|
129
|
+
report_edit_form.data.update(self.data)
|
|
130
|
+
report_edit_form.data_sets.update(self.data_sets)
|
|
128
131
|
report_edit_form.run()
|
|
129
132
|
form.close()
|
|
130
133
|
|
|
@@ -341,6 +344,8 @@ class ReportForm:
|
|
|
341
344
|
class Q2ReportEdit(Q2Form):
|
|
342
345
|
def __init__(self):
|
|
343
346
|
super().__init__("Report Edit")
|
|
347
|
+
self.data = {}
|
|
348
|
+
self.data_sets = {}
|
|
344
349
|
|
|
345
350
|
def on_init(self):
|
|
346
351
|
self.query_edit = Q2QueryEdit()
|
|
@@ -610,6 +615,8 @@ class Q2ReportReport(Q2Form):
|
|
|
610
615
|
|
|
611
616
|
def run_report(self, output_file="html"):
|
|
612
617
|
rep = Q2RadReport(self.report_edit_form.get_content())
|
|
618
|
+
rep.data.update(self.report_edit_form.data)
|
|
619
|
+
rep.data_sets.update(self.report_edit_form.data_sets)
|
|
613
620
|
rep.run(output_file)
|
|
614
621
|
|
|
615
622
|
def set_default_report_content(self):
|
|
@@ -679,7 +686,8 @@ class Q2ReportReport(Q2Form):
|
|
|
679
686
|
prop_key = prop_name.replace("_", "-")
|
|
680
687
|
|
|
681
688
|
if not self.w.__getattr__(prop_name).check.is_checked():
|
|
682
|
-
|
|
689
|
+
if prop_key in self.current_propertys:
|
|
690
|
+
del self.current_propertys[prop_key]
|
|
683
691
|
else:
|
|
684
692
|
self.current_propertys[prop_key] = prop_value
|
|
685
693
|
self.style_changed()
|
|
@@ -2001,6 +2009,9 @@ class Q2ReportRows(Q2Form, ReportForm):
|
|
|
2001
2009
|
cell_data = self.rows_data.cells.get(f"{row},{column}", {})
|
|
2002
2010
|
|
|
2003
2011
|
self.rows_sheet.cell_styles[f"{row},{column}"] = cell_data.get("style", {})
|
|
2012
|
+
self.rows_sheet.cell_styles[f"{row},{column}"]["border-color"] = (
|
|
2013
|
+
"white" if self.q2_app.q2style.color_mode == "dark" else "black"
|
|
2014
|
+
)
|
|
2004
2015
|
rowspan = cell_data.get("rowspan", 1)
|
|
2005
2016
|
colspan = cell_data.get("colspan", 1)
|
|
2006
2017
|
if rowspan > 1 or colspan > 1:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.200"
|
q2rad-0.1.199/q2rad/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.199"
|
|
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
|
|
File without changes
|
|
File without changes
|