iFacilityProject/iFacility/loginwindow.ui
2021-01-04 22:14:24 +07:00

112 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LoginWindow</class>
<widget class="QMainWindow" name="LoginWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>520</width>
<height>169</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>520</width>
<height>169</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>520</width>
<height>169</height>
</size>
</property>
<property name="windowTitle">
<string>LoginWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QFormLayout" name="formLayout">
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Login:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="login"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Password:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="password">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QPushButton" name="btnLogIn">
<property name="text">
<string>Log in</string>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>btnLogIn</sender>
<signal>clicked()</signal>
<receiver>LoginWindow</receiver>
<slot>validateForm()</slot>
<hints>
<hint type="sourcelabel">
<x>292</x>
<y>132</y>
</hint>
<hint type="destinationlabel">
<x>475</x>
<y>171</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>validateForm()</slot>
</slots>
</ui>