Skip to content

Conversation

@stanislawK
Copy link
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
Contributor

Choose a reason for hiding this comment

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

👏

@@ -0,0 +1,352 @@
import os
Copy link
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
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
Contributor Author

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

@stanislawK
Copy link
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

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

2 participants