ChangePasswordDialogClass 0 0 468 341 Dialog QDialog { background-color: rgb(212, 255, 185); background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #00aa00, stop: 0.55 #00bb00, stop: 0.56 #00bb00, stop: 1 #00ff00); } true 0 0 QFrame { background-color: rgb(212, 255, 185); background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #00aa00, stop: 0.55 #00bb00, stop: 0.56 #00bb00, stop: 1 #00ff00); } QFrame::Box QFrame::Sunken 1 0 0 0 30 QLineEdit { background-color: rgb(238, 255, 224); } 0 0 0 30 QLineEdit { background-color: rgb(238, 255, 224); } 0 0 0 30 QLineEdit { background-color: rgb(238, 255, 224); } Qt::Vertical 20 40 Qt::Vertical 20 40 Qt::Vertical 20 40 0 0 100 0 140 16777215 QLabel { background-color: none; color: rgb(255, 255, 255); } Old password: 0 0 100 0 140 16777215 QLabel { background-color: none; color: rgb(255, 255, 255); } New password: 0 0 100 0 140 16777215 QLabel { background-color: none; color: rgb(255, 255, 255); } Confirm password: Qt::LeftToRight QPushButton { color: rgb(255, 255, 255); border: 0px; background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #009900, stop: 0.55 #00aa00, stop: 0.56 #00bb00, stop: 1 #00ff00); min-height: 80px; min-width: 80px; max-height: 80px; max-width: 100px; } QPushButton:pressed { background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #00ff00, stop: 0.55 #00bb00, stop: 0.56 #00aa00, stop: 1 #009900); } Change Qt::LeftToRight QPushButton { color: rgb(255, 255, 255); border: 0px; background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #009900, stop: 0.55 #00aa00, stop: 0.56 #00bb00, stop: 1 #00ff00); min-height: 80px; min-width: 80px; max-height: 80px; max-width: 100px; } QPushButton:pressed { background-color: qlineargradient(x1: 0, y1: 1, x2: 0, y2: 0, stop: 0 #00ff00, stop: 0.55 #00bb00, stop: 0.56 #00aa00, stop: 1 #009900); } Cancel pushButton clicked() ChangePasswordDialogClass reject() 355 288 419 337 pushButton_2 clicked() ChangePasswordDialogClass accept() 184 278 194 337