Code launch profile page ui/ux.
This commit is contained in:
+1
-25
@@ -53,6 +53,7 @@ class AccountWidget(QWidget):
|
||||
elif selected_action == check_log_stat_action and callable(self.check_account_callback): self.check_account_callback()
|
||||
elif selected_action == switch_acc_action and callable(self.switch_account_callback): self.switch_account_callback()
|
||||
|
||||
|
||||
class AccountPage(QWidget):
|
||||
def __init__(self, app, parent=None):
|
||||
QWidget.__init__(self, parent)
|
||||
@@ -60,31 +61,6 @@ class AccountPage(QWidget):
|
||||
|
||||
self.layout = QHBoxLayout()
|
||||
|
||||
# center message (will be deleted if launcher finished development)
|
||||
# content = """Still digging!"""
|
||||
# message = "If you found that something might be a issue. You can report it to the main repo! Any suggestion are welcome."
|
||||
# self.icon_label = QLabel()
|
||||
# self.icon_label.setObjectName("icon_label")
|
||||
# self.dev_info_box = QLabel(content)
|
||||
# self.dev_info_box.setObjectName("dev_info_box")
|
||||
# self.dev_info_2 = QLabel(message)
|
||||
# self.dev_info_2.setObjectName("dev_info_message")
|
||||
#
|
||||
# self.layout.addStretch()
|
||||
# self.layout.addWidget(self.icon_label, alignment=Qt.AlignmentFlag.AlignCenter)
|
||||
# self.layout.addWidget(self.dev_info_box, alignment=Qt.AlignmentFlag.AlignHCenter)
|
||||
# self.layout.addWidget(self.dev_info_2, alignment=Qt.AlignmentFlag.AlignHCenter)
|
||||
# self.layout.addStretch()
|
||||
#
|
||||
# if Path(self.app.resources_dir, "pictures", "in_progress.png").exists():
|
||||
# image = QPixmap(Path(self.app.resources_dir, "pictures", "in_progress.png"))
|
||||
# self.icon_label.setPixmap(image.scaled(300, 300))
|
||||
# else:
|
||||
# self.icon_label.setText("Ouch. The icon is missing.")
|
||||
#
|
||||
# self.setLayout(self.layout)
|
||||
# self.app.apply_qss(Path("main.qss"), self.setStyleSheet)
|
||||
|
||||
self.main_layout = QVBoxLayout()
|
||||
self.right_layout = QVBoxLayout()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user