loginform.ui

来自「linux下的socket通信和c++」· UI 代码 · 共 173 行

UI
173
字号
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"><class>loginForm</class><widget class="QDialog">    <property name="name">        <cstring>loginForm</cstring>    </property>    <property name="geometry">        <rect>            <x>0</x>            <y>0</y>            <width>391</width>            <height>239</height>        </rect>    </property>    <property name="caption">        <string>Login</string>    </property>    <widget class="QLabel">        <property name="name">            <cstring>idlable</cstring>        </property>        <property name="geometry">            <rect>                <x>40</x>                <y>40</y>                <width>30</width>                <height>31</height>            </rect>        </property>        <property name="text">            <string>ID :</string>        </property>    </widget>    <widget class="QLabel">        <property name="name">            <cstring>pswdlable</cstring>        </property>        <property name="geometry">            <rect>                <x>40</x>                <y>110</y>                <width>60</width>                <height>31</height>            </rect>        </property>        <property name="text">            <string>Password :</string>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>idTxt</cstring>        </property>        <property name="geometry">            <rect>                <x>100</x>                <y>40</y>                <width>170</width>                <height>30</height>            </rect>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>resetBtn</cstring>        </property>        <property name="geometry">            <rect>                <x>40</x>                <y>170</y>                <width>51</width>                <height>41</height>            </rect>        </property>        <property name="text">            <string>&amp;Reset</string>        </property>        <property name="accel">            <string>Alt+R</string>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>okBtn</cstring>        </property>        <property name="geometry">            <rect>                <x>130</x>                <y>170</y>                <width>60</width>                <height>41</height>            </rect>        </property>        <property name="text">            <string>&amp;OK</string>        </property>        <property name="accel">            <string>Alt+O</string>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>quitBtn</cstring>        </property>        <property name="geometry">            <rect>                <x>230</x>                <y>170</y>                <width>51</width>                <height>41</height>            </rect>        </property>        <property name="text">            <string>&amp;Quit</string>        </property>        <property name="accel">            <string>Alt+Q</string>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>pswdTxt</cstring>        </property>        <property name="geometry">            <rect>                <x>100</x>                <y>111</y>                <width>170</width>                <height>30</height>            </rect>        </property>        <property name="echoMode">            <enum>Password</enum>        </property>    </widget></widget><connections>    <connection>        <sender>resetBtn</sender>        <signal>clicked()</signal>        <receiver>idTxt</receiver>        <slot>clear()</slot>    </connection>    <connection>        <sender>resetBtn</sender>        <signal>clicked()</signal>        <receiver>pswdTxt</receiver>        <slot>clear()</slot>    </connection>    <connection>        <sender>resetBtn</sender>        <signal>clicked()</signal>        <receiver>idTxt</receiver>        <slot>setFocus()</slot>    </connection>    <connection>        <sender>quitBtn</sender>        <signal>clicked()</signal>        <receiver>loginForm</receiver>        <slot>close()</slot>    </connection></connections><tabstops>    <tabstop>idTxt</tabstop>    <tabstop>pswdTxt</tabstop>    <tabstop>okBtn</tabstop>    <tabstop>resetBtn</tabstop>    <tabstop>quitBtn</tabstop></tabstops><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?