Skip to content

Commit

Permalink
Client Improvement
Browse files Browse the repository at this point in the history
1. [GUI] Reduce the response time when switching themes and fix issues where some widgets' themes are not consistent.
2. [GUI] Fix the issue that mainwindow would suddenly hide when interacting with certain message boxes.
3. [GUI] Support refreshing tables & adding local models in the model management interface.
4. [GUI] Add message box to pop up when update-check / download is failed.
5. [GUI] Widget library update (see details in 'QSimpleWidget' repo)
  • Loading branch information
Spr-Aachen committed Apr 16, 2024
1 parent 462842f commit 325970a
Show file tree
Hide file tree
Showing 5 changed files with 2,980 additions and 1,590 deletions.
14 changes: 14 additions & 0 deletions EVT_GUI/Functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@

##############################################################################################################################

def Function_FindChildUI(
ParentUI: QWidget,
ChildType: object
):
'''
Function to find child UI
'''
ParentUI_Children = ParentUI.children()

for ParentUI_Child in ParentUI_Children:
if isinstance(ParentUI_Child, ChildType):
return ParentUI_Child


def Function_FindParentUI(
ChildUI: QWidget,
ParentType: object
Expand Down
Loading

0 comments on commit 325970a

Please sign in to comment.