gui willexecutor list status moved after url to be more visible.

heirs tab start hidden
This commit is contained in:
2026-02-03 11:21:37 -04:00
parent 437105477d
commit faeff1ff3c

11
qt.py
View File

@@ -419,7 +419,7 @@ class BalWindow(Logger):
tab.tab_icon = icon
tab.tab_description = description
tab.tab_pos = len(tabs)
if tab.is_shown_cv:
if tab.is_shown_cv.get():
tabs.addTab(tab, icon, description.replace("&", ""))
def add_toggle_action(tab):
@@ -514,7 +514,7 @@ class BalWindow(Logger):
self.heir_list = l = HeirList(self, self.window)
tab = self.window.create_list_tab(l)
tab.is_shown_cv = shown_cv(True)
tab.is_shown_cv = shown_cv(False)
return tab
def create_will_tab(self):
@@ -523,6 +523,7 @@ class BalWindow(Logger):
tab.is_shown_cv = shown_cv(True)
return tab
def new_heir_dialog(self, heir_key=None):
heir = self.heirs.get(heir_key)
title = "New heir"
@@ -1759,7 +1760,7 @@ class BalWizardWEDownloadWidget(BalWizardWidget):
def on_success(willexecutors):
self.bal_window.willexecutors.update(willexecutors)
self.bal_window.ping_willexecutors(self.bal_window.willexecutors)
self.bal_window.ping_willexecutors(self.bal_window.willexecutors,self)
if index < 1:
for we in self.bal_window.willexecutors:
if self.bal_window.willexecutors[we]["status"] == 200:
@@ -3246,18 +3247,18 @@ class WillExecutorList(MyTreeView):
class Columns(MyTreeView.BaseColumnsEnum):
SELECTED = enum.auto()
URL = enum.auto()
STATUS = enum.auto()
BASE_FEE = enum.auto()
INFO = enum.auto()
ADDRESS = enum.auto()
STATUS = enum.auto()
headers = {
Columns.SELECTED: _(""),
Columns.URL: _("Url"),
Columns.STATUS: _("S"),
Columns.BASE_FEE: _("Base fee"),
Columns.INFO: _("Info"),
Columns.ADDRESS: _("Default Address"),
Columns.STATUS: _("S"),
}
ROLE_HEIR_KEY = Qt.ItemDataRole.UserRole + 2000