📄 statisticsdialog.ui
字号:
<ui version="4.0" > <class>StatisticsDialog</class> <widget class="QDialog" name="StatisticsDialog" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>255</width> <height>163</height> </rect> </property> <property name="windowTitle" > <string>Statistics</string> </property> <layout class="QVBoxLayout" > <item> <widget class="QFrame" name="frame" > <property name="frameShape" > <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow" > <enum>QFrame::Raised</enum> </property> <layout class="QGridLayout" > <item row="0" column="0" > <widget class="QLabel" name="charCountLabel" > <property name="text" > <string>Number of characters:</string> </property> </widget> </item> <item row="0" column="1" > <widget class="QLineEdit" name="charCountLineEdit" > <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="text" > <string/> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="readOnly" > <bool>true</bool> </property> </widget> </item> <item row="1" column="0" > <widget class="QLabel" name="wordCountLabel" > <property name="text" > <string>Number of words:</string> </property> </widget> </item> <item row="1" column="1" > <widget class="QLineEdit" name="wordCountLineEdit" > <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="text" > <string/> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="readOnly" > <bool>true</bool> </property> </widget> </item> <item row="2" column="0" > <widget class="QLabel" name="lineCountLabel" > <property name="text" > <string>Number of lines:</string> </property> </widget> </item> <item row="2" column="1" > <widget class="QLineEdit" name="lineCountLineEdit" > <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="text" > <string/> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="readOnly" > <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" > <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="closeButton" > <property name="text" > <string>Close</string> </property> <property name="default" > <bool>true</bool> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> <resources/> <connections> <connection> <sender>closeButton</sender> <signal>clicked()</signal> <receiver>StatisticsDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>154</x> <y>167</y> </hint> <hint type="destinationlabel" > <x>210</x> <y>178</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -