Skip to content

136 reset document form btn v2 - #175

Open
stanislawK wants to merge 9 commits into
CodeForPoznan:developfrom
stanislawK:136_reset_document_form_btn_v2
Open

136 reset document form btn v2#175
stanislawK wants to merge 9 commits into
CodeForPoznan:developfrom
stanislawK:136_reset_document_form_btn_v2

Conversation

@stanislawK

Copy link
Copy Markdown
Contributor

fixes #136
Original discussion and screenshots in PR created by pushing directly to alinka repo #139. That is the version pushed from the fork

Comment on lines +64 to +72
self.populate_application_reason(application_subject)

def populate_application_subject(self) -> None:
for issue, description in ISSUE_DESCRIPTION_NOMINATIVE_MAPPER.items():
self.application_subject.combobox.addItem(description, issue)

def populate_application_reason(self, application_subject: LabeledComboBoxComponent | None = None) -> None:
if not application_subject:
application_subject = self.application_subject.combobox.currentData()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

Comment thread alinka/widget/containers/main_body/footer/application.py Outdated
@@ -0,0 +1,352 @@
import os

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very first test of our widget! 🎆

@stanislawK
stanislawK requested a review from Rafalkufel October 21, 2025 16:33
def __init__(self, parent: QWidget, visible: bool = False):
super().__init__(parent)
self.footer_container = parent
self.content_container = self.footer_container.main_body_container.content_container

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you really need to have self.content_container? Maybe you can move it to clear_application

    def clear_application(self):
       content_container = self.footer_container.main_body_container.content_container
       content_container.application_container.clear()

@stanislawK

Copy link
Copy Markdown
Contributor Author

Pcks are available for testing in https://github.com/stanislawK/alinka-pyside/actions/runs/18808039156

@stanislawK

Copy link
Copy Markdown
Contributor Author

To make that change in line with a new style, I removed red color and added pop-up window instead. I am not sure about the wording.
Screenshot from 2025-12-04 00-09-59

@OtisRed OtisRed moved this to Todo in Alinka Jun 18, 2026
@OtisRed OtisRed removed the status in Alinka Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Dodać możliwość resetowania całego formularze decyzji

3 participants