show is_over in warsTree & fator resources paths
This commit is contained in:
parent
a9cd4c9e27
commit
d869017646
28 changed files with 783 additions and 628 deletions
|
|
@ -1,5 +1,6 @@
|
|||
from PyQt6.QtWidgets import QWidget, QDialog
|
||||
|
||||
from warchron.constants import Icons, IconName
|
||||
from warchron.view.ui.ui_player_dialog import Ui_playerDialog
|
||||
|
||||
|
||||
|
|
@ -11,6 +12,7 @@ class PlayerDialog(QDialog):
|
|||
self.ui: Ui_playerDialog = Ui_playerDialog()
|
||||
self.ui.setupUi(self) # type: ignore
|
||||
self.ui.playerName.setText(default_name)
|
||||
self.setWindowIcon(Icons.get(IconName.WARCHRON))
|
||||
|
||||
def get_player_name(self) -> str:
|
||||
return self.ui.playerName.text().strip()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue