SVG5/dialogemergengy.ui
2025-10-12 13:55:56 +09:00

513 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogEmergengy</class>
<widget class="QDialog" name="DialogEmergengy">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>530</width>
<height>397</height>
</rect>
</property>
<property name="windowTitle">
<string>Emergency Dialog with New Patient</string>
</property>
<property name="styleSheet">
<string notr="true">QDialog
{
background: #A6B1C2;
}
QLabel
{
font-family: 'Roboto';
font-size: 18px;
font-weight: light;
color: #101010;
}</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<widget class="QFrame" name="frame_background">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>530</width>
<height>391</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QFrame#frame_background
{
background: #A6B1C2;
}</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<widget class="QLabel" name="label_ID">
<property name="geometry">
<rect>
<x>30</x>
<y>35</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
font-family: 'Roboto';
font-size: 18px;
font-weight: light;
color: #101010;
qproperty-alignment: 'AlignVCenter | AlignRight';
}</string>
</property>
<property name="text">
<string>ID:</string>
</property>
</widget>
<widget class="STextEdit" name="plainTextEdit_PatientID">
<property name="geometry">
<rect>
<x>200</x>
<y>36</y>
<width>221</width>
<height>50</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">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;
}</string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="backgroundVisible">
<bool>false</bool>
</property>
</widget>
<widget class="QFrame" name="frame_PatientID">
<property name="geometry">
<rect>
<x>190</x>
<y>30</y>
<width>241</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QFrame#frame_PatientID
{
background: white;
border: none;
}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QLabel" name="label_Name">
<property name="geometry">
<rect>
<x>30</x>
<y>105</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
font-family: 'Roboto';
font-size: 18px;
font-weight: light;
color: #101010;
qproperty-alignment: 'AlignVCenter | AlignRight';
}</string>
</property>
<property name="text">
<string>Name:</string>
</property>
</widget>
<widget class="STextEdit" name="plainTextEdit_PatientName">
<property name="geometry">
<rect>
<x>200</x>
<y>106</y>
<width>221</width>
<height>50</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">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;
}</string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="backgroundVisible">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>Patient Name</string>
</property>
</widget>
<widget class="QFrame" name="frame_PatientName">
<property name="geometry">
<rect>
<x>190</x>
<y>100</y>
<width>241</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QFrame#frame_PatientName
{
background: white;
border: none;
}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QFrame" name="frame_PatientBirthDate">
<property name="geometry">
<rect>
<x>190</x>
<y>174</y>
<width>241</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QFrame#frame_PatientBirthDate
{
background: white;
border: none;
}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QLabel" name="label_BirthDate">
<property name="geometry">
<rect>
<x>30</x>
<y>179</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
font-family: 'Roboto';
font-size: 18px;
font-weight: light;
color: #101010;
qproperty-alignment: 'AlignVCenter | AlignRight';
}</string>
</property>
<property name="text">
<string>BirthDate:</string>
</property>
</widget>
<widget class="STextEdit" name="plainTextEdit_PatientBirthDate">
<property name="geometry">
<rect>
<x>200</x>
<y>180</y>
<width>221</width>
<height>50</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">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;
}</string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhNone</set>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="backgroundVisible">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>YYYY/MM/DD</string>
</property>
</widget>
<widget class="QLabel" name="label_Sex">
<property name="geometry">
<rect>
<x>30</x>
<y>250</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
font-family: 'Roboto';
font-size: 18px;
font-weight: light;
color: #101010;
qproperty-alignment: 'AlignVCenter | AlignRight';
}</string>
</property>
<property name="text">
<string>Sex:</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox_Sex">
<property name="geometry">
<rect>
<x>190</x>
<y>244</y>
<width>241</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">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 &quot;on&quot; 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;
}</string>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="frame">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_Cancel">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>320</x>
<y>330</y>
<width>130</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">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;
}</string>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_Add">
<property name="geometry">
<rect>
<x>150</x>
<y>330</y>
<width>130</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
background: #f0f0f0;
font-family: 'Roboto';
font-size: 22px;
font-weight: bold;
border-radius: 8px;
color: #101010;
}
QPushButton:pressed
{
background: #c0c0c0;
color: #202020;
}</string>
</property>
<property name="text">
<string>Add</string>
</property>
</widget>
<zorder>label_ID</zorder>
<zorder>frame_PatientID</zorder>
<zorder>label_Name</zorder>
<zorder>frame_PatientName</zorder>
<zorder>plainTextEdit_PatientName</zorder>
<zorder>plainTextEdit_PatientID</zorder>
<zorder>frame_PatientBirthDate</zorder>
<zorder>label_BirthDate</zorder>
<zorder>plainTextEdit_PatientBirthDate</zorder>
<zorder>label_Sex</zorder>
<zorder>comboBox_Sex</zorder>
<zorder>pushButton_Cancel</zorder>
<zorder>pushButton_Add</zorder>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>STextEdit</class>
<extends>QPlainTextEdit</extends>
<header location="global">stextedit.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>