q2rad 0.1.237__tar.gz → 0.1.239__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.237 → q2rad-0.1.239}/PKG-INFO +1 -1
- {q2rad-0.1.237 → q2rad-0.1.239}/pyproject.toml +1 -1
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2reports.py +7 -5
- q2rad-0.1.239/q2rad/version.py +1 -0
- q2rad-0.1.237/q2rad/version.py +0 -1
- {q2rad-0.1.237 → q2rad-0.1.239}/LICENSE +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/README.md +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/__init__.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/__main__.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2actions.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2appmanager.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2appselector.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2constants.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2extensions.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2forms.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2lines.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2make.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2market.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2modules.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2packages.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2queries.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2rad.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2raddb.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2stylesettings.py +0 -0
- {q2rad-0.1.237 → q2rad-0.1.239}/q2rad/q2utils.py +0 -0
|
@@ -523,7 +523,7 @@ class Q2ContentEditor(Q2Form):
|
|
|
523
523
|
self.s.width = num(width.replace("%", ""))
|
|
524
524
|
self.s.pz = "*" if "%" in width else ""
|
|
525
525
|
|
|
526
|
-
def changed_width(self
|
|
526
|
+
def changed_width(self):
|
|
527
527
|
if self.width_callback:
|
|
528
528
|
self.width_callback(self.s.width, self.s.pz)
|
|
529
529
|
|
|
@@ -2032,16 +2032,18 @@ class Q2ReportRows(Q2Form, ReportForm):
|
|
|
2032
2032
|
if form.ok_pressed:
|
|
2033
2033
|
# proceed = False23
|
|
2034
2034
|
last_role = self.rows_data.role
|
|
2035
|
-
|
|
2035
|
+
new_role = form.s.role
|
|
2036
|
+
if self.rows_data.role == "table" and new_role != "table":
|
|
2036
2037
|
proceed = q2AskYN(_("It will remove all siblings! Proceed?")) == 2
|
|
2037
|
-
proceed = True
|
|
2038
2038
|
if proceed:
|
|
2039
2039
|
form.s.data_source = ""
|
|
2040
2040
|
for x in self.children_rows:
|
|
2041
2041
|
x.widget().remove()
|
|
2042
|
+
else:
|
|
2043
|
+
new_role = last_role
|
|
2042
2044
|
|
|
2043
2045
|
if last_role in roles_list.split(";"): # skip table children
|
|
2044
|
-
self.rows_data.role =
|
|
2046
|
+
self.rows_data.role = new_role
|
|
2045
2047
|
self.rows_data.data_source = form.s.data_source
|
|
2046
2048
|
|
|
2047
2049
|
if self.group_mate:
|
|
@@ -2054,7 +2056,7 @@ class Q2ReportRows(Q2Form, ReportForm):
|
|
|
2054
2056
|
self.rows_data.new_page_before = form.s.new_page_before
|
|
2055
2057
|
self.rows_data.new_page_after = form.s.new_page_after
|
|
2056
2058
|
|
|
2057
|
-
if last_role != "table" and
|
|
2059
|
+
if last_role != "table" and new_role == "table": # is is table now
|
|
2058
2060
|
self.add_table_header()
|
|
2059
2061
|
self.add_table_footer()
|
|
2060
2062
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.239"
|
q2rad-0.1.237/q2rad/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.237"
|
|
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
|
|
File without changes
|