📄 myppp.ui
字号:
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>myppp</class><widget class="QMainWindow"> <property name="name"> <cstring>myppp</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>235</width> <height>147</height> </rect> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>21</width> <height>21</height> </size> </property> <property name="maximumSize"> <size> <width>235</width> <height>147</height> </size> </property> <property name="caption"> <string>MyPPP</string> </property> <property name="dockWindowsMovable"> <bool>false</bool> </property> <widget class="QLabel"> <property name="name"> <cstring>timeLabel</cstring> </property> <property name="geometry"> <rect> <x>5</x> <y>5</y> <width>225</width> <height>45</height> </rect> </property> <property name="paletteForegroundColor"> <color> <red>85</red> <green>255</green> <blue>255</blue> </color> </property> <property name="paletteBackgroundColor"> <color> <red>0</red> <green>0</green> <blue>0</blue> </color> </property> <property name="font"> <font> <family>Lucida</family> <pointsize>28</pointsize> <bold>1</bold> </font> </property> <property name="frameShape"> <enum>MShape</enum> </property> <property name="frameShadow"> <enum>MShadow</enum> </property> <property name="text"> <string>000:00:00</string> </property> <property name="alignment"> <set>AlignCenter</set> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>connectLabel</cstring> </property> <property name="geometry"> <rect> <x>5</x> <y>60</y> <width>85</width> <height>16</height> </rect> </property> <property name="frameShape"> <enum>MShape</enum> </property> <property name="frameShadow"> <enum>MShadow</enum> </property> <property name="text"> <string>Connect using</string> </property> </widget> <widget class="QComboBox"> <property name="name"> <cstring>connectcb</cstring> </property> <property name="geometry"> <rect> <x>95</x> <y>55</y> <width>135</width> <height>22</height> </rect> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>stopButton</cstring> </property> <property name="geometry"> <rect> <x>50</x> <y>85</y> <width>45</width> <height>40</height> </rect> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>disconnect.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Disconnect</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>closeButton</cstring> </property> <property name="geometry"> <rect> <x>185</x> <y>85</y> <width>45</width> <height>40</height> </rect> </property> <property name="font"> <font> <family>Helvetica [Urw]</family> <pointsize>12</pointsize> <bold>1</bold> </font> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>exit.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Exit</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>settingsButton</cstring> </property> <property name="geometry"> <rect> <x>140</x> <y>85</y> <width>45</width> <height>40</height> </rect> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>settings.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Settings</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>goButton</cstring> </property> <property name="geometry"> <rect> <x>5</x> <y>85</y> <width>45</width> <height>40</height> </rect> </property> <property name="font"> <font> <family>Helvetica [Urw]</family> <pointsize>12</pointsize> <bold>1</bold> </font> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>connect.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Connect</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>usageButton</cstring> </property> <property name="geometry"> <rect> <x>95</x> <y>85</y> <width>45</width> <height>40</height> </rect> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>usagelog.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Show monthly usage</string> </property> </widget></widget><toolbars></toolbars><connections> <connection> <sender>goButton</sender> <signal>clicked()</signal> <receiver>myppp</receiver> <slot>goButton_clicked()</slot> </connection> <connection> <sender>stopButton</sender> <signal>clicked()</signal> <receiver>myppp</receiver> <slot>stopButton_clicked()</slot> </connection> <connection> <sender>usageButton</sender> <signal>clicked()</signal> <receiver>myppp</receiver> <slot>usageButton_clicked()</slot> </connection> <connection> <sender>settingsButton</sender> <signal>clicked()</signal> <receiver>myppp</receiver> <slot>settingsButton_clicked()</slot> </connection> <connection> <sender>closeButton</sender> <signal>clicked()</signal> <receiver>myppp</receiver> <slot>closeButton_clicked()</slot> </connection></connections><tabstops> <tabstop>connectcb</tabstop> <tabstop>goButton</tabstop> <tabstop>stopButton</tabstop> <tabstop>usageButton</tabstop> <tabstop>settingsButton</tabstop> <tabstop>closeButton</tabstop></tabstops><includes> <include location="global" impldecl="in declaration">qstatusbar.h</include> <include location="global" impldecl="in declaration">qtimer.h</include> <include location="global" impldecl="in declaration">qsettings.h</include> <include location="global" impldecl="in declaration">qapplication.h</include> <include location="global" impldecl="in declaration">glob.h</include> <include location="global" impldecl="in declaration">cstdlib</include> <include location="global" impldecl="in declaration">mysql/mysql.h</include> <include location="local" impldecl="in implementation">myppp.ui.h</include></includes><slots> <slot>displayTimer()</slot> <slot>init()</slot> <slot>incTimer()</slot> <slot>toggleConnect( int connect )</slot> <slot>saveAttr()</slot> <slot>goButton_clicked()</slot> <slot>stopButton_clicked()</slot> <slot>usageButton_clicked()</slot> <slot>settingsButton_clicked()</slot> <slot>closeButton_clicked()</slot> <slot>destroy()</slot></slots><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -