ui changes, formatting
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
from omegaconf import OmegaConf
|
||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||
|
||||
from src import Icon
|
||||
|
||||
from .dialog_sources.settings_ui import Ui_Dialog as _settings
|
||||
|
||||
config = OmegaConf.load("config.yaml")
|
||||
|
||||
|
||||
|
||||
class Settings(QtWidgets.QDialog, _settings):
|
||||
def __init__(self,user):
|
||||
def __init__(self, user):
|
||||
super().__init__()
|
||||
self.setupUi(self)
|
||||
self.setWindowIcon(Icon("settings").icon)
|
||||
@@ -67,7 +68,7 @@ class Settings(QtWidgets.QDialog, _settings):
|
||||
self.togglePassword.setIconSize(QtCore.QSize(16, 16))
|
||||
on_icon = Icon("hide_password")
|
||||
off_icon = Icon("show_password")
|
||||
|
||||
|
||||
if self.showPassword is False:
|
||||
self.password.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user