DialogEmergengy 0 0 530 397 Emergency Dialog with New Patient QDialog { background: #A6B1C2; } QLabel { font-family: 'Roboto'; font-size: 18px; font-weight: light; color: #101010; } true 0 0 530 391 QFrame#frame_background { background: #A6B1C2; } QFrame::NoFrame QFrame::Plain 30 35 141 31 QLabel { font-family: 'Roboto'; font-size: 18px; font-weight: light; color: #101010; qproperty-alignment: 'AlignVCenter | AlignRight'; } ID: 200 36 221 50 QPlainTextEdit { qproperty-placeholderText: 'Patient ID'; qproperty-lineWrapMode: 'NoWrap'; font-family: 'Roboto'; font-size: 18px; font-weight: light; padding-left: 0px; padding-top: 0px; qproperty-backgroundVisible: false; border: none; qproperty-verticalScrollBarPolicy: 'ScrollBarAlwaysOff'; background: transparent; } Qt::ImhNone true false 190 30 241 40 QFrame#frame_PatientID { background: white; border: none; } QFrame::StyledPanel QFrame::Raised 30 105 141 31 QLabel { font-family: 'Roboto'; font-size: 18px; font-weight: light; color: #101010; qproperty-alignment: 'AlignVCenter | AlignRight'; } Name: 200 106 221 50 QPlainTextEdit { qproperty-placeholderText: 'Patient Name'; qproperty-lineWrapMode: 'NoWrap'; font-family: 'Roboto'; font-size: 18px; font-weight: light; padding-left: 0px; padding-top: 0px; qproperty-backgroundVisible: false; border: none; qproperty-verticalScrollBarPolicy: 'ScrollBarAlwaysOff'; background: transparent; } Qt::ImhNone true false Patient Name 190 100 241 40 QFrame#frame_PatientName { background: white; border: none; } QFrame::StyledPanel QFrame::Raised 190 174 241 40 QFrame#frame_PatientBirthDate { background: white; border: none; } QFrame::StyledPanel QFrame::Raised 30 179 141 31 QLabel { font-family: 'Roboto'; font-size: 18px; font-weight: light; color: #101010; qproperty-alignment: 'AlignVCenter | AlignRight'; } BirthDate: 200 180 221 50 QPlainTextEdit { qproperty-placeholderText: 'YYYY/MM/DD'; qproperty-lineWrapMode: 'NoWrap'; font-family: 'Roboto'; font-size: 18px; font-weight: light; padding-left: 0px; padding-top: 0px; qproperty-backgroundVisible: false; border: none; qproperty-verticalScrollBarPolicy: 'ScrollBarAlwaysOff'; background: transparent; } Qt::ImhNone true false YYYY/MM/DD 30 250 141 31 QLabel { font-family: 'Roboto'; font-size: 18px; font-weight: light; color: #101010; qproperty-alignment: 'AlignVCenter | AlignRight'; } Sex: 190 244 241 40 QComboBox { border: 1px solid gray; border-radius: 3px; padding: 1px 18px 1px 3px; min-width: 6em; } QComboBox:editable { background: white; } QComboBox:!editable, QComboBox::drop-down:editable { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E1E1E1, stop: 0.4 #DDDDDD, stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3); } /* QComboBox gets the "on" state when the popup is open */ QComboBox:!editable:on, QComboBox::drop-down:editable:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D3D3D3, stop: 0.4 #D8D8D8, stop: 0.5 #DDDDDD, stop: 1.0 #E1E1E1); } QComboBox:on { /* shift the text when the popup opens */ padding-top: 3px; padding-left: 4px; } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 30px; border-left-width: 1px; border-left-color: darkgray; border-left-style: solid; /* just a single line */ border-top-right-radius: 3px; /* same radius as the QComboBox */ border-bottom-right-radius: 3px; } QComboBox::down-arrow { border-image: url(://image/Arrow_under_3.png); } QComboBox::down-arrow:on { /* shift the arrow when popup is open */ top: 1px; left: 1px; } QComboBox QAbstractItemView { border: 2px solid darkgray; selection-background-color: red; } QComboBox QListView::item { border: 2px solid darkgray; } QComboBox::item { border: 2px solid darkgray; height: 40px; selection-background-color: red; } QComboBox::item:selected { background: red; } 24 24 true true 320 330 130 40 QPushButton { background: #153B44; font-family: 'Roboto'; font-size: 22px; font-weight: bold; border-radius: 8px; color: white; } QPushButton:pressed { background: #1B4C54; } QPushButton:disabled { background: #b4b4b4; color: white; } Cancel 150 330 130 40 QPushButton { background: #f0f0f0; font-family: 'Roboto'; font-size: 22px; font-weight: bold; border-radius: 8px; color: #101010; } QPushButton:pressed { background: #c0c0c0; color: #202020; } Add label_ID frame_PatientID label_Name frame_PatientName plainTextEdit_PatientName plainTextEdit_PatientID frame_PatientBirthDate label_BirthDate plainTextEdit_PatientBirthDate label_Sex comboBox_Sex pushButton_Cancel pushButton_Add STextEdit QPlainTextEdit
stextedit.h